Bug 204904 - media-video/xine-ui-0.99.5 ebuild doesn't correctly enable/disable libcaca
Bug#: 204904 Product:  Gentoo Linux Version: 2005.1 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-video@gentoo.org Reported By: md401@srcf.ucam.org
Component: Ebuilds
URL: 
Summary: media-video/xine-ui-0.99.5 ebuild doesn't correctly enable/disable libcaca
Keywords:  
Status Whiteboard: 
Opened: 2008-01-08 14:00 0000
Description:   Opened: 2008-01-08 14:00 0000
Even if I have USE=-libcaca, xine-ui still attempts to build with caca support;
investigation revealed the ebuild was passing the wrong arguments to configure.

Reproducible: Always

Steps to Reproduce:
1. emerge media-libs/libcaca
2. Set USE=-libcaca
3. emerge media-video/xine-ui

Actual Results:  
xine-ui attempts to build the cacaxine frontend

Expected Results:  
xine-ui should build without the cacaxine frontend

Patch to fix:
--- /usr/portage/media-video/xine-ui/xine-ui-0.99.5.ebuild      2008-01-02
12:06:25.000000000 +0000
+++ /usr/local/portage/media-video/xine-ui/xine-ui-0.99.5.ebuild       
2008-01-08 13:49:37.000000000 +0000
@@ -67,7 +67,7 @@
                $(use_enable debug) \
                $(use_with X x) \
                $(use_with aalib) \
-               $(use_with libcaca) \
+               $(use_with libcaca caca) \
                $(use_with curl) \
                $(use_with readline) \
                --without-ncurses \

------- Comment #1 From Alexis Ballier 2008-01-08 22:21:06 0000 -------
applied, thanks for spotting it & the fix