[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

arts flavor for mplayer



Since pre5 mplayer supports playing through artsd natively. Tested on
i386-current with current KDE.

Got no response from maintainer.

-- 
Free your mind and your ass will follow -- http://www.funkaffair.de
diff -uNr --exclude CVS ./Makefile /usr/ports/x11/mplayer/Makefile
--- ./Makefile	Sat Jun 29 12:32:03 2002
+++ /usr/ports/x11/mplayer/Makefile	Sat Jun 29 12:30:36 2002
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.19 2002/06/10 03:18:35 wilfried Exp $
+# $OpenBSD: Makefile,v 1.20 2002/06/15 05:11:31 pvalchev Exp $
 
 # May not be hard to add more.
 ONLY_FOR_ARCHS=		i386 macppc sparc64
@@ -50,7 +50,6 @@
 		--disable-vorbis \
 		--disable-aa \
 		--disable-ossaudio \
-		--disable-arts \
 		--enable-select \
 		--enable-gl \
 		--enable-gui \
@@ -62,8 +61,15 @@
 CONFIGURE_ARGS+=--target=ppc-openbsd
 .endif
 
-FLAVORS=	sdl ggi debug mad win32 iconv
+FLAVORS=	sdl ggi debug mad win32 iconv arts
 FLAVOR?=
+
+.if ${FLAVOR:L:Marts}
+CONFIGURE_ARGS+=--enable-arts
+LIB_DEPENDS+=	artsc::x11/kde/arts3
+.else
+CONFIGURE_ARGS+=--disable-arts
+.endif
 
 .if ${FLAVOR:L:Msdl}
 CONFIGURE_ARGS+=--enable-sdl \

Visit your host, monkey.org