<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>204904</bug_id>
          
          <creation_ts>2008-01-08 14:00 0000</creation_ts>
          <short_desc>media-video/xine-ui-0.99.5 ebuild doesn&apos;t correctly enable/disable libcaca</short_desc>
          <delta_ts>2008-01-08 22:21:06 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2005.1</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>md401@srcf.ucam.org</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>md401@srcf.ucam.org</who>
            <bug_when>2008-01-08 14:00:11 0000</bug_when>
            <thetext>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 \</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-01-08 22:21:06 0000</bug_when>
            <thetext>applied, thanks for spotting it &amp; the fix</thetext>
          </long_desc>
      
    </bug>

</bugzilla>