pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/terminatorx terminatorx: Add options file.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0d73e3e55aaa
branches: trunk
changeset: 340648:0d73e3e55aaa
user: nia <nia%pkgsrc.org@localhost>
date: Sat Oct 05 15:52:43 2019 +0000
description:
terminatorx: Add options file.
diffstat:
audio/terminatorx/Makefile | 3 ++-
audio/terminatorx/options.mk | 28 ++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 7b01790cc294 -r 0d73e3e55aaa audio/terminatorx/Makefile
--- a/audio/terminatorx/Makefile Sat Oct 05 14:59:47 2019 +0000
+++ b/audio/terminatorx/Makefile Sat Oct 05 15:52:43 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2019/10/05 12:13:25 nia Exp $
+# $NetBSD: Makefile,v 1.57 2019/10/05 15:52:43 nia Exp $
DISTNAME= terminatorX-4.0.1
PKGNAME= ${DISTNAME:S/X/x/1}
@@ -42,6 +42,7 @@
SUBST_SED.prefix+= -e "s|/usr/lib/ladspa|${PREFIX}/lib/ladspa|g"
SUBST_SED.prefix+= -e "s|/usr/share/ladspa|${PREFIX}/share/ladspa|g"
+.include "options.mk"
.include "../../audio/ladspa/buildlink3.mk"
.include "../../audio/libaudiofile/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
diff -r 7b01790cc294 -r 0d73e3e55aaa audio/terminatorx/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/terminatorx/options.mk Sat Oct 05 15:52:43 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1 2019/10/05 15:52:43 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.terminatorx
+PKG_SUPPORTED_OPTIONS= alsa jack pulseaudio
+PKG_SUGGESTED_OPTIONS.Linux= alsa
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+= --enable-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-alsa
+.endif
+
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+= --enable-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-jack
+.endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+= --enable-pulse
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pulse
+.endif
Home |
Main Index |
Thread Index |
Old Index