pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/mpg123 Use Core Audio by default on OS X, tested...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bec5dc7a9b45
branches:  trunk
changeset: 573184:bec5dc7a9b45
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Mar 14 15:46:05 2010 +0000

description:
Use Core Audio by default on OS X, tested on 10.6. From martin@.

diffstat:

 audio/mpg123/Makefile |  6 +++++-
 audio/mpg123/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r abd66e07b3ad -r bec5dc7a9b45 audio/mpg123/Makefile
--- a/audio/mpg123/Makefile     Sun Mar 14 15:03:34 2010 +0000
+++ b/audio/mpg123/Makefile     Sun Mar 14 15:46:05 2010 +0000
@@ -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 @@
 
 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 -r abd66e07b3ad -r bec5dc7a9b45 audio/mpg123/PLIST
--- a/audio/mpg123/PLIST        Sun Mar 14 15:03:34 2010 +0000
+++ b/audio/mpg123/PLIST        Sun Mar 14 15:46:05 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index