pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/kmix
Module Name: pkgsrc
Committed By: mrg
Date: Mon Oct 25 03:55:29 UTC 2021
Modified Files:
pkgsrc/multimedia/kmix: Makefile
Added Files:
pkgsrc/multimedia/kmix: options.mk
Log Message:
introduce options framework for kmix and use it to support disabling
the pulseaudio dependency, still enabled by default.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 pkgsrc/multimedia/kmix/Makefile
cvs rdiff -u -r0 -r1.3 pkgsrc/multimedia/kmix/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/kmix/Makefile
diff -u pkgsrc/multimedia/kmix/Makefile:1.73 pkgsrc/multimedia/kmix/Makefile:1.74
--- pkgsrc/multimedia/kmix/Makefile:1.73 Wed Sep 1 11:14:47 2021
+++ pkgsrc/multimedia/kmix/Makefile Mon Oct 25 03:55:29 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2021/09/01 11:14:47 markd Exp $
+# $NetBSD: Makefile,v 1.74 2021/10/25 03:55:29 mrg Exp $
DISTNAME= kmix-${KAPPSVER}
CATEGORIES= multimedia
@@ -35,9 +35,10 @@ SUBST_FILES.fix-moc+= _KDE_build/plasma/
SUBST_NOOP_OK.fix-moc= yes
SUBST_SED.fix-moc= -e 's;"${PREFIX}/include",;;g'
+.include "options.mk"
+
.include "../../audio/alsa-lib/buildlink3.mk"
.include "../../audio/libcanberra/buildlink3.mk"
-.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
Added files:
Index: pkgsrc/multimedia/kmix/options.mk
diff -u /dev/null pkgsrc/multimedia/kmix/options.mk:1.3
--- /dev/null Mon Oct 25 03:55:29 2021
+++ pkgsrc/multimedia/kmix/options.mk Mon Oct 25 03:55:29 2021
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.3 2021/10/25 03:55:29 mrg Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.kmix
+PKG_SUPPORTED_OPTIONS= pulseaudio
+PKG_SUGGESTED_OPTIONS= pulseaudio
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index