pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/terminatorx



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Oct  5 15:52:43 UTC 2019

Modified Files:
        pkgsrc/audio/terminatorx: Makefile
Added Files:
        pkgsrc/audio/terminatorx: options.mk

Log Message:
terminatorx: Add options file.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/audio/terminatorx/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/terminatorx/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/audio/terminatorx/Makefile
diff -u pkgsrc/audio/terminatorx/Makefile:1.56 pkgsrc/audio/terminatorx/Makefile:1.57
--- pkgsrc/audio/terminatorx/Makefile:1.56      Sat Oct  5 12:13:25 2019
+++ pkgsrc/audio/terminatorx/Makefile   Sat Oct  5 15:52:43 2019
@@ -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_FILES.prefix+=  src/tX_ladspa.cc
 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"

Added files:

Index: pkgsrc/audio/terminatorx/options.mk
diff -u /dev/null pkgsrc/audio/terminatorx/options.mk:1.1
--- /dev/null   Sat Oct  5 15:52:43 2019
+++ pkgsrc/audio/terminatorx/options.mk Sat Oct  5 15:52:43 2019
@@ -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