From owner-svn-ports-head@freebsd.org Mon May 11 18:50:19 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CB43A2E7F96; Mon, 11 May 2020 18:50:19 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49LVP753hkz3PrZ; Mon, 11 May 2020 18:50:19 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8CDD22E25; Mon, 11 May 2020 18:50:19 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04BIoJHX038693; Mon, 11 May 2020 18:50:19 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04BIoIET038690; Mon, 11 May 2020 18:50:18 GMT (envelope-from pi@FreeBSD.org) Message-Id: <202005111850.04BIoIET038690@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 11 May 2020 18:50:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534928 - in head: . multimedia/makemkv X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head: . multimedia/makemkv X-SVN-Commit-Revision: 534928 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 18:50:19 -0000 Author: pi Date: Mon May 11 18:50:18 2020 New Revision: 534928 URL: https://svnweb.freebsd.org/changeset/ports/534928 Log: multimedia/makemkv: update to 1.15.1 and allow package creation - Added support for AACS v76 (for those poor souls without LibreDrive) - Improved handling for discs with mastering errors - Many internal improvements and small bugfixes - For some HD audio streams frames were dropped incorrectly on segment boundaries PR: 245665 Submitted by: Felix Palmen (maintainer) Reviewed by: rodrigo Modified: head/LEGAL head/multimedia/makemkv/Makefile head/multimedia/makemkv/distinfo head/multimedia/makemkv/pkg-descr Modified: head/LEGAL ============================================================================== --- head/LEGAL Mon May 11 18:19:16 2020 (r534927) +++ head/LEGAL Mon May 11 18:50:18 2020 (r534928) @@ -25,7 +25,6 @@ # # Dist Port Why # ------------------------------------------------------------------------------ -makemkv-* multimedia/makemkv MAKEMKV licenses don't allow distributing the package as it contains a modified version of the makemkvcon binary *-for-1.4.tgz net/dgd-lpmud May not be used for monetary gain *_MegaCLI.zip sysutils/megacli Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx 26410-800.zip audio/libaacplus unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies @@ -142,6 +141,7 @@ lpac-* audio/lpac No commercial use l_cc_p*_*.*.*.tar.gz lang/icc No redistribution allowed macopix-*.tar.gz games/macopix Contains commercial character data madfufw-* audio/madfufw No redistribution of firmware files +makemkv-bin-* multimedia/makemkv Do not sell. Do not redistribute modified binaries, but explicit permission to distribute a patched makemkvcon given by copyright owner malo-fw-*.tar.gz net/malo-firmware-kmod Marvell refuses to grant distribution rights mb339pan_* games/flightgear-mb339-pan Redistribution prohibited mindfocus-* games/mindfocus Contains commercial character data Modified: head/multimedia/makemkv/Makefile ============================================================================== --- head/multimedia/makemkv/Makefile Mon May 11 18:19:16 2020 (r534927) +++ head/multimedia/makemkv/Makefile Mon May 11 18:50:18 2020 (r534928) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= makemkv -PORTVERSION= 1.15.0 +PORTVERSION= 1.15.1 CATEGORIES= multimedia MASTER_SITES= http://www.makemkv.com/download/:makemkv \ http://www.makemkv.com/download/old/:makemkv \ @@ -39,8 +39,8 @@ LICENSE_NAME_MAKEMKV= The MakeMKV EULA LICENSE_NAME_FDK= The FDK AAC License LICENSE_FILE_MAKEMKV= ${WRKDIR}/makemkv-bin-${PORTVERSION}/src/eula_en_linux.txt LICENSE_FILE_FDK= ${WRKDIR}/fdk-aac-${FDKAACVERSION}/NOTICE -LICENSE_PERMS_MAKEMKV= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \ - no-auto-accept +LICENSE_PERMS_MAKEMKV= dist-mirror no-dist-sell pkg-mirror no-pkg-sell \ + auto-accept LICENSE_PERMS_FDK= dist-mirror no-dist-sell pkg-mirror no-pkg-sell \ auto-accept LICENSE_DISTFILES_FDK= fdk-aac-${FDKAACVERSION}.tar.gz @@ -57,19 +57,22 @@ LICENSE_DISTFILES_MAKEMKV= makemkv-bin-${PORTVERSION}. makemkv-oss-${PORTVERSION}.tar.gz ONLY_FOR_ARCHS= amd64 i386 -USE_LDCONFIG= yes USES= gmake linux pkgconfig perl5 USE_LINUX= base expat expat:build openssl openssl:build USE_PERL5= build USE_GCC= yes +USE_LDCONFIG= yes BUILD_DEPENDS= nasm>0:devel/nasm \ ${LOCALBASE}/include/expat.h:textproc/expat2 \ patchelf>0:sysutils/patchelf \ gawk>0:lang/gawk \ gsed>0:textproc/gsed -RESTRICTED= yes +NO_CDROM= Do not sell RESTRICTED_FILES= makemkv-bin-${PORTVERSION}.tar.gz +LEGAL_TEXT= ${NO_CDROM}. Do not redistribute modified binaries, but\ + explicit permission to distribute a patched makemkvcon given\ + by copyright owner WRKSRC= ${WRKDIR}/makemkv-oss-${PORTVERSION} @@ -92,6 +95,8 @@ OPENSSLFULLVER= ${OPENSSLVERSION}${OPENSSLPATCHLEVEL} LINUXARCH= ${ARCH:S/amd64/x86_64/} LINUXTRIPLET= ${LINUXARCH}-unknown-linux-gnu +LINUX32CPUTYPE= ${${OSVERSION} >= 1300000:?i686:i486} +LINUXTRIPLET= ${LINUXARCH:S/i386/${LINUX32CPUTYPE}/}-unknown-linux-gnu LINUXLIBDIR= ${LINUXBASE}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} GNUCROSSDIR= ${WRKDIR}/gnuroot/${LINUXTRIPLET} GNUCROSSLIBDIR= ${GNUCROSSDIR}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} @@ -104,14 +109,6 @@ CFLAGS+= -DFORCE_OPENSSL_NO_EC -I${WRKDIR}/gnuroot/inc SSP_CFLAGS= LDFLAGS+= -L${WRKDIR}/gnuroot/lib -Wl,-rpath-link=${WRKDIR}/gnuroot/lib HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} --disable-gui --host=${LINUXTRIPLET} \ - --libdir=${PREFIX}/lib/makemkv -CONFIGURE_ENV= CC=${LINUXTRIPLET}-gcc CXX=${LINUXTRIPLET}-g++ \ - CFLAGS="${CFLAGS:N-Wl,-rpath=*}" \ - CXXFLAGS="${CXXFLAGS:N-Wl,-rpath=*}" \ - LDFLAGS="${LDFLAGS:N-Wl,-rpath=*}" \ - PATH=${WRKDIR}/gnuroot/bin:${PATH} \ - PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig MAKE_ENV= PATH=${WRKDIR}/gnuroot/bin:${PATH} STRIP_CMD= ${WRKDIR}/gnuroot/bin/${LINUXTRIPLET}-strip @@ -146,6 +143,7 @@ post-patch: ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's:/bin/bash:/bin/sh:' \ -e 's:x86_64:amd64:' \ + -e 's:i686:i386:' \ -e 's:-t \([^ ]*\) \([^ ]*\):\2 \1:' \ ${WRKDIR}/makemkv-bin-${PORTVERSION}/Makefile @${REINPLACE_CMD} -e 's:3\.79:4.*:' \ @@ -242,6 +240,17 @@ pre-configure: # OpenSSL headers cd ${WRKDIR}/openssl-${OPENSSLFULLVER}; \ ./Configure --openssldir= --prefix=/usr ${OPENSSLTARGET} + +do-configure: + cd ${WRKSRC}; \ + CC=${LINUXTRIPLET}-gcc CXX=${LINUXTRIPLET}-g++ \ + CFLAGS="${CFLAGS:N-Wl,-rpath=*}" \ + CXXFLAGS="${CXXFLAGS:N-Wl,-rpath=*}" \ + LDFLAGS="${LDFLAGS:N-Wl,-rpath=*}" \ + PATH=${WRKDIR}/gnuroot/bin:${PATH} \ + PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig \ + ./configure --prefix=${PREFIX} --host=${LINUXTRIPLET} \ + --libdir=${PREFIX}/lib/makemkv --disable-gui pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/makemkv Modified: head/multimedia/makemkv/distinfo ============================================================================== --- head/multimedia/makemkv/distinfo Mon May 11 18:19:16 2020 (r534927) +++ head/multimedia/makemkv/distinfo Mon May 11 18:50:18 2020 (r534928) @@ -1,8 +1,8 @@ -TIMESTAMP = 1585042908 -SHA256 (makemkv/makemkv-oss-1.15.0.tar.gz) = a9213fa7cbf2bf2f03d90cd350ad53aa82394bc3991c440e9e369e4169f3ed06 -SIZE (makemkv/makemkv-oss-1.15.0.tar.gz) = 6383576 -SHA256 (makemkv/makemkv-bin-1.15.0.tar.gz) = 442d67d5368390263c30fca2d980ebfffb716be227b9f056b69961d2b11b26ff -SIZE (makemkv/makemkv-bin-1.15.0.tar.gz) = 9516617 +TIMESTAMP = 1587020270 +SHA256 (makemkv/makemkv-oss-1.15.1.tar.gz) = 5e6b3da05a3298a0ac85c674dbde45d5eb36956159deb3207ac23f85a7ffa166 +SIZE (makemkv/makemkv-oss-1.15.1.tar.gz) = 6403114 +SHA256 (makemkv/makemkv-bin-1.15.1.tar.gz) = 80bbd4438c3ce6e95c085a63b9129c919dff865d14cd2b5e58a851da74302631 +SIZE (makemkv/makemkv-bin-1.15.1.tar.gz) = 8338636 SHA256 (makemkv/linux-2.6.32.27.tar.xz) = 96c20c370ed440db61624d93f34721a09a69b12bb81b1b03bb735041983fb1bd SIZE (makemkv/linux-2.6.32.27.tar.xz) = 52652044 SHA256 (makemkv/binutils-2.27.tar.bz2) = 369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 Modified: head/multimedia/makemkv/pkg-descr ============================================================================== --- head/multimedia/makemkv/pkg-descr Mon May 11 18:19:16 2020 (r534927) +++ head/multimedia/makemkv/pkg-descr Mon May 11 18:50:18 2020 (r534928) @@ -4,22 +4,7 @@ MakeMKV is your one-click solution to convert video th patents-unencumbered format that can be played everywhere. MakeMKV is a format converter, otherwise called "transcoder". It converts the video clips from proprietary (and usually encrypted) disc into a set of MKV files, preserving -most information but not changing it in any way. The MKV format can store -multiple video/audio tracks with all meta-information and preserve chapters. -There are many players that can play MKV files nearly on all platforms, and -there are tools to convert MKV files to many formats, including DVD and Blu-ray -discs. - -* Reads DVD and Blu-ray discs -* Reads Blu-ray discs protected with latest versions of AACS and BD+ -* Preserves all video and audio tracks, including HD audio -* Preserves chapters information -* Preserves all meta-information (track language, audio type) -* Fast conversion - converts as fast as your drive can read data. -* No additional software is required for conversion or decryption. -* Functionality to open DVD discs is free and will always stay free. -* All features (including Blu-ray decryption and processing) are free during - BETA. +most information but not changing it in any way. Known issues on FreeBSD: