buzztrax: Make the alsa option work.

This commit is contained in:
nia 2019-10-16 12:47:20 +00:00
parent 95f21ed178
commit 9d04bc56c0
3 changed files with 9 additions and 2 deletions

View file

@ -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"

View file

@ -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

View file

@ -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