summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2010-03-14 15:46:05 +0000
committerschmonz <schmonz@pkgsrc.org>2010-03-14 15:46:05 +0000
commiteef5974277d18f96df30ed9fa4378d207d53aef6 (patch)
treebf213a3879341a52f404f6789aa92f56e7350129 /audio
parent0da9ce2c2951d488972e264ca2a5d9727f9ad773 (diff)
downloadpkgsrc-eef5974277d18f96df30ed9fa4378d207d53aef6.tar.gz
Use Core Audio by default on OS X, tested on 10.6. From martin@.
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123/Makefile6
-rw-r--r--audio/mpg123/PLIST3
2 files changed, 7 insertions, 2 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 5c9540aaa50..e38111cbcb8 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2010/03/14 14:19:19 martin Exp $
+# $NetBSD: Makefile,v 1.45 2010/03/14 15:46:05 schmonz Exp $
PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//}
COMMENT= MPEG layer 1, 2, and 3 audio player
@@ -17,11 +17,15 @@ MPG123_BUILDING_BASE= # empty
PLIST_VARS+= oss
PLIST_VARS+= sun
+PLIST_VARS+= coreaudio
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \
|| ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly"
MPG123_DEFAULT_MODULE= sun
PLIST.sun = yes
+.elif ${OPSYS} == "Darwin"
+MPG123_DEFAULT_MODULE= coreaudio
+PLIST.coreaudio = yes
.else
MPG123_DEFAULT_MODULE= oss
PLIST.oss = yes
diff --git a/audio/mpg123/PLIST b/audio/mpg123/PLIST
index bad9fe10494..5987e8875fa 100644
--- a/audio/mpg123/PLIST
+++ b/audio/mpg123/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2010/03/14 14:19:19 martin Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/03/14 15:46:05 schmonz Exp $
bin/mpg123
include/mpg123.h
lib/libmpg123.la
lib/pkgconfig/libmpg123.pc
man/man1/mpg123.1
+${PLIST.coreaudio}lib/mpg123/output_coreaudio.la
${PLIST.sun}lib/mpg123/output_sun.la
${PLIST.oss}lib/mpg123/output_oss.la