Subject: pkg/21775: add arts support to mplayer
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/04/2003 01:06:03
>Number:         21775
>Category:       pkg
>Synopsis:       add arts support to mplayer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 03 23:07:00 UTC 2003
>Originator:     Marc Recht
>Release:        NetBSD 1.6T
System: NetBSD 1.6T NetBSD 1.6T (LEELOO) #0: Tue Jun 3 13:40:37 CEST 2003 i386
Architecture: i386
Machine: i386
Add a makefile knob (USE_ARTS) to make mplayer work with arts.
This is needed in a KDE environment.
Index: Makefile.common
RCS file: /cvsroot/pkgsrc/graphics/mplayer-share/Makefile.common,v
retrieving revision 1.32
diff -u -r1.32 Makefile.common
--- Makefile.common     2003/05/24 17:27:10     1.32
+++ Makefile.common     2003/06/03 23:01:12
@@ -38,7 +38,6 @@
 CONFIGURE_ARGS+=       --with-extralibdir="${X11BASE}/lib"
 CONFIGURE_ARGS+=       --disable-mpdvdkit
 CONFIGURE_ARGS+=       --enable-faad
-CONFIGURE_ARGS+=       --disable-arts

 # The configure script attempts to test-execute compiled programs in /tmp,
 # but that directory may be mounted as noexec; work this around by setting
@@ -46,6 +45,12 @@
 CONFIGURE_ENV+=                TMPDIR=${WRKDIR}

 .include "../../mk/"
+.if defined(USE_ARTS) && !empty(USE_ARTS:M[Yy][Ee][Ss])
+.include "../../audio/arts/"
+CONFIGURE_ARGS+=       --disable-arts

 .if ${MACHINE_ARCH} == "i386"
 CONFIGURE_ARGS+=       --with-win32libdir="${LOCALBASE}/lib/win32"