diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-05-10 09:58:29 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-05-10 09:58:29 +0000 |
commit | c0050fa280f49d0d1a5da625be9d0eb8a36c9df4 (patch) | |
tree | bae01380d34d455659b23ca70758a7c73ea7d0d7 /media-video | |
parent | version bump (diff) | |
download | historical-c0050fa280f49d0d1a5da625be9d0eb8a36c9df4.tar.gz historical-c0050fa280f49d0d1a5da625be9d0eb8a36c9df4.tar.bz2 historical-c0050fa280f49d0d1a5da625be9d0eb8a36c9df4.zip |
remove old
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/ffmpeg/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/ffmpeg/Manifest | 14 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-0.10.6.ebuild | 293 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-1.1.4.ebuild | 305 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-1.2.ebuild | 301 |
5 files changed, 9 insertions, 910 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog index cb692d2257a7..53c8f51c917d 100644 --- a/media-video/ffmpeg/ChangeLog +++ b/media-video/ffmpeg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/ffmpeg # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.646 2013/05/10 09:50:03 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.647 2013/05/10 09:58:20 aballier Exp $ + + 10 May 2013; Alexis Ballier <aballier@gentoo.org> -ffmpeg-0.10.6.ebuild, + -ffmpeg-1.1.4.ebuild, -ffmpeg-1.2.ebuild: + remove old *ffmpeg-1.2.1 (10 May 2013) diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest index ed24d4d7aeaa..f5850e886971 100644 --- a/media-video/ffmpeg/Manifest +++ b/media-video/ffmpeg/Manifest @@ -3,25 +3,19 @@ Hash: SHA256 AUX flashtest.patch 2343 SHA256 fcd05d4ad3f8cc6dd64a55c83279bd5738002100f1cfdf2f4ca8c9547f5b9a28 SHA512 e2994e3b25b207021e00ed982a82efa8ab2fdf2499f5ef97b7f280a0abd33fac639b7e26c26b5ed7dac70931c009b7062b6c91c4b4b38d30a29f8b364a837ba0 WHIRLPOOL 78c41fd6dcd7f698b92ee6f9ac0c5c5d80c8e45c3dffb8c2bff72f0802084b78ce601dd716c6ae7b6bc6641b4f98a1ec33acfe761a13bcfaeafe3677fa6e3ee0 AUX freiordl.patch 611 SHA256 4857bbf856e2014f41d89d0ed0744f7bb3277e5600a877f2b84e0aae571f3dcf SHA512 1d7491e65fec247d9cb6b14e9a494f55e3a88ca9ce0962b7874e3f3e5c087ca7672bda5949637f4493c49a388070addb9db909c2e384f8a4349609ec02e7dd3f WHIRLPOOL dc2bbc9c95dff14998ef8f7f15c55b9cdc9464e01e036c3b67935d9505596360d103aafb9a50b43e6d2e78950664c4b6f214a874fc6aa29727397130a98e6511 -DIST ffmpeg-0.10.6.tar.bz2 5778721 SHA256 8c67c0be9dc568a857d5542247aa4e3c1c6538fa3643b47c9deb7ff004a97626 SHA512 f563bd8aa0daa982a7f63560b7c1ed5d630976aac2efb9b37031923d078bb7111fa96f7a05f241743eb0eafb071d439e90a87c9377cd6db70ad0df7599a0a0c8 WHIRLPOOL fef0f748276250e47e6ac30aad31f2a50ebb222aa989b48f82408eb9ab3cba77a07fecd9a67f05ae32dbe8fe95b65a6156cade2cd477e14c0d827087887cbc91 DIST ffmpeg-0.10.7.tar.bz2 5782181 SHA256 f5f3fc43e0f7789a3cf8f4f379851a5a838dd652144e5d2ad4fc727387678422 SHA512 d84cc9e678ee23b3ce2e0854c0907914042ad15ff0bdf4c62ddee71ec66fb23a2be89a4553c367eb79f6652a134bb33cf3c5e89a169dc1200fdb6f182aea4968 WHIRLPOOL a4fd815da627f20cfa2ea867129286f6016f2b54ca81fc3444edda5f224063173b789b92d1ce3812c3af6449f3652f9972365f63d20acfdb1beadf4bc2a1b6ba DIST ffmpeg-1.0.6.tar.bz2 6450599 SHA256 650db1d500a52ebb67fe30ffc83dd475d5e70b45eb3b081f566bfec69ee2f900 SHA512 d5df9e40abfb7c0f757ef861a86b83035f2b9421c66baf5a902b86ed878d15b29715d16fe5c3f84c371cf3ef9eaf761cbe456dcb80b7a071904233517b1d7254 WHIRLPOOL ccd2675a47ceca1046084e0af015445d89dd7f18b34f76b0a46ef7bf3f8b55007710a1ca2f5531f73a793b01a6ff5c3d307be68977b60f6081548d4cca6a03f9 -DIST ffmpeg-1.1.4.tar.bz2 5819942 SHA256 252c00bd781f08a3542795b8f111b131f4afe93f1c486a4884306d27823aef6d SHA512 ad4ae8703fa0dfd6ec7ac7b45b0d2d3c4df544b56565932fed4f9b620c650f1762572b587a0c47eb1bb66c96a7e8c1374ac4ae0f6dfaf355ea8701c408e2c105 WHIRLPOOL a3ef9c60051f072f55ed919c3de0d25f8881331b89595d32d6eb46993dbcfb6bf9d273a1ea07f3b15dc9671e0117f47b29db7c74ca98a02c121729332e8ad18b DIST ffmpeg-1.2.1.tar.bz2 5968378 SHA256 0302375c3a64e9c2facfa7cbeb1aa333a39fdf6bbacda228cd48e04bf9ee32ca SHA512 71f7318744533938f179b261b888144a19de533c77e0cfbb888a90258508462c84a95d4436727513a4f42af810a84e3e27d965a9c8d6b58c8d56aeeddb834f6c WHIRLPOOL 2ad9d81e9bbaadc0ccafc77c29478b2042dafd4cca71b65805b5b90b03248cda99c49000a80ae62cfb9ccde4fcafbddcab6d99547e2c2824498a893be40cbbb4 -DIST ffmpeg-1.2.tar.bz2 5969590 SHA256 9a39fbc07dae0c893059e07491bcfb1e2409cc220f72b41eed23a04becea5aaf SHA512 e46cd47cd6cba2820165ac2464fda6d9442675339eea8cdc6b023bfa174f1b2b3e2e6fae85cff03671ed385c49b508c3bae966160418ddb0b1afdd3fee7780ae WHIRLPOOL 0001248edaf74cac27079620dd3dbf05a494039be7f6e6e411959d7a69f27be9ddcecdf030e5835f225409031ffe174470474f7fb6b52aa046481356ae055e24 -EBUILD ffmpeg-0.10.6.ebuild 8936 SHA256 4d92f9aafbf1a67467dd7af29254ece197512a988d8e3671cba4e5890c2157ce SHA512 be31d275c5a98f20ceb4cc69472717e8fffeef24093f2df5fdd01b22f57bb48bd27acc6808c8c7a8267c148476455c4b8ab5bd55d566c7845cb2685abc87ddc8 WHIRLPOOL b5f0a2a9660874f41f16151a065facd6cfb0589a22b880ad1676890e2d31fda310919454a67744950076321ca1c777a85528b0870251ff594d3c7355a0ac1a2c EBUILD ffmpeg-0.10.7.ebuild 8936 SHA256 3905bf8402fc0999a61953c678c524706294e5316e47d377694c74be002fc02d SHA512 caac02eda5090f82224c2a2474caa44643f6a47a7ecfd56800e6c7a012469bdf755aeb9c22dbc37811cceb0e82224d58c19d8647228b7ca28bdd8391b2dfec03 WHIRLPOOL 71544d6741a06bd5e053e6a021597137af9a6c333a588ee459f3b652e4b016fdf2301cbf9703a7201bc5237bd4fc422ff608fca3f7c705b1f44b385de33d963b EBUILD ffmpeg-1.0.6.ebuild 9542 SHA256 5388e118e1ceada39dd368a49ad589bf692ff5864d3a7a7776392f7aa8952d36 SHA512 3e6f9c41d603684f626c80e923a11053ce67057673f26e27e99db57d82d27d96c1a907dcecab6d4892d4d5e43a669bc9783c50d2369bcaf40fa419bde89a6680 WHIRLPOOL 74049d0475ba36550b732cc2a3babd398bc74a191409b615a4a95140db93ff3d41236d55cef537bed08a68efec9042070b1b95b9657a8fa41a17b7dbefda85a3 -EBUILD ffmpeg-1.1.4.ebuild 9507 SHA256 9af9f91a039f4b8c955e076b7d2e027a503596ed33d1f63bf91305ba69b70e3f SHA512 43b69c498c2d66cd965546ecf0e7c6a3bc8da545bc579df608e0c13d35fb09f1cd3450cbb2c92c484003c95baca32a19cdbce7abf6b9a0f71389ed001255c91c WHIRLPOOL 7766a187667d25d6c55d735615ed9ddca44c60bde26728243856523e63ea44a065747ca41ecf1cc2b145e16ce20b2a0d592e7128f3a0bf5d47a06cc4c3bdd636 EBUILD ffmpeg-1.2.1.ebuild 8924 SHA256 46fab2cfe8f695219a0b5a31824ff7ac38d38cb166cb85f73009ed9cdc805875 SHA512 2dcfee07ca560d9dd046e03362a39d037c577246db0ebb396e29f67f469fd8e39660d77f0cdf5b43c6ba10dfb650748a349bd60b9783fca5c4b38e4c4418d8f0 WHIRLPOOL c4a60f22af160f23595e3aebcc91552e52f3e3a3801094240051ceeec332c649b6253fb5ebb21b8460648844f5ac618bfe172b58f95ee99ffd75823cd13cca60 -EBUILD ffmpeg-1.2.ebuild 8922 SHA256 dacc21fd27ab42cf24015c99fc7868951451b1c6d9fbb53408f8c3fb6b7a57af SHA512 59f2c05d2972371276fca21ea1887a89adb010110a105b20cb96952236da8ccf8d000e169258ce3b51ffd894005e9568579c8996d6b01adaf44199d8ddc87eaf WHIRLPOOL 17f0a42cf5daabee6293839d9ecf0128b1b890413bbb58e8cc4bdd6d896473ed5001822f793117c941b5c610a9d472b129c5acb3ebc92bf5b110bb11ace38e42 EBUILD ffmpeg-9999.ebuild 8925 SHA256 da1854518b168ba0ddc4a745231578da865a4fadfe39d933d07d91b18815fa2d SHA512 84bb1bb001b6b75d36927ee62d77fc47aeefe70d7cfe569463fb0d5261aa501d51d2600f0c486e2fbe30b03600f2cd79eab3b45423bdb372284fa8df1b712a3e WHIRLPOOL 04aaa4220a4ab85984680ba2e4c0ab202f9aa460196b94c2dd2f451cde0c216b6c26cdf50f31fd59557ee760794711a2d8407bd7f9534a9aadbf228078968dea -MISC ChangeLog 90741 SHA256 458836149ad31c6d3e5a70c8d0bf43aad7163e25f34c119a6646c3b4e3b44e2a SHA512 c44d5fd35db5244da7990925ffa5484e01dbf080ef1023003228b273e2128a2977069fc176eef561189bed36e5b00030c7d6fb6fe8672d494e1a087694f72b05 WHIRLPOOL e4a95c90cf8efbc07f03de35332c21067180b682f8ee6f6346faad07576c0f0c7eb3a89d9fb54448fb749cff18a968b7609708e8b610928015a279b1be792ee2 +MISC ChangeLog 90874 SHA256 3432b711b9b1b547a9bb0f9f76f9b6365b2146ca39bdc62e70ef0855ed06d08e SHA512 2bc8097e4b8d1794518160ccab0d93446e98db8a401ca7b3f63742bbab190e817b7057cea593d7f31d4b445fabd2438564c958449b4b98f7ef81a023abe5021c WHIRLPOOL 5afcb6b134476d1a5d6ed32d859259319735214a3d5fc150a0d9c76382e010cdc697219934780604a2a53707a16f53af9cb8a35fbbf07d1d54eafd0a6bed1487 MISC metadata.xml 3506 SHA256 87175b36b5ab9e0d0ab24c7a758835671361a73d70c5008d596e5d2ff8486493 SHA512 445fc69245aaab198611ffcb110d81eba90df93c37c1dbc1e7ce63e53fd72533d28f60f8150461d23af5ee4d3537324f48b0f7f05120f46273a8451ce934ebe0 WHIRLPOOL f3771586966dfe434d7e9703b380b426bcd175a0b30e2b50815903f7480c24db2f1f9b9ba8145a14b63647460966768a5def329f91708dee2d19b2d241d5eaf7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlGMwswACgkQvFcC4BYPU0rjlgCgv+QyGpgzvTf+ih2omqMHTNte -1T4An1GRsrpT9Bbix9weqBy8eTokYOhr -=KaWH +iEYEAREIAAYFAlGMxLwACgkQvFcC4BYPU0qjsQCfSnSN3ggbeZOfpEpQ9VEXMG5t +Jf4AnRGX9B5N2xqsiy+Yu9lsm9leq6nM +=L16F -----END PGP SIGNATURE----- diff --git a/media-video/ffmpeg/ffmpeg-0.10.6.ebuild b/media-video/ffmpeg/ffmpeg-0.10.6.ebuild deleted file mode 100644 index f406fa22bcd1..000000000000 --- a/media-video/ffmpeg/ffmpeg-0.10.6.ebuild +++ /dev/null @@ -1,293 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.10.6.ebuild,v 1.13 2013/03/14 15:07:22 ago Exp $ - -EAPI="4" - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-2" - EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git" -fi - -inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} - -DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec." -HOMEPAGE="http://ffmpeg.org/" -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot - SRC_URI="mirror://gentoo/${P}.tar.bz2" -else # Release - SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2" -fi -FFMPEG_REVISION="${PV#*_p}" - -LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )" -SLOT="0" -if [ "${PV#9999}" = "${PV}" ] ; then - KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" -fi -IUSE=" - aac aacplus alsa amr bindist +bzip2 cdio celt cpudetection debug - dirac doc +encode faac frei0r gnutls gsm +hardcoded-tables ieee1394 jack - jpeg2k libass libv4l modplug mp3 network openal openssl oss pic pulseaudio - rtmp schroedinger sdl speex static-libs test theora threads - truetype v4l vaapi vdpau vorbis vpx X x264 xvid +zlib - " - -# String for CPU features in the useflag[:configure_option] form -# if :configure_option isn't set, it will use 'useflag' as configure option -CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 ssse3 vis neon" - -for i in ${CPU_FEATURES}; do - IUSE="${IUSE} ${i%:*}" -done - -FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" - -for i in ${FFTOOLS}; do - IUSE="${IUSE} +fftools_$i" -done - -RDEPEND=" - alsa? ( media-libs/alsa-lib ) - amr? ( media-libs/opencore-amr ) - bzip2? ( app-arch/bzip2 ) - cdio? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) ) - celt? ( >=media-libs/celt-0.11.1 ) - dirac? ( media-video/dirac ) - encode? ( - aac? ( media-libs/vo-aacenc ) - aacplus? ( media-libs/libaacplus ) - amr? ( media-libs/vo-amrwbenc ) - faac? ( media-libs/faac ) - mp3? ( >=media-sound/lame-3.98.3 ) - theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) - vorbis? ( media-libs/libvorbis media-libs/libogg ) - x264? ( >=media-libs/x264-0.0.20111017 ) - xvid? ( >=media-libs/xvid-1.1.0 ) - ) - frei0r? ( media-plugins/frei0r-plugins ) - gnutls? ( >=net-libs/gnutls-2.12.16 ) - gsm? ( >=media-sound/gsm-1.0.12-r1 ) - ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) - jack? ( media-sound/jack-audio-connection-kit ) - jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) - libass? ( media-libs/libass ) - libv4l? ( media-libs/libv4l ) - modplug? ( media-libs/libmodplug ) - openal? ( >=media-libs/openal-1.1 ) - pulseaudio? ( media-sound/pulseaudio ) - rtmp? ( >=media-video/rtmpdump-2.2f ) - sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) - schroedinger? ( media-libs/schroedinger ) - speex? ( >=media-libs/speex-1.2_beta3 ) - truetype? ( media-libs/freetype:2 ) - vaapi? ( >=x11-libs/libva-0.32 ) - vdpau? ( x11-libs/libvdpau ) - vpx? ( >=media-libs/libvpx-0.9.6 ) - X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) - zlib? ( sys-libs/zlib ) - !media-video/qt-faststart - !media-libs/libpostproc -" - -DEPEND="${RDEPEND} - >=sys-devel/make-3.81 - dirac? ( virtual/pkgconfig ) - doc? ( app-text/texi2html ) - gnutls? ( virtual/pkgconfig ) - ieee1394? ( virtual/pkgconfig ) - libv4l? ( virtual/pkgconfig ) - mmx? ( dev-lang/yasm ) - rtmp? ( virtual/pkgconfig ) - schroedinger? ( virtual/pkgconfig ) - test? ( net-misc/wget ) - truetype? ( virtual/pkgconfig ) - v4l? ( sys-kernel/linux-headers ) -" -# faac is license-incompatible with ffmpeg -REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl ) - libv4l? ( v4l ) - fftools_cws2fws? ( zlib ) - test? ( encode zlib )" - -S=${WORKDIR}/${P/_/-} - -src_prepare() { - if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot - export revision=git-N-${FFMPEG_REVISION} - fi - epatch "${FILESDIR}/freiordl.patch" - epatch "${FILESDIR}/flashtest.patch" - - if has_version dev-libs/libcdio-paranoia; then - sed -i \ - -e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \ - -e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \ - configure libavdevice/libcdio.c || die - fi -} - -src_configure() { - local myconf="${EXTRA_FFMPEG_CONF}" - # Set to --enable-version3 if (L)GPL-3 is required - local version3="" - - # enabled by default - for i in debug doc network vaapi vdpau zlib; do - use ${i} || myconf="${myconf} --disable-${i}" - done - use bzip2 || myconf="${myconf} --disable-bzlib" - use sdl || myconf="${myconf} --disable-ffplay" - - use cpudetection && myconf="${myconf} --enable-runtime-cpudetect" - use openssl && myconf="${myconf} --enable-openssl --enable-nonfree" - for i in gnutls ; do - use $i && myconf="${myconf} --enable-$i" - done - - # Encoders - if use encode - then - use mp3 && myconf="${myconf} --enable-libmp3lame" - use aac && { myconf="${myconf} --enable-libvo-aacenc" ; version3=" --enable-version3" ; } - use amr && { myconf="${myconf} --enable-libvo-amrwbenc" ; version3=" --enable-version3" ; } - for i in theora vorbis x264 xvid; do - use ${i} && myconf="${myconf} --enable-lib${i}" - done - use aacplus && myconf="${myconf} --enable-libaacplus --enable-nonfree" - use faac && myconf="${myconf} --enable-libfaac --enable-nonfree" - else - myconf="${myconf} --disable-encoders" - fi - - # libavdevice options - use cdio && myconf="${myconf} --enable-libcdio" - use ieee1394 && myconf="${myconf} --enable-libdc1394" - use openal && myconf="${myconf} --enable-openal" - # Indevs - # v4l1 is gone since linux-headers-2.6.38 - myconf="${myconf} --disable-indev=v4l" - use v4l || myconf="${myconf} --disable-indev=v4l2" - for i in alsa oss jack ; do - use ${i} || myconf="${myconf} --disable-indev=${i}" - done - use X && myconf="${myconf} --enable-x11grab" - use pulseaudio && myconf="${myconf} --enable-libpulse" - use libv4l && myconf="${myconf} --enable-libv4l2" - # Outdevs - for i in alsa oss sdl ; do - use ${i} || myconf="${myconf} --disable-outdev=${i}" - done - # libavfilter options - use frei0r && myconf="${myconf} --enable-frei0r" - use truetype && myconf="${myconf} --enable-libfreetype" - use libass && myconf="${myconf} --enable-libass" - - # Threads; we only support pthread for now but ffmpeg supports more - use threads && myconf="${myconf} --enable-pthreads" - - # Decoders - use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; } - for i in celt gsm dirac modplug rtmp schroedinger speex vpx; do - use ${i} && myconf="${myconf} --enable-lib${i}" - done - use jpeg2k && myconf="${myconf} --enable-libopenjpeg" - - # CPU features - for i in ${CPU_FEATURES}; do - use ${i%:*} || myconf="${myconf} --disable-${i#*:}" - done - if use pic ; then - myconf="${myconf} --enable-pic" - # disable asm code if PIC is required - # as the provided asm decidedly is not PIC for x86. - use x86 && myconf="${myconf} --disable-asm" - fi - [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 - - # Try to get cpu type based on CFLAGS. - # Bug #172723 - # We need to do this so that features of that CPU will be better used - # If they contain an unknown CPU it will not hurt since ffmpeg's configure - # will just ignore it. - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" # bug #273421 - myconf="${myconf} --cpu=${i}" - break - done - - # Mandatory configuration - myconf=" - --enable-gpl - ${version3} - --enable-postproc - --enable-avfilter - --disable-stripping - ${myconf}" - - # cross compile support - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" - case ${CHOST} in - *freebsd*) - myconf="${myconf} --target-os=freebsd" - ;; - mingw32*) - myconf="${myconf} --target-os=mingw32" - ;; - *linux*) - myconf="${myconf} --target-os=linux" - ;; - esac - fi - - # Misc stuff - use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables" - - cd "${S}" - ./configure \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --shlibdir="${EPREFIX}/usr/$(get_libdir)" \ - --mandir="${EPREFIX}/usr/share/man" \ - --enable-shared \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --optflags="${CFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - $(use_enable static-libs static) \ - ${myconf} || die -} - -src_compile() { - emake - - for i in ${FFTOOLS} ; do - if use fftools_$i ; then - emake tools/$i - fi - done -} - -src_install() { - emake DESTDIR="${D}" install install-man - - dodoc Changelog README INSTALL - dodoc -r doc/* - - for i in ${FFTOOLS} ; do - if use fftools_$i ; then - dobin tools/$i - fi - done -} - -src_test() { - LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libswresample:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \ - emake fate -} diff --git a/media-video/ffmpeg/ffmpeg-1.1.4.ebuild b/media-video/ffmpeg/ffmpeg-1.1.4.ebuild deleted file mode 100644 index ee286ba05eeb..000000000000 --- a/media-video/ffmpeg/ffmpeg-1.1.4.ebuild +++ /dev/null @@ -1,305 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-1.1.4.ebuild,v 1.3 2013/04/04 07:34:43 aballier Exp $ - -EAPI="4" - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-2" - EGIT_REPO_URI="git://source.ffmpeg.org/ffmpeg.git" -fi - -inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} - -DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec." -HOMEPAGE="http://ffmpeg.org/" -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot - SRC_URI="mirror://gentoo/${P}.tar.bz2" -else # Release - SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2" -fi -FFMPEG_REVISION="${PV#*_p}" - -LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )" -SLOT="0" -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 bindist bluray +bzip2 cdio celt - cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r - gnutls gsm +hardcoded-tables iec61883 ieee1394 jack jpeg2k libass libcaca - libsoxr libv4l modplug mp3 network openal openssl opus oss pic pulseaudio - rtmp schroedinger sdl speex static-libs test theora threads truetype twolame - v4l vaapi vdpau vorbis vpx X x264 xvid +zlib - " - -# String for CPU features in the useflag[:configure_option] form -# if :configure_option isn't set, it will use 'useflag' as configure option -CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext ssse3 vis neon" - -for i in ${CPU_FEATURES}; do - IUSE="${IUSE} ${i%:*}" -done - -FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" - -for i in ${FFTOOLS}; do - IUSE="${IUSE} +fftools_$i" -done - -RDEPEND=" - alsa? ( media-libs/alsa-lib ) - amr? ( media-libs/opencore-amr ) - bluray? ( media-libs/libbluray ) - bzip2? ( app-arch/bzip2 ) - cdio? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) ) - celt? ( >=media-libs/celt-0.11.1 ) - encode? ( - aac? ( media-libs/vo-aacenc ) - aacplus? ( media-libs/libaacplus ) - amr? ( media-libs/vo-amrwbenc ) - faac? ( media-libs/faac ) - fdk? ( media-libs/fdk-aac ) - mp3? ( >=media-sound/lame-3.98.3 ) - theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) - twolame? ( media-sound/twolame ) - x264? ( >=media-libs/x264-0.0.20111017 ) - xvid? ( >=media-libs/xvid-1.1.0 ) - ) - flite? ( app-accessibility/flite ) - fontconfig? ( media-libs/fontconfig ) - frei0r? ( media-plugins/frei0r-plugins ) - gnutls? ( >=net-libs/gnutls-2.12.16 ) - gsm? ( >=media-sound/gsm-1.0.12-r1 ) - iec61883? ( media-libs/libiec61883 sys-libs/libraw1394 sys-libs/libavc1394 ) - ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) - jack? ( media-sound/jack-audio-connection-kit ) - jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) - libass? ( media-libs/libass ) - libcaca? ( media-libs/libcaca ) - libsoxr? ( media-libs/soxr ) - libv4l? ( media-libs/libv4l ) - modplug? ( media-libs/libmodplug ) - openal? ( >=media-libs/openal-1.1 ) - opus? ( media-libs/opus ) - pulseaudio? ( media-sound/pulseaudio ) - rtmp? ( >=media-video/rtmpdump-2.2f ) - sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) - schroedinger? ( media-libs/schroedinger ) - speex? ( >=media-libs/speex-1.2_beta3 ) - truetype? ( media-libs/freetype:2 ) - vaapi? ( >=x11-libs/libva-0.32 ) - vdpau? ( x11-libs/libvdpau ) - vorbis? ( media-libs/libvorbis media-libs/libogg ) - vpx? ( >=media-libs/libvpx-0.9.6 ) - X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) - zlib? ( sys-libs/zlib ) - !media-video/qt-faststart - !media-libs/libpostproc -" - -DEPEND="${RDEPEND} - >=sys-devel/make-3.81 - doc? ( app-text/texi2html ) - fontconfig? ( virtual/pkgconfig ) - gnutls? ( virtual/pkgconfig ) - ieee1394? ( virtual/pkgconfig ) - libv4l? ( virtual/pkgconfig ) - mmx? ( dev-lang/yasm ) - rtmp? ( virtual/pkgconfig ) - schroedinger? ( virtual/pkgconfig ) - test? ( net-misc/wget ) - truetype? ( virtual/pkgconfig ) - v4l? ( sys-kernel/linux-headers ) -" -# faac is license-incompatible with ffmpeg -REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl ) - libv4l? ( v4l ) - fftools_cws2fws? ( zlib ) - test? ( encode )" - -S=${WORKDIR}/${P/_/-} - -src_prepare() { - if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot - export revision=git-N-${FFMPEG_REVISION} - fi - epatch_user -} - -src_configure() { - local myconf="${EXTRA_FFMPEG_CONF}" - # Set to --enable-version3 if (L)GPL-3 is required - local version3="" - - # enabled by default - for i in debug doc network vaapi vdpau zlib; do - use ${i} || myconf="${myconf} --disable-${i}" - done - use bzip2 || myconf="${myconf} --disable-bzlib" - use sdl || myconf="${myconf} --disable-ffplay" - - use cpudetection || myconf="${myconf} --disable-runtime-cpudetect" - use openssl && myconf="${myconf} --enable-openssl --enable-nonfree" - for i in gnutls ; do - use $i && myconf="${myconf} --enable-$i" - done - - # Encoders - if use encode - then - use mp3 && myconf="${myconf} --enable-libmp3lame" - use aac && { myconf="${myconf} --enable-libvo-aacenc" ; version3=" --enable-version3" ; } - use amr && { myconf="${myconf} --enable-libvo-amrwbenc" ; version3=" --enable-version3" ; } - for i in theora twolame x264 xvid; do - use ${i} && myconf="${myconf} --enable-lib${i}" - done - use aacplus && myconf="${myconf} --enable-libaacplus --enable-nonfree" - use faac && myconf="${myconf} --enable-libfaac --enable-nonfree" - use fdk && myconf="${myconf} --enable-libfdk-aac --enable-nonfree" - else - myconf="${myconf} --disable-encoders" - fi - - # libavdevice options - for i in cdio iec61883 ; do - use ${i} && myconf="${myconf} --enable-lib${i}" - done - use ieee1394 && myconf="${myconf} --enable-libdc1394" - use libcaca && myconf="${myconf} --enable-libcaca" - use openal && myconf="${myconf} --enable-openal" - # Indevs - use v4l || myconf="${myconf} --disable-indev=v4l2" - for i in alsa oss jack ; do - use ${i} || myconf="${myconf} --disable-indev=${i}" - done - use X && myconf="${myconf} --enable-x11grab" - use pulseaudio && myconf="${myconf} --enable-libpulse" - use libv4l && myconf="${myconf} --enable-libv4l2" - # Outdevs - for i in alsa oss sdl ; do - use ${i} || myconf="${myconf} --disable-outdev=${i}" - done - # libavfilter options - for i in frei0r fontconfig libass ; do - use ${i} && myconf="${myconf} --enable-${i}" - done - use truetype && myconf="${myconf} --enable-libfreetype" - use flite && myconf="${myconf} --enable-libflite" - # libswresample options - use libsoxr && myconf="${myconf} --enable-libsoxr" - - # Threads; we only support pthread for now but ffmpeg supports more - use threads && myconf="${myconf} --enable-pthreads" - - # Decoders - use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; } - for i in bluray celt gsm modplug opus rtmp schroedinger speex vorbis vpx; do - use ${i} && myconf="${myconf} --enable-lib${i}" - done - use jpeg2k && myconf="${myconf} --enable-libopenjpeg" - - # CPU features - for i in ${CPU_FEATURES}; do - use ${i%:*} || myconf="${myconf} --disable-${i#*:}" - done - if use pic ; then - myconf="${myconf} --enable-pic" - # disable asm code if PIC is required - # as the provided asm decidedly is not PIC for x86. - use x86 && myconf="${myconf} --disable-asm" - fi - [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 - - # Try to get cpu type based on CFLAGS. - # Bug #172723 - # We need to do this so that features of that CPU will be better used - # If they contain an unknown CPU it will not hurt since ffmpeg's configure - # will just ignore it. - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" # bug #273421 - myconf="${myconf} --cpu=${i}" - break - done - - # Mandatory configuration - myconf=" - --enable-gpl - ${version3} - --enable-postproc - --enable-avfilter - --enable-avresample - --disable-stripping - ${myconf}" - - # cross compile support - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" - case ${CHOST} in - *freebsd*) - myconf="${myconf} --target-os=freebsd" - ;; - mingw32*) - myconf="${myconf} --target-os=mingw32" - ;; - *linux*) - myconf="${myconf} --target-os=linux" - ;; - esac - fi - - # Misc stuff - use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables" - - cd "${S}" - ./configure \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --shlibdir="${EPREFIX}/usr/$(get_libdir)" \ - --mandir="${EPREFIX}/usr/share/man" \ - --enable-shared \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --optflags="${CFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - $(use_enable static-libs static) \ - ${myconf} || die -} - -src_compile() { - emake V=1 - - for i in ${FFTOOLS} ; do - if use fftools_$i ; then - emake V=1 tools/$i - fi - done -} - -src_install() { - emake V=1 DESTDIR="${D}" install install-man - - dodoc Changelog README CREDITS doc/*.txt doc/APIchanges doc/RELEASE_NOTES - use doc && dohtml -r doc/* - if use examples ; then - insinto "/usr/share/doc/${PF}/examples" - doins -r doc/examples/* - fi - - for i in ${FFTOOLS} ; do - if use fftools_$i ; then - dobin tools/$i - fi - done -} - -src_test() { - LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libswresample:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil:${S}/libavresample" \ - emake V=1 fate -} diff --git a/media-video/ffmpeg/ffmpeg-1.2.ebuild b/media-video/ffmpeg/ffmpeg-1.2.ebuild deleted file mode 100644 index 24fa43a43fc8..000000000000 --- a/media-video/ffmpeg/ffmpeg-1.2.ebuild +++ /dev/null @@ -1,301 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-1.2.ebuild,v 1.3 2013/04/04 07:34:43 aballier Exp $ - -EAPI="4" - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-2" - EGIT_REPO_URI="git://source.ffmpeg.org/ffmpeg.git" -fi - -inherit eutils flag-o-matic multilib toolchain-funcs ${SCM} - -DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec." -HOMEPAGE="http://ffmpeg.org/" -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot - SRC_URI="mirror://gentoo/${P}.tar.bz2" -else # Release - SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2" -fi -FFMPEG_REVISION="${PV#*_p}" - -LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )" -SLOT="0" -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 bindist bluray +bzip2 cdio celt - cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r - gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k libass - libcaca libsoxr libv4l modplug mp3 network openal openssl opus oss pic - pulseaudio rtmp schroedinger sdl speex static-libs test theora threads - truetype twolame v4l vaapi vdpau vorbis vpx X x264 xvid +zlib - " - -# String for CPU features in the useflag[:configure_option] form -# if :configure_option isn't set, it will use 'useflag' as configure option -CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext ssse3 vis neon" - -for i in ${CPU_FEATURES}; do - IUSE="${IUSE} ${i%:*}" -done - -FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" - -for i in ${FFTOOLS}; do - IUSE="${IUSE} +fftools_$i" -done - -RDEPEND=" - alsa? ( media-libs/alsa-lib ) - amr? ( media-libs/opencore-amr ) - bluray? ( media-libs/libbluray ) - bzip2? ( app-arch/bzip2 ) - cdio? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) ) - celt? ( >=media-libs/celt-0.11.1 ) - encode? ( - aac? ( media-libs/vo-aacenc ) - aacplus? ( media-libs/libaacplus ) - amr? ( media-libs/vo-amrwbenc ) - faac? ( media-libs/faac ) - fdk? ( media-libs/fdk-aac ) - mp3? ( >=media-sound/lame-3.98.3 ) - theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg ) - twolame? ( media-sound/twolame ) - x264? ( >=media-libs/x264-0.0.20111017 ) - xvid? ( >=media-libs/xvid-1.1.0 ) - ) - flite? ( app-accessibility/flite ) - fontconfig? ( media-libs/fontconfig ) - frei0r? ( media-plugins/frei0r-plugins ) - gnutls? ( >=net-libs/gnutls-2.12.16 ) - gsm? ( >=media-sound/gsm-1.0.12-r1 ) - iconv? ( virtual/libiconv ) - iec61883? ( media-libs/libiec61883 sys-libs/libraw1394 sys-libs/libavc1394 ) - ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 ) - jack? ( media-sound/jack-audio-connection-kit ) - jpeg2k? ( >=media-libs/openjpeg-1.3-r2 ) - libass? ( media-libs/libass ) - libcaca? ( media-libs/libcaca ) - libsoxr? ( media-libs/soxr ) - libv4l? ( media-libs/libv4l ) - modplug? ( media-libs/libmodplug ) - openal? ( >=media-libs/openal-1.1 ) - opus? ( media-libs/opus ) - pulseaudio? ( media-sound/pulseaudio ) - rtmp? ( >=media-video/rtmpdump-2.2f ) - sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] ) - schroedinger? ( media-libs/schroedinger ) - speex? ( >=media-libs/speex-1.2_beta3 ) - truetype? ( media-libs/freetype:2 ) - vaapi? ( >=x11-libs/libva-0.32 ) - vdpau? ( x11-libs/libvdpau ) - vorbis? ( media-libs/libvorbis media-libs/libogg ) - vpx? ( >=media-libs/libvpx-0.9.6 ) - X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes ) - zlib? ( sys-libs/zlib ) - !media-video/qt-faststart - !media-libs/libpostproc -" - -DEPEND="${RDEPEND} - >=sys-devel/make-3.81 - doc? ( app-text/texi2html ) - fontconfig? ( virtual/pkgconfig ) - gnutls? ( virtual/pkgconfig ) - ieee1394? ( virtual/pkgconfig ) - libv4l? ( virtual/pkgconfig ) - mmx? ( dev-lang/yasm ) - rtmp? ( virtual/pkgconfig ) - schroedinger? ( virtual/pkgconfig ) - test? ( net-misc/wget ) - truetype? ( virtual/pkgconfig ) - v4l? ( sys-kernel/linux-headers ) -" -# faac is license-incompatible with ffmpeg -REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl ) - libv4l? ( v4l ) - fftools_cws2fws? ( zlib ) - test? ( encode )" - -S=${WORKDIR}/${P/_/-} -BUILD_DIR=${S}_build - -src_prepare() { - if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot - export revision=git-N-${FFMPEG_REVISION} - fi - epatch_user -} - -src_configure() { - mkdir -p "${BUILD_DIR}" - cd "${BUILD_DIR}" - - local myconf="${EXTRA_FFMPEG_CONF}" - - # options to use as use_enable in the foo[:bar] form. - # This will feed configure with $(use_enable foo bar) - # or $(use_enable foo foo) if no :bar is set. - local ffuse="bzip2:bzlib cpudetection:runtime-cpudetect debug doc - gnutls hardcoded-tables iconv network openssl sdl:ffplay vaapi vdpau zlib" - use openssl && myconf="${myconf} --enable-nonfree" - - # Encoders - if use encode - then - ffuse="${ffuse} aac:libvo-aacenc amr:libvo-amrwbenc mp3:libmp3lame fdk:libfdk-aac" - for i in aacplus faac theora twolame x264 xvid; do - ffuse="${ffuse} ${i}:lib${i}" - done - - # Licensing. - if use aac || use amr ; then - myconf="${myconf} --enable-version3" - fi - if use aacplus || use faac || use fdk ; then - myconf="${myconf} --enable-nonfree" - fi - else - myconf="${myconf} --disable-encoders" - fi - - # libavdevice options - ffuse="${ffuse} cdio:libcdio iec61883:libiec61883 ieee1394:libdc1394 libcaca openal" - - # Indevs - use v4l || myconf="${myconf} --disable-indev=v4l2" - for i in alsa oss jack ; do - use ${i} || myconf="${myconf} --disable-indev=${i}" - done - ffuse="${ffuse} libv4l:libv4l2 pulseaudio:libpulse X:x11grab" - - # Outdevs - for i in alsa oss sdl ; do - use ${i} || myconf="${myconf} --disable-outdev=${i}" - done - - # libavfilter options - ffuse="${ffuse} flite:libflite frei0r fontconfig libass truetype:libfreetype" - - # libswresample options - ffuse="${ffuse} libsoxr" - - # Threads; we only support pthread for now but ffmpeg supports more - ffuse="${ffuse} threads:pthreads" - - # Decoders - ffuse="${ffuse} amr:libopencore-amrwb amr:libopencore-amrnb jpeg2k:libopenjpeg" - use amr && myconf="${myconf} --enable-version3" - for i in bluray celt gsm modplug opus rtmp schroedinger speex vorbis vpx; do - ffuse="${ffuse} ${i}:lib${i}" - done - - for i in ${ffuse} ; do - myconf="${myconf} $(use_enable ${i%:*} ${i#*:})" - done - - # CPU features - for i in ${CPU_FEATURES}; do - use ${i%:*} || myconf="${myconf} --disable-${i#*:}" - done - if use pic ; then - myconf="${myconf} --enable-pic" - # disable asm code if PIC is required - # as the provided asm decidedly is not PIC for x86. - use x86 && myconf="${myconf} --disable-asm" - fi - [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 - - # Try to get cpu type based on CFLAGS. - # Bug #172723 - # We need to do this so that features of that CPU will be better used - # If they contain an unknown CPU it will not hurt since ffmpeg's configure - # will just ignore it. - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do - [ "${i}" = "native" ] && i="host" # bug #273421 - myconf="${myconf} --cpu=${i}" - break - done - - # Mandatory configuration - myconf=" - --enable-gpl - --enable-postproc - --enable-avfilter - --enable-avresample - --disable-stripping - ${myconf}" - - # cross compile support - if tc-is-cross-compiler ; then - myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-" - case ${CHOST} in - *freebsd*) - myconf="${myconf} --target-os=freebsd" - ;; - mingw32*) - myconf="${myconf} --target-os=mingw32" - ;; - *linux*) - myconf="${myconf} --target-os=linux" - ;; - esac - fi - - "${S}/configure" \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --shlibdir="${EPREFIX}/usr/$(get_libdir)" \ - --mandir="${EPREFIX}/usr/share/man" \ - --enable-shared \ - --cc="$(tc-getCC)" \ - --cxx="$(tc-getCXX)" \ - --ar="$(tc-getAR)" \ - --optflags="${CFLAGS}" \ - --extra-cflags="${CFLAGS}" \ - --extra-cxxflags="${CXXFLAGS}" \ - $(use_enable static-libs static) \ - ${myconf} || die -} - -src_compile() { - cd "${BUILD_DIR}" - emake V=1 - - for i in ${FFTOOLS} ; do - if use fftools_$i ; then - emake V=1 tools/$i - fi - done -} - -src_install() { - cd "${BUILD_DIR}" - emake V=1 DESTDIR="${D}" install install-man - - for i in ${FFTOOLS} ; do - if use fftools_$i ; then - dobin tools/$i - fi - done - - cd "${S}" - dodoc Changelog README CREDITS doc/*.txt doc/APIchanges doc/RELEASE_NOTES - use doc && dohtml -r doc/* - if use examples ; then - dodoc -r doc/examples - docompress -x /usr/share/doc/${PF}/examples - fi -} - -src_test() { - cd "${BUILD_DIR}" - LD_LIBRARY_PATH="${BUILD_DIR}/libpostproc:${BUILD_DIR}/libswscale:${BUILD_DIR}/libswresample:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil:${BUILD_DIR}/libavresample" \ - emake V=1 fate -} |