Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24519 - xine-lib requires libsdl with USE="-sdl"
Summary: xine-lib requires libsdl with USE="-sdl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 05:48 UTC by jim_jim33
Modified: 2003-08-18 11:03 UTC (History)
2 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 jim_jim33 2003-07-15 05:48:13 UTC
xine-lib-1_beta12-r1 requires libsdl without paying attention to use flags.  i 
am able to compile xine-lib fine by deleting that dependancy, so i do not think 
it should be forced when USE="-sdl" is in use.

Reproducible: Always
Steps to Reproduce:
Comment 1 aethyr 2003-08-16 04:16:41 UTC
I just managed to compile xine-lib-1_rc0-r2.ebuild without sdl either by passing '--with-sdl-prefix=/null' to the configure program in the ebuild.

This can be implemented like this:

--- xine-lib-1_rc0-r2.ebuild	2003-08-13 10:38:26.000000000 -0400
+++ xine-lib-1_rc0-r2.ebuild_new	2003-08-16 07:14:14.000000000 -0400
@@ -41,10 +41,13 @@
 	gnome? ( >=gnome-base/gnome-vfs-2.0 
 			dev-util/pkgconfig )
 	>=media-libs/flac-1.0.4
-	>=media-libs/libsdl-1.1.5
+	sdl? ( >=media-libs/libsdl-1.1.5 )
 	>=media-libs/libfame-0.9.0
 	>=media-libs/xvid-0.9.0
 	media-libs/speex"
+
+
+
 RDEPEND="${DEPEND}
 	nls? ( sys-devel/gettext )"
 
@@ -83,6 +86,9 @@
 		&& myconf="${myconf} --with-w32-path=/usr/lib/win32" \
 		|| myconf="${myconf} --disable-asf"
 
+	use sdl \
+		|| myconf="${myconf} --with-sdl-prefix=/null" # disable sdl check
+
 	einfo "myconf: ${myconf}"
 
 	# Very specific optimization is set by configure
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2003-08-18 11:03:03 UTC
Fixed in 1_rc0-r3.  Thanks for the patch, aethyr.