summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-01-16 20:03:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-01-16 20:03:37 +0000
commita848e9110280fc9ffd9a7d3880d2517d9c8ff069 (patch)
tree0070a386ff56207ec588afd68f61613653e0c12d /media-video/ffmpeg
parentversion bump (diff)
downloadhistorical-a848e9110280fc9ffd9a7d3880d2517d9c8ff069.tar.gz
historical-a848e9110280fc9ffd9a7d3880d2517d9c8ff069.tar.bz2
historical-a848e9110280fc9ffd9a7d3880d2517d9c8ff069.zip
remove old
Package-Manager: portage-2.2.8/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/ChangeLog6
-rw-r--r--media-video/ffmpeg/Manifest17
-rw-r--r--media-video/ffmpeg/ffmpeg-2.0.2.ebuild319
-rw-r--r--media-video/ffmpeg/ffmpeg-2.1.1.ebuild324
-rw-r--r--media-video/ffmpeg/ffmpeg-2.1.2.ebuild333
-rw-r--r--media-video/ffmpeg/ffmpeg-2.1.ebuild321
6 files changed, 9 insertions, 1311 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog
index de3d062fab7a..b0ce66529ab7 100644
--- a/media-video/ffmpeg/ChangeLog
+++ b/media-video/ffmpeg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/ffmpeg
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.703 2014/01/16 20:01:56 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.704 2014/01/16 20:03:33 aballier Exp $
+
+ 16 Jan 2014; Alexis Ballier <aballier@gentoo.org> -ffmpeg-2.0.2.ebuild,
+ -ffmpeg-2.1.ebuild, -ffmpeg-2.1.1.ebuild, -ffmpeg-2.1.2.ebuild:
+ remove old
*ffmpeg-2.1.3 (16 Jan 2014)
diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest
index b26818e6d347..7c81bab47887 100644
--- a/media-video/ffmpeg/Manifest
+++ b/media-video/ffmpeg/Manifest
@@ -13,30 +13,21 @@ DIST ffmpeg-1.0.7.tar.bz2 6451535 SHA256 f7e52bd5e0de064e36ecb04adf155c31dd30366
DIST ffmpeg-1.0.8.tar.bz2 6452144 SHA256 8580a317aa09fdabdcf5119c87f59fd3baa4df0f636aac4d3dfeb86c572277aa SHA512 5fc6caf20c016e9d8ff41175d3bb5bf6d4a2c25c65ea8630d45ef8d9a16ee53120d76e4bc220b4f4462618e5c731114182776d7193e9d085332cf087038f3488 WHIRLPOOL 6a6b80a5aa44ee1a1c0af61bdf95659eb319ae48b690c2c1b9dd5291ad3b6f5ab52884c835d925da88dd2467f49ec2198cb78c2ef78af4f2e372c6364c769f6e
DIST ffmpeg-1.2.3.tar.bz2 5968552 SHA256 d97462cf1619bc9552092649c409ed94854b22cffbd274df8cfbefa8f8a3715b SHA512 81a9a0a351a44bd4ae4162a78f886a7e4981420d5bc6af980a1126068cf77494f236153a4a39cafc01049cb1c57247a79034e7fd3a5adb441d103024aee6c7de WHIRLPOOL 3ffc7ba68cb3acc01a2a01f662c856663645f92596e17aa919500fa90edde085b552a06edd50f9c852a9e8952307ed13bb6abd67ff923dfe3b131132032523fd
DIST ffmpeg-1.2.4.tar.bz2 5967562 SHA256 3b96c8ce1b86575cd74f540e5b7a52681554289017d4b974e4efad2a09290ddf SHA512 9c3bf2b31cc0d0028cb83b9c4821073b7c11a0c24ca44f6353086e67c208c45840e71810d70309b655fb1e7b8bbe073f9ab7f336d8064c0e6130244a806a10b2 WHIRLPOOL ad1f10a5191a185c08022f80aa8861eede4680b083224e9181328b2f62a78d3a69c96b53a638125ac44ee68a949a96bd17b913955393d135293fb3ae2174651b
-DIST ffmpeg-2.0.2.tar.bz2 6191390 SHA256 986f63dc0785f473b1832d0eead502e39c9706fbe7f9677bbea0dad6fe0fab4a SHA512 4b194e78a011c0df0173f1e99511ae25272501cc380ca616d60e10a489b1f7e4f1b72f681e4539db4e2da491010fb2225190a24e480a1b285decf4085a4a31f4 WHIRLPOOL 080c9eef1bb0645d88f30efddb31e5443582345d11e6df508d74a0dad98380abb432af8f46ce348b4bcac478595f55416ca60ea5eeb57de8ee9ddcb7391bf2d1
-DIST ffmpeg-2.1.1-freetype251.patch 2824 SHA256 4fa40d2d0f16114ec5e328d581608e475040512eb3f27b93d896250fc254f58e SHA512 453ebda19b661c4b077d0214acb38afadd5e2743e2df03f8d1ba5bc37e00a3fe92c4d8b641054d56fe637e24d0989fcc8461a5957bf9086f08475875085bb3be WHIRLPOOL 5b4db507ecd9519d919018d55477bac678fc3d99104949bf0f618484e8018aa2fc26947deb96c5bb98e0b15bcce4372d74587dd3bc9205971f266771cd8ceb6e
-DIST ffmpeg-2.1.1.tar.bz2 6641619 SHA256 bef95e5b9aac45adec7ef434537504a63b4bbc22a8ce6a96a68e19c5efbadae2 SHA512 762691408d536753a08620162b04d2b7746e814d666e6e7b5341f4731de5e38e043ed47a6f0a96a09795aec8de07814946911fec48e8cdff60d0317f85a4b7e5 WHIRLPOOL bd14c405eea1b4214773a075ff4e7e902de34f1fc7a7a48722c295549b76e47ed51674996d1e065a96d71259463ae8ecb4b9be5223a298f58603303c2abf8f19
-DIST ffmpeg-2.1.2.tar.bz2 6640036 SHA256 80ab38a1990f6489775ba5c8fbe0e0f65c6d704e88c6a77e95d2feb6254fba5c SHA512 2423a6969ea02b9b325ed68a88fd419385a5119adb07db5b1689b38b55af1cfad4c28abf03d17fda2ddc15fc89bda5197c6a9fa6e7e487b479e952a49f6d5a2b WHIRLPOOL 2d5686d00c3e874d3f460d9d606e93a6ed94975f1dde669cadb67856bf068074cf504be05485d26088a2bb6e2df610367531677bbd22085e88e0c9120284881c
DIST ffmpeg-2.1.3.tar.bz2 6638987 SHA256 1d332e7fd35f87e1ffb6c9b0405cbfda085ef712ede0133a213793a4e66d13a3 SHA512 fcaf04089c6081e476c23220c33d67252f8eecacc67a79a23a658865cab896cf5f29f8825626c09151539aa35dcae64726bcb6f96fadf51bc8b9c4e5fa3c47a0 WHIRLPOOL 9c289ac74285c7394de8fb34ab65c25835ab1a56bec51dd888e3e6899a9680d0e4bba68d92f685a0b5439be5ca51b0799b15c0bdeab5105720c5fe558319dc38
-DIST ffmpeg-2.1.tar.bz2 6640774 SHA256 926603fd974e9b38071a5cfc6fd0d93857801d1968145dfce7fdc627ab1d68df SHA512 e4c98a6d92c3e89ca55280c7e399f6abacc0f2b8d2e97662202e988b9632f124dd849cbbdd7472dc1d77c22d5ca023f6be14173e2b567a0d13775f64fbc08099 WHIRLPOOL 0ec7fedf2c90016f4baec18a5fa7d2f078e5f4405ecc66a9d6025ccfe3b56f1abbe7673926b34670e63ee968333ec1bb6b279202e160f826ff857f80141d790f
EBUILD ffmpeg-0.10.10.ebuild 9688 SHA256 9b558b48ece44c0bd24b0940439cd371e359b0f25004668a7a690696e631db32 SHA512 36297d05c87f3c104765e44d96c2a4fae00c26a8e637f3baab9169234fb3fe5bc97eef36af1d69c4dcb18b086afb2db528708c544e1c5f17a1b1121580c5aa2c WHIRLPOOL e025d23cdcb7dbc8e386ed74ec8ccfef232d24007c6f969d73515bcfd06c1420b0057eb551e2036a3d72bbd2f8b830be18a2d982540ebfcb18c3c594a59343c9
EBUILD ffmpeg-0.10.9.ebuild 9628 SHA256 1ae7fe6e3d8cfff291dd06abbde97523225a04d69fa5634d999a233b0d65184a SHA512 282212ba8a13e6eaf8676f0a6b08f506ed5a183f050abcd30fef30f301248368a51dac89d5185332a25b4c59400b125467f8b277cbf58f3ea5d0e9e0f79bf5dc WHIRLPOOL f8602667c35525b7339cd3df4610e444ff762a13081bca9977b4728d8a8d6084a873eb7c170bc5e99a3d993ad5f1108306e40d94fc1d21b9e181b538823493c2
EBUILD ffmpeg-1.0.7.ebuild 9602 SHA256 8043939761a0f81f9a69e5d70cb3a017445849f455a4e4ce9d36cfd2a032687c SHA512 23690d129f2b1a64de04309b3f9eadbfc6d4de696d0cd126d085812f434088977f31dfdf31f3da5453e1f7da6e83ecd4ae0e122db7701152c0d7bb12059ab9e8 WHIRLPOOL cadda4f937286bcedf83e61d7d1227c8e9b963922535cc284c4b9f6c3633b907be4eb68027bddbc87244ecf340f86af8ea9526688a731495f96d97f6dc71a7d2
EBUILD ffmpeg-1.0.8.ebuild 9652 SHA256 a8b76798650c4e3912e381b5e84ab9aed66ee6b6213705b6c2643c0458daca9c SHA512 f3e85834f28c4240805e69134707f78282d242a87183c0debba7d6b566f8573b0e7ed397ae7b0b8a10ef9f9dba7e24a4dd494e17dc9fb4ca2dc86b5cb495e9e4 WHIRLPOOL 4d01e4f108e99ac10cca83eea8a5d7be49dd2dca05f2cad6fb8f946e75ebf910c1da80d2339856c282d8e9ec1616f78cab5f2b90f9f7311afc1b87ea117c2fe6
EBUILD ffmpeg-1.2.3.ebuild 8938 SHA256 c93bdb73ebf4c2fc20f047983e3532cecd533918218196777de3e730f6cc0db8 SHA512 87c906c60da0302d4f3c5731995ec3a399d1c2b12ed571d2979d8cedfec8ebd561750da16449d76a684fdd1b883eeba7e782c3859148da8c9286acaa4cd33cbe WHIRLPOOL cb3f2b83ae6f849db0c7344cfb79f64fc06ff87f9dd7ea39f3352b8337ade1a16dde5b404a194c8e4185b8fb6b20f4128a80b19bb579a21503bcce423bfc35a4
EBUILD ffmpeg-1.2.4.ebuild 8995 SHA256 470de6c8c403d844e876d4fa3d4b41225931176eaf4b14ec44db784ada42e250 SHA512 9e3966f60881134384faa97588aaf3588d2b5450d47401c30af1cadc2da54d4cb7f2ed4c6d041ac80933c0966cbf7047754362b28cb41883ddf79bb30ad09873 WHIRLPOOL 1deaaed0a61741c233339e47a7fddd602dedda00be4d442ef56d98965ae4946ce0ee655eef58c0fe1e4aa9690c9e15ed89a2b846e198e23f0e69379abf846164
-EBUILD ffmpeg-2.0.2.ebuild 9814 SHA256 e87d2e765d731e2db9e83186eb002d52b645972d54b5044d4feb1312707d046e SHA512 a1ffd624912b33dfb9545d55fa401d74798d3320ba71171423e70994a475c954654cac97e393ea60aaf248a2fa88bd9f3577770c643241e9f9976fd464e152f9 WHIRLPOOL 4a57bfb9c8d5381ddb40cd30836ce38017ff94096317f1c968a4b3f18e2b6df2392e3550381a1f8468738bce830f38e4f35d9f48f7571d62bca16b2803ea7398
-EBUILD ffmpeg-2.1.1.ebuild 10115 SHA256 80bd673d4564818edc757d17482bb0b18c8d5794f94c5054b20368f9f49836fa SHA512 51d0fb7809f36e55410950921a227e66ca195f3b093aeaeed495ff83c0b9e62531ae50fd131797e90593f231a83a740411f978c983374efd66cbe90bdf76c66a WHIRLPOOL bae4a119aaf9186b6e7de8c3a7b1a5f1cdc97e4a11f27d3b2a811e17b1417f88f044b194ef0506f5ef7f189382923238116e09cb274b4e23b9e4a7354dc30e6c
-EBUILD ffmpeg-2.1.2.ebuild 10240 SHA256 9cc7e31daf6df0f360ac67c0625489ef889e293dec8bcfd39b3d4a0e8a1db535 SHA512 c3223f61b7703653a5508e12d02c6e5697714abd5d6c0d61fc481d7f66251e1c78656d12abb72d06aa8f1a1b0a934170b98cf1df4dd9f8862a2a8e0daf6f228e WHIRLPOOL ecdf7ca9fb9b56105412c0267fdf2ce301f88380675eefc6e2349ada2614d7274cb0e8b3a4d0645fa9866c08494f0a1f6d80d235822ecff68bcde03a069810ee
EBUILD ffmpeg-2.1.3.ebuild 10240 SHA256 651ff233c63eedadd1483a466ee3cd17eb71dbebc0f621c66006ddb7aaf7c40e SHA512 4bf23e409afae7c517ca516472548742d8a7dec3678436ea9b26f590f05a53f3bb655aed6eeb4424875dc4a9c886e8f4968d56f25d3441582a5644da6d6f2938 WHIRLPOOL ff1e3032a3e835a35d4ee54a6984e37053398163c89f9eb5133e2dd2afd41b0b91e5b48c437839fee793f5c7124db8851dd4207490290db453d9be07d76f0004
-EBUILD ffmpeg-2.1.ebuild 9922 SHA256 ada45fb54f06e6be078dde8594d51a83fab8a58b5be5154c75e33aaccde8085b SHA512 fcae83cfd6f6a102fd573818d1e55f47a194a248218124e2f121f7866611bbf082be7bed44cfef29beee675a980b83fd76af6832901b2d6b8cfa6fdbe52d23ad WHIRLPOOL 2d70f8fd5cee37691d15e9f0fa87a30455e5d0459acce9a5489e3a1467cd5eb6646610dacd7f5a73515de73ff76719160abead0ea920e33c5c4be972e6df1402
EBUILD ffmpeg-9999.ebuild 10241 SHA256 106a0829b277b20aafe3fc3ce1641be5de8115cd6b51c9cbb3367cd5f5c5b8da SHA512 1bc41a81002a5a0c6a7edf4cd7701e630d24017c4ec68ac2bbe350e58fb2e2bb1ae52f3be9532ef82b8ddb01983a0d88873029a378dcbf28020429df407b7d9b WHIRLPOOL d17f07f3267ca26eafd7949d9ca3702ac55dd6d1e4c009a3802024e3a5e24cce1b70f2baa94c977e04cba27d986a1d907763f327f400305dc153cd23a836f05e
-MISC ChangeLog 98144 SHA256 1383e06cc2058823189cfc8394fb0a7175a4fac1c7096952e018d160ea8e5fa6 SHA512 65c8f9cd34f56b850d844438c9b4359f677f2890c2f92dd5fa8f8b195123a04adbf6b09daa8627cfcfe36cd8b6c6df8e8d07bcf88f6d52cb057c3d0a99b92054 WHIRLPOOL b02c107f0cfafe7dc1aabd056c0276760775f3d58daa4c2420df05d31dcf6d0ffed0fcad8f25c15fcfd3ffdda43d93b653143ef1b59c920153e9624ae16fa2d8
+MISC ChangeLog 98298 SHA256 9c3f1b855cbc9fbc5441575d518360d3e848d939fcedcd00a04b1d9a5903242b SHA512 5fd536f109d3614a9354e2de8ea3e1bc7eaebbe89b668d4d4e3807e4a4fca8d7622b2db213c0c17141e5c80caaf7aca046de85a649c39b9caed6a20cb00cfbca WHIRLPOOL f69468d207c20d1d13f37b81025d88ab1c98e8c5e7228410e6cc51d84697d299a1c945390c936199fc86bf466986ceb9b34eeda19d58519ce82c3c4759f870ef
MISC metadata.xml 5023 SHA256 99bbcb090ad6c7f40d1a19c14d5f31beb67023664b5e70d53e976ff6ccb03114 SHA512 8c067e95750c3868fb3dd987d66e4e9b3e6c17bce33dba3bba80d96d49fb293ae25faac505cb575ee00cfcd4c912e47831dca559aef06b4f921a34762b750169 WHIRLPOOL 4b05d43fd76ee436db935b681a21c9e267c6ab169314ae30e5b20c87386b37dde3694cf3a26910394607b0458cc974f35c79bb640c889b4ac6b07cfbb8b2c627
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlLYOrYACgkQvFcC4BYPU0ouqwCfXZqh0egD41C2FwsE9r/1XyaY
-VQIAoJ8lS128mo08rsqoWSlr9utWqU4S
-=Zhyt
+iEYEAREIAAYFAlLYOxcACgkQvFcC4BYPU0qm0gCgtg7KYHj//SClmhIvD8TflMKd
+Ek8AoIQMQeyniVEmlo9zSdYgX0RhEuxd
+=e37i
-----END PGP SIGNATURE-----
diff --git a/media-video/ffmpeg/ffmpeg-2.0.2.ebuild b/media-video/ffmpeg/ffmpeg-2.0.2.ebuild
deleted file mode 100644
index 06517b3ece10..000000000000
--- a/media-video/ffmpeg/ffmpeg-2.0.2.ebuild
+++ /dev/null
@@ -1,319 +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-2.0.2.ebuild,v 1.3 2013/12/10 12:28:38 polynomial-c Exp $
-
-EAPI="5"
-
-# Subslot: libavutil major.libavcodec major.libavformat major
-# Since FFmpeg ships several libraries, subslot is kind of limited here.
-# Most consumers will use those three libraries, if a "less used" library
-# changes its soname, consumers will have to be rebuilt the old way
-# (preserve-libs).
-# If, for example, a package does not link to libavformat and only libavformat
-# changes its ABI then this package will be rebuilt needlessly. Hence, such a
-# package is free _not_ to := depend on FFmpeg but I would strongly encourage
-# doing so since such a case is unlikely.
-FFMPEG_SUBSLOT=52.55.55
-
-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/${FFMPEG_SUBSLOT}"
-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 +bzip2 cdio celt
- cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r
- gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k
- libass libcaca libsoxr libv4l modplug mp3 +network openal openssl opus oss
- pic pulseaudio quvi rtmp schroedinger sdl speex static-libs test theora
- threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack 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 ffhash 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 )
- amrenc? ( 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 )
- wavpack? ( media-sound/wavpack )
- 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 )
- gme? ( media-libs/game-music-emu )
- 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:0 )
- 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 )
- openssl? ( dev-libs/openssl )
- opus? ( media-libs/opus )
- pulseaudio? ( media-sound/pulseaudio )
- quvi? ( media-libs/libquvi )
- 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 "${FILESDIR}"/${PN}-2.0.2-freetype251.patch
- 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 amrenc:libvo-amrwbenc mp3:libmp3lame fdk:libfdk-aac"
- for i in aacplus faac theora twolame wavpack x264 xvid; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
-
- # Licensing.
- if use aac || use amrenc ; 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 --disable-outdev=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 gme gsm modplug opus quvi 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
-}
diff --git a/media-video/ffmpeg/ffmpeg-2.1.1.ebuild b/media-video/ffmpeg/ffmpeg-2.1.1.ebuild
deleted file mode 100644
index 4125de021913..000000000000
--- a/media-video/ffmpeg/ffmpeg-2.1.1.ebuild
+++ /dev/null
@@ -1,324 +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-2.1.1.ebuild,v 1.2 2013/12/10 12:28:38 polynomial-c Exp $
-
-EAPI="5"
-
-# Subslot: libavutil major.libavcodec major.libavformat major
-# Since FFmpeg ships several libraries, subslot is kind of limited here.
-# Most consumers will use those three libraries, if a "less used" library
-# changes its soname, consumers will have to be rebuilt the old way
-# (preserve-libs).
-# If, for example, a package does not link to libavformat and only libavformat
-# changes its ABI then this package will be rebuilt needlessly. Hence, such a
-# package is free _not_ to := depend on FFmpeg but I would strongly encourage
-# doing so since such a case is unlikely.
-FFMPEG_SUBSLOT=52.55.55
-
-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
- http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=cea5812fa723c08b89d929eeba73462e05de2973 -> ${PN}-2.1.1-freetype251.patch"
-fi
-FFMPEG_REVISION="${PV#*_p}"
-
-LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )"
-SLOT="0/${FFMPEG_SUBSLOT}"
-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 +bzip2 cdio celt
- cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r
- gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k
- ladspa libass libcaca libsoxr libv4l modplug mp3 +network openal openssl opus
- oss pic pulseaudio quvi rtmp schroedinger sdl speex ssh static-libs test theora
- threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack X x264 xvid
- +zlib zvbi
- "
-
-# 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 avx2 mmx mmxext ssse3 vis neon"
-
-for i in ${CPU_FEATURES}; do
- IUSE="${IUSE} ${i%:*}"
-done
-
-FFTOOLS="aviocat cws2fws ffescape ffeval ffhash 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 )
- amrenc? ( 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 )
- twolame? ( media-sound/twolame )
- wavpack? ( media-sound/wavpack )
- x264? ( >=media-libs/x264-0.0.20111017:= )
- xvid? ( >=media-libs/xvid-1.1.0 )
- )
- fdk? ( media-libs/fdk-aac )
- flite? ( app-accessibility/flite )
- fontconfig? ( media-libs/fontconfig )
- frei0r? ( media-plugins/frei0r-plugins )
- gme? ( media-libs/game-music-emu )
- 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:0 )
- 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 )
- openssl? ( dev-libs/openssl )
- opus? ( media-libs/opus )
- pulseaudio? ( media-sound/pulseaudio )
- quvi? ( media-libs/libquvi )
- 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 )
- ssh? ( net-libs/libssh )
- 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 )
- zvbi? ( media-libs/zvbi )
- !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 )
- ladspa? ( media-libs/ladspa-sdk )
- libv4l? ( virtual/pkgconfig )
- mmx? ( >=dev-lang/yasm-1.2 )
- 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 "${DISTDIR}"/${PN}-2.1.1-freetype251.patch
- 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 amrenc:libvo-amrwbenc mp3:libmp3lame"
- for i in aacplus faac theora twolame wavpack x264 xvid; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
-
- # Licensing.
- if use aac || use amrenc ; then
- myconf="${myconf} --enable-version3"
- fi
- if use aacplus || use faac ; 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 --disable-outdev=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 ladspa 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 fdk:libfdk-aac jpeg2k:libopenjpeg"
- use amr && myconf="${myconf} --enable-version3"
- for i in bluray celt gme gsm modplug opus quvi rtmp ssh schroedinger speex vorbis vpx zvbi; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
- use fdk && myconf="${myconf} --enable-nonfree"
-
- 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
-}
diff --git a/media-video/ffmpeg/ffmpeg-2.1.2.ebuild b/media-video/ffmpeg/ffmpeg-2.1.2.ebuild
deleted file mode 100644
index 76dad97ab2a8..000000000000
--- a/media-video/ffmpeg/ffmpeg-2.1.2.ebuild
+++ /dev/null
@@ -1,333 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-2.1.2.ebuild,v 1.1 2014/01/14 19:26:17 aballier Exp $
-
-EAPI="5"
-
-# Subslot: libavutil major.libavcodec major.libavformat major
-# Since FFmpeg ships several libraries, subslot is kind of limited here.
-# Most consumers will use those three libraries, if a "less used" library
-# changes its soname, consumers will have to be rebuilt the old way
-# (preserve-libs).
-# If, for example, a package does not link to libavformat and only libavformat
-# changes its ABI then this package will be rebuilt needlessly. Hence, such a
-# package is free _not_ to := depend on FFmpeg but I would strongly encourage
-# doing so since such a case is unlikely.
-FFMPEG_SUBSLOT=52.55.55
-
-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/${FFMPEG_SUBSLOT}"
-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 +bzip2 cdio celt
- cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r
- gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k
- ladspa libass libcaca libsoxr libv4l modplug mp3 +network openal openssl opus
- oss pic pulseaudio quvi rtmp schroedinger sdl speex ssh static-libs test theora
- threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack X x264 xvid
- +zlib zvbi
- "
-
-ARM_CPU_FEATURES="armv5te armv6 armv6t2 neon armvfp:vfp"
-MIPS_CPU_FEATURES="mips32r2 mipsdspr1 mipsdspr2 mipsfpu"
-PPC_CPU_FEATURES="altivec"
-SPARC_CPU_FEATURES="vis"
-X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext avx avx2 fma4 mmx mmxext sse sse2 sse3 ssse3 sse4 sse4_2:sse42"
-
-# 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="
- ${ARM_CPU_FEATURES}
- ${MIPS_CPU_FEATURES}
- ${PPC_CPU_FEATURES}
- ${SPARC_CPU_FEATURES}
- ${X86_CPU_FEATURES}
-"
-
-for i in ${CPU_FEATURES}; do
- IUSE="${IUSE} ${i%:*}"
-done
-
-FFTOOLS="aviocat cws2fws ffescape ffeval ffhash 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 )
- amrenc? ( 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 )
- twolame? ( media-sound/twolame )
- wavpack? ( media-sound/wavpack )
- x264? ( >=media-libs/x264-0.0.20111017:= )
- xvid? ( >=media-libs/xvid-1.1.0 )
- )
- fdk? ( media-libs/fdk-aac )
- flite? ( app-accessibility/flite )
- fontconfig? ( media-libs/fontconfig )
- frei0r? ( media-plugins/frei0r-plugins )
- gme? ( media-libs/game-music-emu )
- 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:0 )
- 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 )
- openssl? ( dev-libs/openssl )
- opus? ( media-libs/opus )
- pulseaudio? ( media-sound/pulseaudio )
- quvi? ( media-libs/libquvi )
- 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 )
- ssh? ( net-libs/libssh )
- 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 )
- zvbi? ( media-libs/zvbi )
- !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 )
- ladspa? ( media-libs/ladspa-sdk )
- libv4l? ( virtual/pkgconfig )
- mmx? ( >=dev-lang/yasm-1.2 )
- 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 amrenc:libvo-amrwbenc mp3:libmp3lame"
- for i in aacplus faac theora twolame wavpack x264 xvid; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
-
- # Licensing.
- if use aac || use amrenc ; then
- myconf="${myconf} --enable-version3"
- fi
- if use aacplus || use faac ; 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 --disable-outdev=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 ladspa 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 fdk:libfdk-aac jpeg2k:libopenjpeg"
- use amr && myconf="${myconf} --enable-version3"
- for i in bluray celt gme gsm modplug opus quvi rtmp ssh schroedinger speex vorbis vpx zvbi; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
- use fdk && myconf="${myconf} --enable-nonfree"
-
- 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
-}
diff --git a/media-video/ffmpeg/ffmpeg-2.1.ebuild b/media-video/ffmpeg/ffmpeg-2.1.ebuild
deleted file mode 100644
index 8de34cef9b7f..000000000000
--- a/media-video/ffmpeg/ffmpeg-2.1.ebuild
+++ /dev/null
@@ -1,321 +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-2.1.ebuild,v 1.1 2013/11/05 19:57:48 aballier Exp $
-
-EAPI="5"
-
-# Subslot: libavutil major.libavcodec major.libavformat major
-# Since FFmpeg ships several libraries, subslot is kind of limited here.
-# Most consumers will use those three libraries, if a "less used" library
-# changes its soname, consumers will have to be rebuilt the old way
-# (preserve-libs).
-# If, for example, a package does not link to libavformat and only libavformat
-# changes its ABI then this package will be rebuilt needlessly. Hence, such a
-# package is free _not_ to := depend on FFmpeg but I would strongly encourage
-# doing so since such a case is unlikely.
-FFMPEG_SUBSLOT=52.55.55
-
-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/${FFMPEG_SUBSLOT}"
-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 +bzip2 cdio celt
- cpudetection debug doc +encode examples faac fdk flite fontconfig frei0r
- gme gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k
- ladspa libass libcaca libsoxr libv4l modplug mp3 +network openal openssl opus
- oss pic pulseaudio quvi rtmp schroedinger sdl speex ssh static-libs test theora
- threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack X x264 xvid
- +zlib zvbi
- "
-
-# 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 avx2 mmx mmxext ssse3 vis neon"
-
-for i in ${CPU_FEATURES}; do
- IUSE="${IUSE} ${i%:*}"
-done
-
-FFTOOLS="aviocat cws2fws ffescape ffeval ffhash 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 )
- amrenc? ( 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 )
- twolame? ( media-sound/twolame )
- wavpack? ( media-sound/wavpack )
- x264? ( >=media-libs/x264-0.0.20111017:= )
- xvid? ( >=media-libs/xvid-1.1.0 )
- )
- fdk? ( media-libs/fdk-aac )
- flite? ( app-accessibility/flite )
- fontconfig? ( media-libs/fontconfig )
- frei0r? ( media-plugins/frei0r-plugins )
- gme? ( media-libs/game-music-emu )
- 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:0 )
- 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 )
- openssl? ( dev-libs/openssl )
- opus? ( media-libs/opus )
- pulseaudio? ( media-sound/pulseaudio )
- quvi? ( media-libs/libquvi )
- 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 )
- ssh? ( net-libs/libssh )
- 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 )
- zvbi? ( media-libs/zvbi )
- !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 )
- ladspa? ( media-libs/ladspa-sdk )
- libv4l? ( virtual/pkgconfig )
- mmx? ( >=dev-lang/yasm-1.2 )
- 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 amrenc:libvo-amrwbenc mp3:libmp3lame"
- for i in aacplus faac theora twolame wavpack x264 xvid; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
-
- # Licensing.
- if use aac || use amrenc ; then
- myconf="${myconf} --enable-version3"
- fi
- if use aacplus || use faac ; 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 --disable-outdev=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 ladspa 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 fdk:libfdk-aac jpeg2k:libopenjpeg"
- use amr && myconf="${myconf} --enable-version3"
- for i in bluray celt gme gsm modplug opus quvi rtmp ssh schroedinger speex vorbis vpx zvbi; do
- ffuse="${ffuse} ${i}:lib${i}"
- done
- use fdk && myconf="${myconf} --enable-nonfree"
-
- 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
-}