pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/SDL Enable pulseaudio driver, bump PKGREVISION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56853a83249c
branches:  trunk
changeset: 551636:56853a83249c
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Dec 18 16:53:01 2008 +0000

description:
Enable pulseaudio driver, bump PKGREVISION.

diffstat:

 devel/SDL/Makefile   |   4 ++--
 devel/SDL/options.mk |  13 ++++++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r c84836672ba7 -r 56853a83249c devel/SDL/Makefile
--- a/devel/SDL/Makefile        Thu Dec 18 16:46:29 2008 +0000
+++ b/devel/SDL/Makefile        Thu Dec 18 16:53:01 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2008/10/13 17:15:44 reinoud Exp $
+# $NetBSD: Makefile,v 1.84 2008/12/18 16:53:01 jmcneill Exp $
 
 DISTNAME=      SDL-1.2.13
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel games
 MASTER_SITES=  http://www.libsdl.org/release/
 
diff -r c84836672ba7 -r 56853a83249c devel/SDL/options.mk
--- a/devel/SDL/options.mk      Thu Dec 18 16:46:29 2008 +0000
+++ b/devel/SDL/options.mk      Thu Dec 18 16:53:01 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2006/06/15 09:45:05 adam Exp $
+# $NetBSD: options.mk,v 1.3 2008/12/18 16:53:01 jmcneill Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.SDL
-PKG_SUPPORTED_OPTIONS= aalib arts esound nas
-PKG_SUGGESTED_OPTIONS= aalib arts esound nas
+PKG_SUPPORTED_OPTIONS= aalib arts esound nas pulseaudio
+PKG_SUGGESTED_OPTIONS= aalib arts esound nas pulseaudio
 
 .include "../../mk/bsd.options.mk"
 
@@ -31,3 +31,10 @@
 .else
 CONFIGURE_ARGS+=       --disable-nas
 .endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+# for some reason --enable-pulseaudio disables the
+# configure check
+#CONFIGURE_ARGS+=      --enable-pulseaudio
+.include "../../audio/pulseaudio/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index