summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/cmus/Makefile4
-rw-r--r--audio/cmus/PLIST3
-rw-r--r--audio/cmus/distinfo8
-rw-r--r--audio/cmus/options.mk14
4 files changed, 20 insertions, 9 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index b72b688bb88..45f72e6cb96 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2010/03/02 23:06:43 ahoka Exp $
+# $NetBSD: Makefile,v 1.23 2010/03/16 16:46:22 ahoka Exp $
#
-DISTNAME= cmus-v2.3.0
+DISTNAME= cmus-v2.3.1
PKGNAME= ${DISTNAME:S/-v/-/}
CATEGORIES= audio
MASTER_SITES= http://downloads.sourceforge.net/project/cmus/
diff --git a/audio/cmus/PLIST b/audio/cmus/PLIST
index 0e190edbfdd..08a746dcabd 100644
--- a/audio/cmus/PLIST
+++ b/audio/cmus/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2010/03/01 02:58:26 ahoka Exp $
+@comment $NetBSD: PLIST,v 1.10 2010/03/16 16:46:22 ahoka Exp $
bin/cmus
bin/cmus-remote
${PLIST.flac}lib/cmus/ip/flac.so
@@ -12,6 +12,7 @@ ${PLIST.mpcdec}lib/cmus/ip/mpc.so
lib/cmus/ip/wav.so
${PLIST.wavpack}lib/cmus/ip/wavpack.so
${PLIST.arts}lib/cmus/op/arts.so
+${PLIST.pulseaudio}lib/cmus/op/pulse.so
${PLIST.libao}lib/cmus/op/ao.so
${PLIST.oss}lib/cmus/op/oss.so
${PLIST.sunaudio}lib/cmus/op/sun.so
diff --git a/audio/cmus/distinfo b/audio/cmus/distinfo
index 0c133789484..7a988034b18 100644
--- a/audio/cmus/distinfo
+++ b/audio/cmus/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2010/03/02 23:06:43 ahoka Exp $
+$NetBSD: distinfo,v 1.9 2010/03/16 16:46:22 ahoka Exp $
-SHA1 (cmus-v2.3.0.tar.bz2) = e4685336501efe16b41410bcaf33eab9412aa45b
-RMD160 (cmus-v2.3.0.tar.bz2) = 08020ac9f48f341d4f76df5afa646721f92c2516
-Size (cmus-v2.3.0.tar.bz2) = 166633 bytes
+SHA1 (cmus-v2.3.1.tar.bz2) = 015eab5da89a422e5d640a01f1e9af29acf1f669
+RMD160 (cmus-v2.3.1.tar.bz2) = 01c043355ede0cacf67a061bb32c39d82d80a114
+Size (cmus-v2.3.1.tar.bz2) = 166748 bytes
diff --git a/audio/cmus/options.mk b/audio/cmus/options.mk
index e408395304c..a54222ecb3e 100644
--- a/audio/cmus/options.mk
+++ b/audio/cmus/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.8 2010/03/01 02:58:26 ahoka Exp $
+# $NetBSD: options.mk,v 1.9 2010/03/16 16:46:22 ahoka Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cmus
-PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao mpcdec faad wavpack #alsa
+PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao mpcdec faad wavpack pulseaudio
PKG_SUPPORTED_OPTIONS+= wide-curses ffmpeg
PKG_OPTIONS_OPTIONAL_GROUPS= mod
PKG_OPTIONS_GROUP.mod= modplug mikmod
@@ -44,6 +44,16 @@ CONFIGURE_ARGS+= CONFIG_ARTS=n
#CONFIGURE_ARGS+= CONFIG_ALSA=y
#.endif
+# PULSE support
+#
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+. include "../../audio/pulseaudio/buildlink3.mk"
+CONFIGURE_ARGS+= CONFIG_PULSE=y
+PLIST.pulseaudio= yes
+.else
+CONFIGURE_ARGS+= CONFIG_PULSE=n
+.endif
+
###
### Codecs
###