summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2017-08-21 23:54:50 +0000
committerjmcneill <jmcneill@pkgsrc.org>2017-08-21 23:54:50 +0000
commita69c64ab6ff4389252f16d8ea1446cc45f3abc12 (patch)
tree34fa145f27902beb48a48bf55271662f5c6ed653 /audio
parent61c589ddd8f46f9456b61f4d2c988f75d9994b40 (diff)
downloadpkgsrc-a69c64ab6ff4389252f16d8ea1446cc45f3abc12.tar.gz
Enable OSS backend where available.
Diffstat (limited to 'audio')
-rw-r--r--audio/libmatemixer/Makefile11
-rw-r--r--audio/libmatemixer/PLIST3
2 files changed, 12 insertions, 2 deletions
diff --git a/audio/libmatemixer/Makefile b/audio/libmatemixer/Makefile
index 27ce55061c8..aad4d5d1323 100644
--- a/audio/libmatemixer/Makefile
+++ b/audio/libmatemixer/Makefile
@@ -1,10 +1,19 @@
-# $NetBSD: Makefile,v 1.5 2017/06/23 20:39:14 youri Exp $
+# $NetBSD: Makefile,v 1.6 2017/08/21 23:54:50 jmcneill Exp $
.include "../../meta-pkgs/mate/Makefile.common"
DISTNAME= libmatemixer-${VERSION}
+PKGREVISION= 1
CATEGORIES= audio
COMMENT= MATE audio mixer
+.include "../../mk/oss.buildlink3.mk"
+
+PLIST_VARS+= oss
+.if ${OSS_TYPE} != "none"
+CONFIGURE_ARGS+= --enable-oss
+PLIST.oss= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libmatemixer/PLIST b/audio/libmatemixer/PLIST
index 9540be3dc72..7bb5617635c 100644
--- a/audio/libmatemixer/PLIST
+++ b/audio/libmatemixer/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/06/23 20:39:14 youri Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/08/21 23:54:50 jmcneill Exp $
include/mate-mixer/libmatemixer/matemixer-app-info.h
include/mate-mixer/libmatemixer/matemixer-context.h
include/mate-mixer/libmatemixer/matemixer-device-switch.h
@@ -17,6 +17,7 @@ include/mate-mixer/libmatemixer/matemixer-version.h
include/mate-mixer/libmatemixer/matemixer.h
lib/libmatemixer.la
lib/libmatemixer/libmatemixer-null.la
+${PLIST.oss}lib/libmatemixer/libmatemixer-oss.la
lib/pkgconfig/libmatemixer.pc
share/gtk-doc/html/libmatemixer/MateMixerAppInfo.html
share/gtk-doc/html/libmatemixer/MateMixerContext.html