Something is broken with USE flags in latest totem ebuild, when using gstreamer backend. It tries to emerge gst-plugins-a52dec as a dependancy, even though USE flags are set to "-a52" (xemerge is an alias for 'ACCEPT_KEYWORDS="~x86" emerge'). # xemerge totem -pvt These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild U ] media-video/totem-1.0 [0.101] -a52 -debug +dvd +flac +gnome -lirc +mad +mpeg -ogg +oggvorbis +theora -xine 1,369 kB [ebuild N ] media-plugins/gst-plugins-mpeg2dec-0.8.8 0 kB [ebuild N ] media-plugins/gst-plugins-pango-0.8.8 0 kB [ebuild U ] media-plugins/gst-plugins-theora-0.8.8 [0.8.2] 0 kB [ebuild N ] media-plugins/gst-plugins-dvdread-0.8.8 0 kB [ebuild N ] media-libs/libdvdread-0.9.4-r1 -static 257 kB [ebuild N ] media-plugins/gst-plugins-a52dec-0.8.8 0 kB [ebuild N ] media-libs/a52dec-0.7.4-r3 -debug -djbfft When using xine-lib backend, everything seems to be fine. Reproducible: Always Steps to Reproduce: 1. Unmask totem-1.0 ebuild 2. Make sure that 'a52' USE flag is off 3. emerge totem Actual Results: pulls a52 related packages as a dependancy Expected Results: don't install unnecessary packages # emerge info Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#2, Oct 17 2004, 17:40:45)] dev-lang/python: 2.3.4 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-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.scarlet-internet.nl/pub/gentoo http://gentoo.zie.pg.gda.pl http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="pl_PL" LC_ALL="pl_PL" 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 X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dvd emboss encode esd flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang spell sqlite sse ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb xml xml2 xv zlib linguas_pl" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
totem has gst-plugins-a52dec as a dependancy if you have the "a52" _and/or_ the "dvd" use flags.
this is the intended behaviour, dvd often use ac3 audio which is handled by the a52 plugin.