Date: Fri, 1 Jan 2021 22:52:46 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559886 - in head/multimedia: . dvdread dvdread/files Message-ID: <202101012252.101Mqk7M079708@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Fri Jan 1 22:52:46 2021 New Revision: 559886 URL: https://svnweb.freebsd.org/changeset/ports/559886 Log: New port: multimedia/dvdread: Util to convert encrypted DVDs to ISO files Command line utility with minimal dependencies that allows you to rip encrypted DVDs to ISO image. WWW: https://github.com/xrgtn/dvdread PR: 252323 Submitted by: daniel.engberg.lists@pyret.net Added: head/multimedia/dvdread/ head/multimedia/dvdread/Makefile (contents, props changed) head/multimedia/dvdread/distinfo (contents, props changed) head/multimedia/dvdread/files/ head/multimedia/dvdread/files/extrapatch-region (contents, props changed) head/multimedia/dvdread/files/patch-dvdread.c (contents, props changed) head/multimedia/dvdread/pkg-descr (contents, props changed) Modified: head/multimedia/Makefile Modified: head/multimedia/Makefile ============================================================================== --- head/multimedia/Makefile Fri Jan 1 22:49:18 2021 (r559885) +++ head/multimedia/Makefile Fri Jan 1 22:52:46 2021 (r559886) @@ -52,6 +52,7 @@ SUBDIR += dvd-slideshow SUBDIR += dvdauthor SUBDIR += dvdid + SUBDIR += dvdread SUBDIR += dvdrip SUBDIR += dvdstyler SUBDIR += elementary-videos Added: head/multimedia/dvdread/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/dvdread/Makefile Fri Jan 1 22:52:46 2021 (r559886) @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= dvdread +DISTVERSION= g20160701 +CATEGORIES= multimedia + +PATCH_SITES= https://github.com/silum/dvdread/commit/ +PATCHFILES= 3bd3e448668b95da784159bf5733b5169831b026.patch:-p1 \ + 584758674f6e9230a3c30046097db269fb0905e1.patch:-p1 + +MAINTAINER= daniel.engberg.lists@pyret.net +COMMENT= Utility to create ISO images of encrypted DVDs + +LICENSE= GPLv3 + +LIB_DEPENDS= libdvdcss.so:multimedia/libdvdcss \ + libdvdread.so:multimedia/libdvdread + +USES= localbase:ldflags + +USE_GITHUB= yes +GH_ACCOUNT= xrgtn +GH_TAGNAME= 81d07990 + +# Empty +ALL_TARGET= + +PLIST_FILES= bin/dvdread + +PORTDOCS= README + +OPTIONS_DEFINE= DOCS REGION + +OPTIONS_DEFAULT= REGION + +REGION_DESC= Automatically remove region lock set in IFO files +REGION_EXTRA_PATCHES= ${FILESDIR}/extrapatch-region + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dvdread ${STAGEDIR}${PREFIX}/bin + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dvdread + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> Added: head/multimedia/dvdread/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/dvdread/distinfo Fri Jan 1 22:52:46 2021 (r559886) @@ -0,0 +1,7 @@ +TIMESTAMP = 1609463275 +SHA256 (xrgtn-dvdread-g20160701-81d07990_GH0.tar.gz) = 7f9617570599be1d5a7f5fb26892a81ac5e35936d43c503ebfa398701f1862f5 +SIZE (xrgtn-dvdread-g20160701-81d07990_GH0.tar.gz) = 4928 +SHA256 (3bd3e448668b95da784159bf5733b5169831b026.patch) = 08904ca3b9504f9b91db7d19bfcbde411c39c7f372078623661dbe878d5baea4 +SIZE (3bd3e448668b95da784159bf5733b5169831b026.patch) = 939 +SHA256 (584758674f6e9230a3c30046097db269fb0905e1.patch) = 22623e6983b00df8d00271478c4cad0297016dd7d54ee4eeef690407128c0eb8 +SIZE (584758674f6e9230a3c30046097db269fb0905e1.patch) = 752 Added: head/multimedia/dvdread/files/extrapatch-region ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/dvdread/files/extrapatch-region Fri Jan 1 22:52:46 2021 (r559886) @@ -0,0 +1,11 @@ +--- dvdread.c.orig 2021-01-01 09:01:47 UTC ++++ dvdread.c +@@ -237,7 +237,7 @@ int main(int argc, char *argv[]) { + switch (p_buffer[0x23]) { + case 0x00: + case 0xC0: stripreg = 0; break; +- default: stripreg = 1; break; ++ default: stripreg = 0; break; + }; + ss_fprintf(&ss, s, file, curfile, 1, stderr, + "%sreg.mask 0x%02X\n", Added: head/multimedia/dvdread/files/patch-dvdread.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/dvdread/files/patch-dvdread.c Fri Jan 1 22:52:46 2021 (r559886) @@ -0,0 +1,11 @@ +--- dvdread.c.orig 2016-07-01 16:06:13 UTC ++++ dvdread.c +@@ -203,7 +203,7 @@ int main(int argc, char *argv[]) { + || file[curfile].type == vts_vob) + && curfile != lastfile) { + st = "seek key"; +- r = dvdcss_seek(dvdcss, s, DVDCSS_SEEK_KEY); ++ r = dvdcss_seek(dvdcss, s, DVDCSS_SEEK_MPEG); + } else { + st = "seek"; + r = dvdcss_seek(dvdcss, s, DVDCSS_NOFLAGS); Added: head/multimedia/dvdread/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/dvdread/pkg-descr Fri Jan 1 22:52:46 2021 (r559886) @@ -0,0 +1,4 @@ +Command line utility with minimal dependencies that allows you to rip +encrypted DVDs to ISO image. + +WWW: https://github.com/xrgtn/dvdread
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101012252.101Mqk7M079708>