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

This commit is contained in:
schmonz 2010-03-14 15:46:05 +00:00
parent 14862201d7
commit ebad97eaf5
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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