pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
deadbeef: Add forgotten options.mk.
Module Name: pkgsrc-wip
Committed By: nia <nia%netbsd.org@localhost>
Pushed By: nee
Date: Mon Jul 15 00:31:01 2019 +0100
Changeset: 5592eb0de95e106268167b16ea072831ac781d47
Added Files:
deadbeef/options.mk
Log Message:
deadbeef: Add forgotten options.mk.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5592eb0de95e106268167b16ea072831ac781d47
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
deadbeef/options.mk | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diffs:
diff --git a/deadbeef/options.mk b/deadbeef/options.mk
new file mode 100644
index 0000000000..9e20bad2eb
--- /dev/null
+++ b/deadbeef/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.2 2019/06/17 08:08:31 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.deadbeef
+PKG_SUPPORTED_OPTIONS= alsa pulseaudio
+PKG_SUGGESTED_OPTIONS.Linux= alsa
+
+PLIST_VARS+= alsa pulse
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+PLIST.alsa= yes
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-alsa
+.endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+PLIST.pulse= yes
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pulse
+.endif
Home |
Main Index |
Thread Index |
Old Index