The attached patch applied over current ebuild: - fixes dependency for xvid as per bug #88879 - renames --disable-optimize to --disable-opts as the upstream param is renamed - rename dvd useflag into a52 useflag (as it enables a52 support which is not only dvd related) - splits oggvorbis useflag into ogg and vorbis (theora support, as commented, seems not to be present in the sources, also if the configure options are there) - renames dv useflag into ieee1394 as it was enabling firewire support, and this flag enables also other firewire support which uses libdc1394 and libraw1394 (added dependencies upon them) - adds zlib and dts useflags with their dependencies - it disables ffplay support when sdl useflag is disabled - it adds a network useflag to disable network support - it changes license from LGPL-2 o GPL-2, as it passes to ./configure the --enable-gpl option which reads: "allow use of gpl code, the resulting libav* and ffmpeg will be under gpl [default=no]" I haven't touched aac support but as it's now, it's disabled on alpha, also if faad2 is ~alpha, faac is not alpha keyworded at all. I've blocked a bug fixed by this patch, so that when this patch is merged that bug can be closed. HTH, Diego
Created attachment 56348 [details, diff] ffmpeg-0.4.9_p20050226-r3.patch
ffmpeg isn't in the right shape to be snapshotted and I'd prepare an ebuild for the current cvs once is stable enough for our purposes (including native theora support and hopefully native vorbis support)
I use this bug report, since I'm not sure this is a real bug... current ebuild (and previous -r2 release) contains this check: if has_pic || use !mmx; then myconf="${myconf} --disable-mmx" else myconf="${myconf} --enable-mmx" fi here has_pic is always true, even if I didn't set +pic flag, so mmx support is always disabled, while -r1 ebuild did a check with "if use pic || use !mmx; then", and mmx support was enabled. is there a reason for this change? and why has_pic is true?
KazeNoTani ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20050125-r1, 2.6.11-ck4 i686) ================================================================= System uname: 2.6.11-ck4 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 31 2005, 09:53:14)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="it_IT" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="it en_GB de fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowext X a52 aac acpi acpi4linux alsa apache2 audiofile avi berkdb bzip2 cdparanoia cdr crypt cups curl dbus divx4linux dlloader dts dv dvd dvdread eds emboss encode faac faad fbcon fbdev ffmpeg flac font-server foomaticdb fortran freetype gd gd-external gif glitz gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib innodb ithreads java javascript jce jpeg kdeenablefinal lcms libg++ libwww live lzw-tiff mad matroska mmap mmx mmxext mng motif mozilla mozsvg mp3 mpeg mysql ncurses network nls no-old-linux nomac nptl objc ogg oggvorbis opengl pam pdflib perl png ppds python qt quicktime radeon readline real rtc samba sdl slang sndfile spell sse ssl svg svga tcpd tetex tga theora threads tiff truetype truetype-fonts type1 type1-fonts uptimed usb userlocales videos vidix vorbis win32codecs wmf wxwindows xchatdccserver xml2 xmms xprint xv xvid yv12 zlib linguas_it linguas_en_GB linguas_de linguas_fr" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL
pic useflag is deprecated (see gentoo-dev mailing list), pic should be always enabled for shared libraries.
I've committed in the new -r4.