From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3EB88138A1A for ; Wed, 18 Feb 2015 10:36:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92EC6E082F; Wed, 18 Feb 2015 10:36:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BACAE082F for ; Wed, 18 Feb 2015 10:36:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B68D134088C for ; Wed, 18 Feb 2015 10:36:22 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2139) id 6C99112047; Wed, 18 Feb 2015 10:36:21 +0000 (UTC) From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in media-video/ffmpeg: ffmpeg-9999.ebuild metadata.xml ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: ffmpeg-9999.ebuild metadata.xml ChangeLog X-VCS-Directories: media-video/ffmpeg X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20150218103621.6C99112047@oystercatcher.gentoo.org> Date: Wed, 18 Feb 2015 10:36:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fb2bb4b6-d415-4010-ab01-4fa6dfdd5a18 X-Archives-Hash: d1294825367771a9a28d4883b67be38b aballier 15/02/18 10:36:21 Modified: ffmpeg-9999.ebuild metadata.xml ChangeLog Log: Add gpl & postproc useflags so that ffmpeg can be built in LGPL mode. Signed-off-by: aballier@gentoo.org (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 160F534A) Revision Changes Path 1.179 media-video/ffmpeg/ffmpeg-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild?rev=1.179&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild?rev=1.179&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild?r1=1.178&r2=1.179 Index: ffmpeg-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v retrieving revision 1.178 retrieving revision 1.179 diff -u -r1.178 -r1.179 --- ffmpeg-9999.ebuild 18 Feb 2015 09:58:05 -0000 1.178 +++ ffmpeg-9999.ebuild 18 Feb 2015 10:36:21 -0000 1.179 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v 1.178 2015/02/18 09:58:05 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999.ebuild,v 1.179 2015/02/18 10:36:21 aballier Exp $ EAPI="5" @@ -34,17 +34,35 @@ fi FFMPEG_REVISION="${PV#*_p}" -LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) ) samba? ( GPL-3 )" SLOT="0/${FFMPEG_SUBSLOT}" +LICENSE=" + !gpl? ( LGPL-2.1 ) + gpl? ( GPL-2 ) + amr? ( + gpl? ( GPL-3 ) + !gpl? ( LGPL-3 ) + ) + encode? ( + aac? ( + gpl? ( GPL-3 ) + !gpl? ( LGPL-3 ) + ) + amrenc? ( + gpl? ( GPL-3 ) + !gpl? ( LGPL-3 ) + ) + ) + samba? ( GPL-3 ) +" if [ "${PV#9999}" = "${PV}" ] ; then KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" fi IUSE=" aac aacplus alsa amr amrenc bindist bluray bs2b +bzip2 cdio celt cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r - fribidi gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack + fribidi gme gnutls +gpl gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k ladspa libass libcaca libsoxr libv4l lzma modplug mp3 +network - openal opengl openssl opus oss pic pulseaudio quvi rtmp samba schroedinger + openal opengl openssl opus oss pic +postproc pulseaudio quvi rtmp samba schroedinger sdl speex ssh static-libs test theora threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp X x264 x265 xcb xvid +zlib zvbi " @@ -173,7 +191,7 @@ zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) zvbi? ( >=media-libs/zvbi-0.2.35[${MULTILIB_USEDEP}] ) !media-video/qt-faststart - !media-libs/libpostproc + postproc? ( !media-libs/libpostproc ) " DEPEND="${RDEPEND} @@ -196,11 +214,29 @@ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3 !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +# Code requiring FFmpeg to be built under gpl license +GPL_REQUIRED_USE=" + postproc? ( gpl ) + frei0r? ( gpl ) + cdio? ( gpl ) + samba? ( gpl ) + encode? ( + x264? ( gpl ) + x265? ( gpl ) + xvid? ( gpl ) + X? ( gpl ) + ) +" # faac is license-incompatible with ffmpeg -REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl ) +REQUIRED_USE=" + bindist? ( + encode? ( !faac !aacplus ) + gpl? ( !openssl !fdk ) + ) libv4l? ( v4l ) fftools_cws2fws? ( zlib ) test? ( encode ) + ${GPL_REQUIRED_USE} ${CPU_REQUIRED_USE}" S=${WORKDIR}/${P/_/-} @@ -224,10 +260,10 @@ # or $(use_enable foo foo) if no :bar is set. local ffuse=( bzip2:bzlib cpudetection:runtime-cpudetect debug doc - gnutls hardcoded-tables iconv lzma network openssl samba:libsmbclient + gnutls gpl hardcoded-tables iconv lzma network openssl postproc samba:libsmbclient sdl:ffplay vaapi vdpau X:xlib xcb:libxcb xcb:libxcb-shm xcb:libxcb-xfixes zlib ) - use openssl && myconf+=( --enable-nonfree ) + use openssl && use gpl && myconf+=( --enable-nonfree ) use samba && myconf+=( --enable-version3 ) # Encoders @@ -279,7 +315,7 @@ for i in bluray celt gme gsm modplug opus quvi rtmp ssh schroedinger speex vorbis vpx zvbi; do ffuse+=( ${i}:lib${i} ) done - use fdk && myconf+=( --enable-nonfree ) + use fdk && use gpl && myconf+=( --enable-nonfree ) for i in "${ffuse[@]}" ; do myconf+=( $(use_enable ${i%:*} ${i#*:}) ) @@ -317,8 +353,6 @@ # Mandatory configuration myconf=( - --enable-gpl - --enable-postproc --enable-avfilter --enable-avresample --disable-stripping 1.71 media-video/ffmpeg/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/metadata.xml?rev=1.71&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/metadata.xml?rev=1.71&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/metadata.xml?r1=1.70&r2=1.71 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/metadata.xml,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- metadata.xml 31 Jan 2015 23:54:51 -0000 1.70 +++ metadata.xml 18 Feb 2015 10:36:21 -0000 1.71 @@ -26,6 +26,7 @@ Enable frei0r wrapping in libavfilter Enables fribidi support in the drawtext filter. Enables support for media-libs/game-music-emu for playing various video game music formats. + Build GPL code. Should be enabled unless you require LGPL binaries. Use pre-calculated tables rather than calculating them on the fly. Support for FireWire DV/HDV input device using media-libs/libiec61883. Enables audio resampling through media-libs/soxr. @@ -38,6 +39,7 @@ Enables dev-libs/openssl support. Adds support for encrypted network protocols (TLS/HTTPS). Adds (decoding) support for the Opus codec via media-libs/opus. Force shared libraries to be built as PIC (this is slower) + Build and install libpostproc. Adds support for playing media from Internet services using the quvi project. Enable Real Time Messaging Protocol using librtmp Enable Dirac video support (an advanced royalty-free video compression format) via libschroedinger (high-speed implementation in C of the Dirac codec). 1.830 media-video/ffmpeg/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ChangeLog?rev=1.830&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ChangeLog?rev=1.830&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ffmpeg/ChangeLog?r1=1.829&r2=1.830 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v retrieving revision 1.829 retrieving revision 1.830 diff -u -r1.829 -r1.830 --- ChangeLog 18 Feb 2015 09:58:05 -0000 1.829 +++ ChangeLog 18 Feb 2015 10:36:21 -0000 1.830 @@ -1,6 +1,10 @@ # ChangeLog for media-video/ffmpeg # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.829 2015/02/18 09:58:05 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.830 2015/02/18 10:36:21 aballier Exp $ + + 18 Feb 2015; Alexis Ballier ffmpeg-9999.ebuild, + metadata.xml: + Add gpl & postproc useflags so that ffmpeg can be built in LGPL mode. 18 Feb 2015; Alexis Ballier ffmpeg-9999.ebuild: add required use for x86 cpu flags