pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio audio: Enable JACK (where supported) for some "p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/949c191edae0
branches: trunk
changeset: 769351:949c191edae0
user: nia <nia%pkgsrc.org@localhost>
date: Sat Nov 13 10:48:03 2021 +0000
description:
audio: Enable JACK (where supported) for some "professional" tools
diffstat:
audio/amsynth/Makefile | 4 ++--
audio/amsynth/options.mk | 10 ++++++++--
audio/hydrogen/Makefile | 4 ++--
audio/hydrogen/options.mk | 8 +++++++-
audio/jack/platform.mk | 21 +++++++++++++++++++++
audio/lmms/Makefile | 4 ++--
audio/lmms/options.mk | 9 +++++++--
audio/musescore/Makefile | 4 ++--
audio/musescore/options.mk | 8 +++++++-
audio/zynaddsubfx/Makefile | 4 ++--
audio/zynaddsubfx/options.mk | 10 ++++++++--
11 files changed, 68 insertions(+), 18 deletions(-)
diffs (201 lines):
diff -r 9478d68feae9 -r 949c191edae0 audio/amsynth/Makefile
--- a/audio/amsynth/Makefile Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/amsynth/Makefile Sat Nov 13 10:48:03 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2021/09/08 21:04:53 nia Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/13 10:48:03 nia Exp $
DISTNAME= amsynth-1.12.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=amsynth/}
GITHUB_PROJECT= amsynth
diff -r 9478d68feae9 -r 949c191edae0 audio/amsynth/options.mk
--- a/audio/amsynth/options.mk Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/amsynth/options.mk Sat Nov 13 10:48:03 2021 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: options.mk,v 1.1 2020/04/11 10:56:54 nia Exp $
+# $NetBSD: options.mk,v 1.2 2021/11/13 10:48:03 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.amsynth
-PKG_SUPPORTED_OPTIONS= alsa jack
+PKG_SUPPORTED_OPTIONS= alsa
PKG_SUGGESTED_OPTIONS.Linux= alsa
+.include "../../audio/jack/platform.mk"
+.if ${PLATFORM_SUPPORTS_JACK:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+= jack
+PKG_SUGGESTED_OPTIONS+= jack
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
diff -r 9478d68feae9 -r 949c191edae0 audio/hydrogen/Makefile
--- a/audio/hydrogen/Makefile Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/hydrogen/Makefile Sat Nov 13 10:48:03 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.75 2021/09/29 19:00:18 adam Exp $
+# $NetBSD: Makefile,v 1.76 2021/11/13 10:48:03 nia Exp $
DISTNAME= hydrogen-1.0.2
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=hydrogen-music/}
GITHUB_PROJECT= Hydrogen
diff -r 9478d68feae9 -r 949c191edae0 audio/hydrogen/options.mk
--- a/audio/hydrogen/options.mk Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/hydrogen/options.mk Sat Nov 13 10:48:03 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2020/06/18 12:57:48 nia Exp $
+# $NetBSD: options.mk,v 1.3 2021/11/13 10:48:03 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hydrogen
@@ -6,6 +6,12 @@
PKG_SUGGESTED_OPTIONS.Linux= alsa
PKG_SUGGESTED_OPTIONS.*= portaudio
+.include "../../audio/jack/platform.mk"
+.if ${PLATFORM_SUPPORTS_JACK:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+= jack
+PKG_SUGGESTED_OPTIONS+= jack
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
diff -r 9478d68feae9 -r 949c191edae0 audio/jack/platform.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/jack/platform.mk Sat Nov 13 10:48:03 2021 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: platform.mk,v 1.1 2021/11/13 10:48:03 nia Exp $
+
+.if !defined(PLATFORM_SUPPORTS_JACK)
+. include "../../mk/bsd.fast.prefs.mk"
+
+JACK_PLATFORMS+= Darwin-*-*
+JACK_PLATFORMS+= Linux-*-*
+
+.if ${OPSYS} == "NetBSD" && empty(OPSYS_VERSION:M[5-8].*)
+PLATFORM_SUPPORTS_JACK= yes
+.endif
+
+. for _jack_platform in ${JACK_PLATFORMS}
+. if !empty(MACHINE_PLATFORM:M${_jack_platform})
+PLATFORM_SUPPORTS_JACK= yes
+. endif
+. endfor
+
+PLATFORM_SUPPORTS_JACK?= no
+
+.endif # !defined(PLATFORM_SUPPORTS_JACK)
diff -r 9478d68feae9 -r 949c191edae0 audio/lmms/Makefile
--- a/audio/lmms/Makefile Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/lmms/Makefile Sat Nov 13 10:48:03 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.76 2021/09/08 21:04:56 nia Exp $
+# $NetBSD: Makefile,v 1.77 2021/11/13 10:48:03 nia Exp $
DISTNAME= lmms_1.2.2
PKGNAME= ${DISTNAME:S/_/-/1}
-PKGREVISION= 12
+PKGREVISION= 13
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=LMMS/}
GITHUB_PROJECT= lmms
diff -r 9478d68feae9 -r 949c191edae0 audio/lmms/options.mk
--- a/audio/lmms/options.mk Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/lmms/options.mk Sat Nov 13 10:48:03 2021 +0000
@@ -1,11 +1,16 @@
-# $NetBSD: options.mk,v 1.5 2019/10/24 17:55:22 nia Exp $
+# $NetBSD: options.mk,v 1.6 2021/11/13 10:48:03 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lmms
PKG_SUPPORTED_OPTIONS+= alsa jack portaudio pulseaudio sdl
PKG_SUGGESTED_OPTIONS.Linux+= alsa
-.include "../../mk/bsd.fast.prefs.mk"
+.include "../../audio/jack/platform.mk"
+.if ${PLATFORM_SUPPORTS_JACK:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+= jack
+PKG_SUGGESTED_OPTIONS+= jack
+.endif
+
.include "../../mk/oss.buildlink3.mk"
.if ${OPSYS} != "Linux" && ${OSS_TYPE} == "none"
diff -r 9478d68feae9 -r 949c191edae0 audio/musescore/Makefile
--- a/audio/musescore/Makefile Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/musescore/Makefile Sat Nov 13 10:48:03 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2021/09/08 21:04:56 nia Exp $
+# $NetBSD: Makefile,v 1.26 2021/11/13 10:48:03 nia Exp $
DISTNAME= musescore-3.6.2
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=musescore/}
GITHUB_PROJECT= MuseScore
diff -r 9478d68feae9 -r 949c191edae0 audio/musescore/options.mk
--- a/audio/musescore/options.mk Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/musescore/options.mk Sat Nov 13 10:48:03 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2019/10/20 11:10:47 nia Exp $
+# $NetBSD: options.mk,v 1.3 2021/11/13 10:48:03 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.musescore
PKG_SUPPORTED_OPTIONS= alsa jack portaudio pulseaudio
@@ -11,6 +11,12 @@
PKG_SUGGESTED_OPTIONS= portaudio
.endif
+.include "../../audio/jack/platform.mk"
+.if ${PLATFORM_SUPPORTS_JACK:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+= jack
+PKG_SUGGESTED_OPTIONS+= jack
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
diff -r 9478d68feae9 -r 949c191edae0 audio/zynaddsubfx/Makefile
--- a/audio/zynaddsubfx/Makefile Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/zynaddsubfx/Makefile Sat Nov 13 10:48:03 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2021/09/08 21:04:58 nia Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/13 10:48:03 nia Exp $
DISTNAME= zynaddsubfx-3.0.5
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zynaddsubfx/}
EXTRACT_SUFX= .tar.bz2
diff -r 9478d68feae9 -r 949c191edae0 audio/zynaddsubfx/options.mk
--- a/audio/zynaddsubfx/options.mk Sat Nov 13 10:28:38 2021 +0000
+++ b/audio/zynaddsubfx/options.mk Sat Nov 13 10:48:03 2021 +0000
@@ -1,11 +1,17 @@
-# $NetBSD: options.mk,v 1.1 2020/10/30 15:47:01 nia Exp $
+# $NetBSD: options.mk,v 1.2 2021/11/13 10:48:03 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.zynaddsubfx
PKG_SUPPORTED_OPTIONS= alsa jack portaudio
-PKG_SUGGESTED_OPTIONS.Linux= alsa jack
+PKG_SUGGESTED_OPTIONS.Linux= alsa
.include "../../mk/oss.buildlink3.mk"
+.include "../../audio/jack/platform.mk"
+.if ${PLATFORM_SUPPORTS_JACK:tl} == "yes"
+PKG_SUPPORTED_OPTIONS+= jack
+PKG_SUGGESTED_OPTIONS+= jack
+.endif
+
.if ${OSS_TYPE} == "none" && ${OPSYS} != "Linux"
PKG_SUGGESTED_OPTIONS= portaudio
.endif
Home |
Main Index |
Thread Index |
Old Index