pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libmatemixer Enable OSS backend where available.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b81731e683dd
branches:  trunk
changeset: 367017:b81731e683dd
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Mon Aug 21 23:54:50 2017 +0000

description:
Enable OSS backend where available.

diffstat:

 audio/libmatemixer/Makefile |  11 ++++++++++-
 audio/libmatemixer/PLIST    |   3 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r b1f0909df481 -r b81731e683dd audio/libmatemixer/Makefile
--- a/audio/libmatemixer/Makefile       Mon Aug 21 23:26:25 2017 +0000
+++ b/audio/libmatemixer/Makefile       Mon Aug 21 23:54:50 2017 +0000
@@ -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 -r b1f0909df481 -r b81731e683dd audio/libmatemixer/PLIST
--- a/audio/libmatemixer/PLIST  Mon Aug 21 23:26:25 2017 +0000
+++ b/audio/libmatemixer/PLIST  Mon Aug 21 23:54:50 2017 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index