pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/timidity Enable vorbis, flac, and speex output e...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ca17b6c9072
branches: trunk
changeset: 505209:6ca17b6c9072
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sat Dec 31 20:41:41 2005 +0000
description:
Enable vorbis, flac, and speex output even for platforms without a native
audio driver specified, and bump PKGREVISION. OK'd by wiz.
diffstat:
audio/timidity/Makefile | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r f05c707352d0 -r 6ca17b6c9072 audio/timidity/Makefile
--- a/audio/timidity/Makefile Sat Dec 31 20:00:56 2005 +0000
+++ b/audio/timidity/Makefile Sat Dec 31 20:41:41 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.53 2005/12/05 23:55:02 rillig Exp $
+# $NetBSD: Makefile,v 1.54 2005/12/31 20:41:41 schmonz Exp $
DISTNAME= TiMidity++-2.13.2
PKGNAME= ${DISTNAME:S/TiMidity++/timidity/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=timidity/}
EXTRACT_SUFX= .tar.bz2
@@ -20,6 +20,7 @@
CONFIGURE_ARGS+= --with-ogg="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-vorbis="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-default-path=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --enable-audio=${TIMIDITY_NATIVE_AUDIO},vorbis,flac,speex
SUBST_CLASSES+= confdir
SUBST_MESSAGE.confdir= "Configuring to use PKG_SYSCONFDIR."
@@ -29,12 +30,14 @@
.include "../../mk/bsd.prefs.mk"
+TIMIDITY_NATIVE_AUDIO= # empty
+
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
-CONFIGURE_ARGS+= --enable-audio=sun,vorbis,flac,speex
-.endif
-
-.if ${OPSYS} == "Linux"
-CONFIGURE_ARGS+= --enable-audio=oss,vorbis,flac,speex
+TIMIDITY_NATIVE_AUDIO= sun
+.elif ${OPSYS} == "Linux"
+TIMIDITY_NATIVE_AUDIO= oss
+.elif ${OPSYS} == "Darwin"
+TIMIDITY_NATIVE_AUDIO= darwin
.endif
.include "../../audio/flac/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index