Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45018 - mplayer 1.0_pre3 ebuild has a hard dependancy on divx4linux
Summary: mplayer 1.0_pre3 ebuild has a hard dependancy on divx4linux
Status: RESOLVED DUPLICATE of bug 30242
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 18964
Blocks:
  Show dependency tree
 
Reported: 2004-03-18 06:24 UTC by Duncan Coutts (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Coutts (RETIRED) gentoo-dev 2004-03-18 06:24:23 UTC
mplayer-1.0_pre3-r1.ebuild has a hard dependancy on divx4linux (at least on x86), while mplayer itself has no such hard dependancy, divx4linux support is optional.

It's rather annoying since the latest version of mplayer requires a newer version of divx4linux which in turn requires libcompat (5.01 was presumably statically linked while 5.05 is dynamically linked against the glibc c++ support lib).
I really can't be bothered to install libcompat. Besides, I'd rather not install too much binary-only proprietary-ware.

So, here's a patch for the ebuild which adds a divx USE flag and if it's not set, passes --disable-divx4linux to ./configure

Comments?

--- /usr/portage/media-video/mplayer/mplayer-1.0_pre3-r1.ebuild	2004-03-18 02:45:33.250152504 +0000
+++ /usr/local/portage/media-video/mplayer/mplayer-1.0_pre3-r1.ebuild	2004-03-18 02:28:09.829776512 +0000
@@ -3,5 +3,5 @@
 # $Header: /home/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre3-r1.ebuild,v 1.2 2004/03/17 22:39:07 mholzer Exp $
 
-IUSE="dga oss xmms jpeg 3dfx sse matrox sdl X svga ggi oggvorbis 3dnow aalib gnome xv opengl truetype dvd gtk gif esd fbcon encode alsa directfb arts dvb gtk2 samba lirc matroska debug joystick"
+IUSE="dga oss xmms jpeg 3dfx sse matrox sdl X svga ggi oggvorbis 3dnow aalib gnome xv opengl truetype dvd gtk gif esd fbcon encode alsa directfb arts dvb gtk2 samba lirc matroska debug joystick divx"
 
 inherit eutils
@@ -27,5 +27,5 @@
 	amd64? ( >=media-libs/xvid-0.9.0 )
 	x86? ( >=media-libs/xvid-0.9.0
-	       >=media-libs/divx4linux-20030428
+	       divx? ( >=media-libs/divx4linux-20030428 )
 	       >=media-libs/win32codecs-0.60 )
 	gtk? ( media-libs/libpng
@@ -219,4 +219,7 @@
 	# functional anyhow, and will be removed.
 
+	use divx \
+		|| myconf="$(myconf) --disable-divx4linux"
+
 	use xmms \
 		&& myconf="${myconf} --enable-xmms"

Reproducible: Always
Steps to Reproduce:
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-05-01 08:52:02 UTC
dup of bug 30242.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-11 10:27:21 UTC

*** This bug has been marked as a duplicate of 30242 ***