summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-10-16 12:47:20 +0000
committernia <nia@pkgsrc.org>2019-10-16 12:47:20 +0000
commit0ce880ab7a6d60450eb2f2e3290408fcae1db1a3 (patch)
treed1f25c91249d40a3edce6cac74ca793d9b2db398 /audio
parent4ed389fb03c6befc4f772ebccb6328039219a82a (diff)
downloadpkgsrc-0ce880ab7a6d60450eb2f2e3290408fcae1db1a3.tar.gz
buzztrax: Make the alsa option work.
Diffstat (limited to 'audio')
-rw-r--r--audio/buzztrax/Makefile5
-rw-r--r--audio/buzztrax/PLIST.alsa3
-rw-r--r--audio/buzztrax/options.mk3
3 files changed, 9 insertions, 2 deletions
diff --git a/audio/buzztrax/Makefile b/audio/buzztrax/Makefile
index 0ce546620b4..fd5b7eb05b5 100644
--- a/audio/buzztrax/Makefile
+++ b/audio/buzztrax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/10/16 11:19:30 nia Exp $
+# $NetBSD: Makefile,v 1.3 2019/10/16 12:47:20 nia Exp $
DISTNAME= buzztrax-0.10.2
CATEGORIES= audio
@@ -25,10 +25,13 @@ USE_TOOLS+= gmake
# GLib-GIO-ERROR **: Settings schema 'org.buzztrax' is not installed
MAKE_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+PLIST_SRC+= PLIST
+
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --disable-schemas-compile
+.include "options.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../graphics/clutter-gtk/buildlink3.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
diff --git a/audio/buzztrax/PLIST.alsa b/audio/buzztrax/PLIST.alsa
new file mode 100644
index 00000000000..5e45f3f7645
--- /dev/null
+++ b/audio/buzztrax/PLIST.alsa
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.alsa,v 1.1 2019/10/16 12:47:20 nia Exp $
+include/libbuzztrax-ic/aseq-device.h
+include/libbuzztrax-ic/aseq-discoverer.h
diff --git a/audio/buzztrax/options.mk b/audio/buzztrax/options.mk
index 0a05737e7f8..5c3aa1a5938 100644
--- a/audio/buzztrax/options.mk
+++ b/audio/buzztrax/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2019/10/16 11:18:11 nia Exp $
+# $NetBSD: options.mk,v 1.2 2019/10/16 12:47:20 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.buzztrax
PKG_SUPPORTED_OPTIONS= alsa
@@ -7,5 +7,6 @@ PKG_SUGGESTED_OPTIONS.Linux= alsa
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
+PLIST_SRC+= PLIST.alsa
.include "../../audio/alsa-lib/buildlink3.mk"
.endif