summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-09-29 02:16:06 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-09-29 02:16:06 +0000
commita0966b5ac8d5dcbc705e6bb59e8d1d701d102168 (patch)
treea3d8f5ee95acfc8d4915ee700be2cbdcd75b3230 /media-video
parentcpudetection is now enabled by default, disable it if the useflag is not enabled (diff)
downloadhistorical-a0966b5ac8d5dcbc705e6bb59e8d1d701d102168.tar.gz
historical-a0966b5ac8d5dcbc705e6bb59e8d1d701d102168.tar.bz2
historical-a0966b5ac8d5dcbc705e6bb59e8d1d701d102168.zip
bump to 1.0 :)
Package-Manager: portage-2.2.0_alpha134/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ffmpeg/ChangeLog7
-rw-r--r--media-video/ffmpeg/Manifest10
-rw-r--r--media-video/ffmpeg/ffmpeg-1.0.ebuild298
3 files changed, 310 insertions, 5 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog
index cfd762b7c269..c19ec1e1cef8 100644
--- a/media-video/ffmpeg/ChangeLog
+++ b/media-video/ffmpeg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/ffmpeg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.581 2012/09/29 02:08:58 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.582 2012/09/29 02:16:06 aballier Exp $
+
+*ffmpeg-1.0 (29 Sep 2012)
+
+ 29 Sep 2012; Alexis Ballier <aballier@gentoo.org> +ffmpeg-1.0.ebuild:
+ bump to 1.0 :)
29 Sep 2012; Alexis Ballier <aballier@gentoo.org> ffmpeg-9999.ebuild:
cpudetection is now enabled by default, disable it if the useflag is not
diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest
index bfcbab4807b8..25ccc87ac7d1 100644
--- a/media-video/ffmpeg/Manifest
+++ b/media-video/ffmpeg/Manifest
@@ -8,19 +8,21 @@ DIST ffmpeg-0.10.4.tar.bz2 5853766 SHA256 82932716a8c01a6840a2f20c1ee093e04b1d8a
DIST ffmpeg-0.10.5.tar.bz2 5774951 SHA256 47f26011e2d0d31641e91bb1fbcb907f4aa654d93732d5362711f38c2db4faa9 SHA512 a945b6f80ec3f036613e207aa4a87b11f7a1e8931d297a1fe83e66f742dbd8922c12ab45929fc497a7725082ee9d20ff0b9bc20fc0b12c0b5b4526470ea61520 WHIRLPOOL b883178bfb32f2fd068b6345fb0add948f9a550a9ad6ecfa62a83f9f2e9dcb94c3c5f05b56db90fbbddc69f6ce7787a5bcf385865bc0a1eb12182291e0922f66
DIST ffmpeg-0.11.1.tar.bz2 6073253 SHA256 b01ddfb6352c84810879988f43172c5f7be555697edb929625845c7bb953fa96 SHA512 1a3c3cf6222f3273b091facffa52b9608e4f913fe0e53378011a29efef58c55032c878b4cc56357c435c7a552c5af7b74cf8651b25c8a1394f612ff2176fea40 WHIRLPOOL 7997f585408bf33492145c392038c472f5f3073fc53082484830a7860ced290e5e6115d89083ab31fa59fc89c96e4a10170c4dd7c0a06eacfb974c1676ef7829
DIST ffmpeg-0.11.2.tar.bz2 5983283 SHA256 b7e58f5aa8e1657cec15f5da439b142e0cbf478a8d5e5be0304c203ecd27c893 SHA512 033332332bbcdd32c95905ce3ad67021e3730ab9171d07d111fd2b68e75fba090af05a85a361ba7225435c55948e5f98c5a0346f2656e3dff1a5d77a041b9742 WHIRLPOOL 5215f3a4a859f5fa2b7ba93e032f6aaf09a494fb61a71bb8a3c7c55ffde27d49a74d8ea573f49e0d44aca764ce3fa703b2eaa9f7c89f717a275c9c410e029cb9
+DIST ffmpeg-1.0.tar.bz2 6443851 SHA256 0d82c3e246b8a4510ed7947865c0415fef3bc1d1c1259a007463ce2f7e4171c9 SHA512 b9045351593666a8859bfa9c1ab658ffbd84c0c9f322ea91c126361cf0d1813f5749336c806cb23776eb6f3e83d548352c59ca843ba7ed77c104945b4e0fc23a WHIRLPOOL 1e241e2af44e13a90be79988194064dc101241d6fe72fb265eb855d67feb44acfd791520a1674e1fd0d014af21311fc18d0442f7fb8a5a322313d15023f856a5
EBUILD ffmpeg-0.10.2.ebuild 8623 SHA256 8dff0fc88d64be8e49c771027dc43e50264d39562a6ccb9642ab2000098c6ea2 SHA512 2682e595b6ad26acd9193b19e4761583c044e35e3d7c74259d5f374338e75986335b873fc79c23dacb0f8f3016af95e12dfaa7d88ef4efc1a008c5fe11a3ea48 WHIRLPOOL 7cab6e1e1819f92580a741ff64ad2eb6f88de9d823cc800be0152e201c942bb8d55e38614f970ec0d4253042179b206b89e1b2610d2cb3e26638d60501a117b2
EBUILD ffmpeg-0.10.3.ebuild 8635 SHA256 7a93b57018947a7c57d3829c092aac4ee8e3b554c1116fd2fc41f4b4582bc7c3 SHA512 0a64ec7ef72af03d3997bc48191a4b8cf34ecc79d8cc4648a46e0ea303c38ba0bfe5877937328e7eec32950a6371288c7d4613eb14914bbe0f26f961cbda2d25 WHIRLPOOL 1e65a3790fa9c111c2266d5a2c5f6333ed3b37518dbd2a96d0ac7f6d969feb793430c7a79ee79de485d4c2e3d1b6da103936f22125ec87b061f319ab7bed4fc0
EBUILD ffmpeg-0.10.4.ebuild 8643 SHA256 e3ae3ab73de82507e2f24356540378123567d869f2ac25315510752071b3df10 SHA512 4fb4c70b55b52f235a277c655a16c06b41c6720c21729ab56d0c04bde689e8e88f46082f07bdc2c750630f448b0e665877e5e116b8d1e5854ff0bc331eb1f0ed WHIRLPOOL 8a72ab46e5856b86836382ad73b2a8c10493577c5a54ccc1e2e896ffd8b986f2904b2adfcd431bd9c1f2df4c62cf55b6667b845b2b9f9b4f16da43f00402fa79
EBUILD ffmpeg-0.10.5.ebuild 8643 SHA256 9cd95876fbefdbd3320b8667b0fc3e84f237916e22e74b5c6fdf739e6539fa25 SHA512 c72d810514a610c7399aa291ed9c6df941d59ca9b07206a2095446230c9799c917f2ac9324fa91682163ab478508804389409aad228c0b78ea29c077d93dd278 WHIRLPOOL 7310dac0aca5495bda031eac44eb5aa3eaaa8f6151039c41b4b749cd10b3ea1b7e2c6baab9225dec74539b1eff5a8e826e77420d0464390223a3e17059bec316
EBUILD ffmpeg-0.11.1.ebuild 8781 SHA256 ac676957c3fa78197326e28cc49db75f626e10d73c218e58ec6daf125d5c1ec9 SHA512 79bcfc09186272f41ea531791c68390e7a65fb284848bc570162d9e92ac4b99d3eb1c391e2d1004f2450b86242b68261fabed99a6ff56734059479d864674030 WHIRLPOOL f0671834fdc160627a40de6d36075fd52744b8c8cbfdda68d2edd5b6e1584c9b424fb577d8614145b3809de4ec5399e5f92be0e1144968dc9be1dd3fde69f6dd
EBUILD ffmpeg-0.11.2.ebuild 8781 SHA256 1b3d27693e38c9ac39fd75c58625c969c157e5d1ce4962d86102cd8c14dc331f SHA512 a04bfcd20231537bed1d977fc924b7fefc5a71691f62327224c57e3b659193fe86742572a488ce9399a151229b7a907fac06b0cd87fad2a7d69baca9fc0b880a WHIRLPOOL 72879505edec487f42f42504fdca88148869e6c7e588c13c2c881e2356ae9055be32f33711fe11d6b3ed6c10ca4587de8f2e5004e15de8c8c69d575228a99a39
+EBUILD ffmpeg-1.0.ebuild 9119 SHA256 cc84fe515caa6de1d8d8b689ec35243a8e77716297b99d982ffe5e9547cbf0a5 SHA512 df03339d70a7ecc123545a8933f16645fb8660dad27ac3d820516971c60fc040914d1c4dbd3b6167051938e8de4893775e0032d552f448af055d07eed63a85d7 WHIRLPOOL ce976a0617874ced0668e84d61a2d7278a10a97a8d43aeab4b154424cd0403290903801ad3823a013099de63c9eea9e3f45372c5f60149ffe585ad9736f99ea3
EBUILD ffmpeg-9999.ebuild 9122 SHA256 f92a845c62dbb9e070b545bb658386ff0260844c868d5f6fdcddafba1bf4e9ac SHA512 a093271cc38e84bd5a32e1021fffe156b397d86be257a099dffb18a8a518a601c56c00de0af4a3fad0c360b177a49b2bac831277d206364c0d8263492b422620 WHIRLPOOL fb9bd19ca4a86ceebf9950f7a7c84e00e8555b07f6dfee451cbc3b2ca4f5d80139d464b54482b650a19932a774a515d332423001500892a1a0190a52248b0b66
-MISC ChangeLog 82303 SHA256 ef2a6c486de6929303b4e4f674f301c1c90820d7beb795cd3a6c4f273b4ee866 SHA512 7b1c560d08195e4755e3b55cc13bb80d3c129495ffbc820a8dc91046ade88de2d2275fe2cc931d15f02ca366ea92a7297231f3da56bee8b6206b9020b80391e4 WHIRLPOOL 32478fc33559f83244fb215eaa0ecc8221ac4b74e3b9be1f114274fed557a19e6e343acb625530dcc4e39a11ea17501fd4e9d9278e12ea9e9b1a616ffbc56c4d
+MISC ChangeLog 82420 SHA256 6ce6860a0c4d44962cd2f6816f2c2f261240cef5b5da69e739aa8abca50478f7 SHA512 6428893fef6f3071e5ca2dc7ec6e94e7287bdf076ff413facca137c1b7ee0edf1e3b6daf196a4dd0cefe13600dcae2adc9ff53feee84b41243f37f26ef905197 WHIRLPOOL 9dfe3fcb83bab5bf1876bb0336bd464a2b4016fbdd32209fa182092ae855ba14438bafb73926070052cff5071204fdbc14f1fb3bb58edcd3122dd70ec3f1990e
MISC metadata.xml 3620 SHA256 9bb269f2a159087f59fa468dc963974d162a76b9886d3f0846bc1ed840c3a72b SHA512 f50ed1d593174df65ce6fefb9ad859c914f60a2c6bdbc88dacbb436938747b2c8da35ee7eae32e92a551963a552635cef9a74dbaf12de9d2a0946d9efd6ebfee WHIRLPOOL 9f8e2f50b9e4665bc66a1b694a0e7ad913df6eb26e639f84743d7d5605f751cdf18943848c5866b1535f7539da457ae053441fc07fd71cb7ec64833d319dde3a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlBmWEAACgkQvFcC4BYPU0pnbwCeLIgtOFSRMX4e3NM6t9lIvrwL
-qQkAnRho8jM9VBEd47QbBCleZY/UieRD
-=mNQ0
+iEYEAREIAAYFAlBmWewACgkQvFcC4BYPU0peHACgzEAMNTcB109N43/2k+ThmLfN
+X60An0HluJh+1Ylpoh4q7m/4usbuCXM1
+=e4Dn
-----END PGP SIGNATURE-----
diff --git a/media-video/ffmpeg/ffmpeg-1.0.ebuild b/media-video/ffmpeg/ffmpeg-1.0.ebuild
new file mode 100644
index 000000000000..a586d399724f
--- /dev/null
+++ b/media-video/ffmpeg/ffmpeg-1.0.ebuild
@@ -0,0 +1,298 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-1.0.ebuild,v 1.1 2012/09/29 02:16:06 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 ~x86-linux"
+fi
+IUSE="
+ aac aacplus alsa amr avresample bindist bluray +bzip2 cdio celt
+ cpudetection debug doc +encode faac flite fontconfig frei0r gnutls gsm
+ +hardcoded-tables iec61883 ieee1394 jack jpeg2k libass libcaca 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 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 )
+ bluray? ( media-libs/libbluray )
+ bzip2? ( app-arch/bzip2 )
+ cdio? ( dev-libs/libcdio )
+ 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 )
+ 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 )
+ 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 zlib )"
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+ if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
+ export revision=git-N-${FFMPEG_REVISION}
+ 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} --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"
+ 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
+ # 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
+ 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"
+
+ # 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
+
+ # 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
+
+ # avresample support for libav compatibility
+ use avresample && myconf="${myconf} --enable-avresample"
+
+ # 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
+}