diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-01-23 11:44:48 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-01-23 11:44:48 +0000 |
commit | 3f3226765868022bb81e29c06382d4a619faf1ac (patch) | |
tree | 87f0e0a3e851dc3c00581b03a248897239f5bca1 /media-video/ffmpeg | |
parent | Update HOMEPAGE, wrt bug #453648. Thanks to Guido Winkelmann for discovering ... (diff) | |
download | historical-3f3226765868022bb81e29c06382d4a619faf1ac.tar.gz historical-3f3226765868022bb81e29c06382d4a619faf1ac.tar.bz2 historical-3f3226765868022bb81e29c06382d4a619faf1ac.zip |
version bump
Package-Manager: portage-2.2.0_alpha159/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r-- | media-video/ffmpeg/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/ffmpeg/Manifest | 10 | ||||
-rw-r--r-- | media-video/ffmpeg/ffmpeg-1.1.1.ebuild | 302 |
3 files changed, 314 insertions, 5 deletions
diff --git a/media-video/ffmpeg/ChangeLog b/media-video/ffmpeg/ChangeLog index 749b38210b57..a678dfeb38fe 100644 --- a/media-video/ffmpeg/ChangeLog +++ b/media-video/ffmpeg/ChangeLog @@ -1,6 +1,11 @@ # 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.595 2013/01/17 14:12:14 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.596 2013/01/23 11:44:40 aballier Exp $ + +*ffmpeg-1.1.1 (23 Jan 2013) + + 23 Jan 2013; Alexis Ballier <aballier@gentoo.org> +ffmpeg-1.1.1.ebuild: + version bump 17 Jan 2013; Alexis Ballier <aballier@gentoo.org> metadata.xml: Describe what the bindist useflag does here. diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest index cc4480ff0ad2..77efa9f0d87a 100644 --- a/media-video/ffmpeg/Manifest +++ b/media-video/ffmpeg/Manifest @@ -6,18 +6,20 @@ AUX freiordl.patch 611 SHA256 4857bbf856e2014f41d89d0ed0744f7bb3277e5600a877f2b8 DIST ffmpeg-0.10.3.tar.bz2 5855494 SHA256 7d1ca0abc80e2f6161e2a48878b62a2e6d0301c231f91e7677b889ef048b931f SHA512 41509b736b3158f3b77620bddee509c07d16d239feb881644a1cdbd97a0ea5e2a8cb469c47b2f19c03518dbed8388ab20684f095e023c97f1a6d0b4765f73e64 WHIRLPOOL 7cb9ebf16ec0ee4680876db86a4aa579819055451d546a7dfadf0b8b18c7930036d8670446c75ef2fa51c6ba2a1ed8e7dd1351459caf0023f72825900d901fb2 DIST ffmpeg-0.10.6.tar.bz2 5778721 SHA256 8c67c0be9dc568a857d5542247aa4e3c1c6538fa3643b47c9deb7ff004a97626 SHA512 f563bd8aa0daa982a7f63560b7c1ed5d630976aac2efb9b37031923d078bb7111fa96f7a05f241743eb0eafb071d439e90a87c9377cd6db70ad0df7599a0a0c8 WHIRLPOOL fef0f748276250e47e6ac30aad31f2a50ebb222aa989b48f82408eb9ab3cba77a07fecd9a67f05ae32dbe8fe95b65a6156cade2cd477e14c0d827087887cbc91 DIST ffmpeg-1.0.1.tar.bz2 6446587 SHA256 758840dcfc94eb7fd6263718d26408658a59422e5fb8ac4de8e7ecf0cbed6e76 SHA512 845699f1524eb2576acf043a285969f9b28d7eb81a88aecf84388bf9830507add29670384e6caaf6651e35e83698897dac2597503f256efee537d764723160d0 WHIRLPOOL 9ff2df542298ce24cd0796e4aeea328d4436ec5440ebcb0c5526d4aae52b8623d0f46b324c41887b3db3af9a3e884604fecdb873570c2b527d72be98e532d179 +DIST ffmpeg-1.1.1.tar.bz2 5808380 SHA256 32ce36c75a288471ca5ecc7660e200d415669c4cd149826d722fa856a1a57fad SHA512 c0f809e271772a0d00c77ff86f48568d4dde070439e0f68bd3513692595685bb2398a069c49dfc18b2293f5a8e16deb4fbba18a78ad8cd4f0267d82507aa2126 WHIRLPOOL f602a3122727308ab03cb425a42af21f65828194a88363d89e8f573adfcea5a8bfe6dbc79960322472e9f76b19cc7cb864e1ae83e979ab5abc0dabe9ed706673 DIST ffmpeg-1.1.tar.bz2 5808278 SHA256 12d4f6268fc181987a55eb4c444d8b9cffcdcc3a8e61ce9f7ce6969faffe410f SHA512 669501f1f6a35806d98c40f7e5375cbc3195b325fe2c77582d1bb772b2b4f4445a59c14827beb8d0f93f20db3a3e5dd5dba5fd9867e727c67c3ae97cd342bcb3 WHIRLPOOL 636c2fd01b59035d9cfddc74e7bd9d2ade47aefe4545d17ae8b0f867349cc82b70f3056e8d51f1d392f374f39689ad326ad9675b29c8d66ad7f29bc210af37a2 EBUILD ffmpeg-0.10.3.ebuild 8635 SHA256 7a93b57018947a7c57d3829c092aac4ee8e3b554c1116fd2fc41f4b4582bc7c3 SHA512 0a64ec7ef72af03d3997bc48191a4b8cf34ecc79d8cc4648a46e0ea303c38ba0bfe5877937328e7eec32950a6371288c7d4613eb14914bbe0f26f961cbda2d25 WHIRLPOOL 1e65a3790fa9c111c2266d5a2c5f6333ed3b37518dbd2a96d0ac7f6d969feb793430c7a79ee79de485d4c2e3d1b6da103936f22125ec87b061f319ab7bed4fc0 EBUILD ffmpeg-0.10.6.ebuild 8939 SHA256 d9bb2819b636920d559c7db27b2a7c94763528a2768b4b77d405504cbab9c122 SHA512 9aaee9ceda324977310e80303c1702e352942183dc13d2752746999b9d3c95b9651ea68836197284eeb7b98baa5c49ec88647258e1faef290d7464a7b8925b41 WHIRLPOOL 64f8d4de75e78993b9af6a6ed7b28d6a7774a9f7e8c00bf9dcc8a1e9a51df82a26d295d0e6edc375a5ba34d4b5b0dc97c0c57488a5d42d28b4fe44d7b414c059 EBUILD ffmpeg-1.0.1.ebuild 9393 SHA256 89ff559be06eec6f25d63ebadd5bf15b878e7759585c6399ff4d1dd0478e5354 SHA512 37fa42dab21dfafc1f5d89e1f561e8680c7fc7f163ea9f2a81a3d5113d8dda5d55437ab4ef6125ce70df927cfde85cda8c029a19ca29794a253df72b363b805c WHIRLPOOL a23647fc3ce9c5df82e5ead22d9492b83e92b673a1ab43394ad02776901b097ff9a6c930141e548ea4da1b035b3ab165bb7286a923afa40ca329ae8ead3743ed +EBUILD ffmpeg-1.1.1.ebuild 9312 SHA256 db859c1e84d08105f7f18817bbc763b7bb82ce5b66af05a609ffa514ba2cb347 SHA512 38f1478ac636d122cf857a9268b2227407470564b559057ee43743772d90ac080055481e1b7ed98d72a6bf9ddf750e797daacd0d42c86f838e539fdbd76cba1d WHIRLPOOL b9c80788ef777fc98b2351c9338d3535f812cf9f42e67ccec0e15495149af724d6738e6df3bdd5e36b40677a7e6a7fc28849945c264b778c1d317b71cb080969 EBUILD ffmpeg-1.1.ebuild 9566 SHA256 2bb2b3018bbb76dce2a3a4fff40966fd8f84a59dcaa1051df6865c86eb18bd38 SHA512 984516a84c270d6ec6f1462a0f23f77f8e73c38db104958505283ddf00159d916bdb78796a2eb453ef5dda5b573aaf0ff01b62289803e15b416fa755e8442223 WHIRLPOOL c297f526ea8395efdc18061dc8645975354769a77467a77e745a5c0d5327f9352540d488a5598501eab604e4803fe08036e5395759d47b332108301d83618329 EBUILD ffmpeg-9999.ebuild 9313 SHA256 165f0c58e531d6c578bbd52a3cb6354f83f49eba5c3d8ceed2b68769a12349d4 SHA512 8a64bb4d2401d2a9bbcb6e679a9de576ec9ca9e4989abce0fb7bcb9e00b95e674c32f57dfad907c27e6f9a7f081fcc389cc4798d0975e294c4ecd05e120ef219 WHIRLPOOL 213670b37d339a72b793825f584a7d5dd13cfe1eb7780f3c16645f4bd1c64f1fca495f53522d00292e440531624af87350d8fa243deeda4a2b28219cead4a032 -MISC ChangeLog 84177 SHA256 99e04179cceb05e80daf4b457c730ad41a18009505348e1174653108b6afb3a7 SHA512 f53b3c8026a5b8595fa1c6325ea64a4b2c20cd98442c0cbbfcc412cfc24e1eac082fc3f4193edda1d9a93b32da7bb6a49097fdf0c566c6d7d54d9b0ed1a6bf53 WHIRLPOOL 9b041ad6bfdce983be28dbaedc6ad0e665d0fc3b968372385228a07b5f30a088381c8de64b7a11e3b6a5dce4a1ee550521335eb304a23bf263d2774ba353347a +MISC ChangeLog 84296 SHA256 3589d96ec507018c0def655c039a5dbe17d1cdec30fc1b292674f8947fbdc9ec SHA512 20d1353dfa69f7bc0e9cd4a5006301d26f673cc530959ed23a7454e8319723aef83408ac5b5b5d627bad434bddab90178a3d7f9745b72f18d41731e37cddc0cd WHIRLPOOL 75bafacfe484d59b687436854e1698d88814ef8ea0c147ba0e65a4081e5418adcb96ec1d5c4803957bb1d885bc777fffbd86d8e135053a3b02765fb84d410f0b MISC metadata.xml 3635 SHA256 89039aac2113c4be46c76642a9ce0fc4d5047e74c19acca0e7e4b19bbc5d7ac1 SHA512 8ab0fd00c5b0eddd28e4c817a5cf3baded477fb22dec6fdff6e871442f92b7b68fa29eb80398e3c52cac5cfcc352e1fb848a6f46b19fc70d0822cc98cf6c1c03 WHIRLPOOL aa035a6597579cf2a212c28986aa4afbe52e3afe01617235801b3c842c8d6b1e7fcabda5beaa8971fb327c9bb475dfe189b95857def0573ad5181c8bec451493 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlD4BsAACgkQvFcC4BYPU0rSCwCfXl1FCEpk4I1KfCzGQwpB+dHg -JI4AoIBbQ8/dT0PuE3FuMM6YgSozSEp/ -=uEX+ +iEYEAREIAAYFAlD/zSoACgkQvFcC4BYPU0rbQQCfTHcRBgV0BbMpnbvCrz4KKw1I +zjgAnR50yu7+AfXuqK57pa8sD3ojjA9p +=np8x -----END PGP SIGNATURE----- diff --git a/media-video/ffmpeg/ffmpeg-1.1.1.ebuild b/media-video/ffmpeg/ffmpeg-1.1.1.ebuild new file mode 100644 index 000000000000..324b5c34d106 --- /dev/null +++ b/media-video/ffmpeg/ffmpeg-1.1.1.ebuild @@ -0,0 +1,302 @@ +# 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.1.ebuild,v 1.1 2013/01/23 11:44:40 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 examples faac fdk 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 ) + 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 ) + 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 +} + +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" + + # 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 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" \ + emake V=1 fate +} |