pkgsrc-WIP-changes archive

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

jack-example-tools: Add version 3



Module Name:	pkgsrc-wip
Committed By:	Frédéric Fauberteau <frederic%fauberteau.org@localhost>
Pushed By:	frederic
Date:		Mon Jan 16 08:40:43 2023 +0100
Changeset:	8e2f6fe0ca0102aa1d882121318bcabefc859245

Added Files:
	jack-example-tools/DESCR
	jack-example-tools/Makefile
	jack-example-tools/PLIST
	jack-example-tools/distinfo
	jack-example-tools/options.mk

Log Message:
jack-example-tools: Add version 3

The binary tools in audio/jack-1.9.21 are no more built by default
and require an configuration option. In the 'develop' branch of
https://github.com/jackaudio, the 'tools' directory has been
removed. Then this package should be necessary from the release
1.9.22 of audio/jack.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8e2f6fe0ca0102aa1d882121318bcabefc859245

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 jack-example-tools/DESCR      |  3 +++
 jack-example-tools/Makefile   | 28 ++++++++++++++++++++
 jack-example-tools/PLIST      | 60 +++++++++++++++++++++++++++++++++++++++++++
 jack-example-tools/distinfo   |  5 ++++
 jack-example-tools/options.mk | 23 +++++++++++++++++
 5 files changed, 119 insertions(+)

diffs:
diff --git a/jack-example-tools/DESCR b/jack-example-tools/DESCR
new file mode 100644
index 0000000000..c48b003320
--- /dev/null
+++ b/jack-example-tools/DESCR
@@ -0,0 +1,3 @@
+This package contains the official JACK example clients and tools. These tools
+was initially provided by audio/jack. But their code have been moved to a
+dedicated repository.
diff --git a/jack-example-tools/Makefile b/jack-example-tools/Makefile
new file mode 100644
index 0000000000..2b89362e26
--- /dev/null
+++ b/jack-example-tools/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	jack-example-tools
+GITHUB_TAG=	refs/tags/3
+DISTNAME=	3
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jackaudio/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	triaxx%NetBSD.org@localhost
+HOMEPAGE=	https://jackaudio.org/
+COMMENT=	JACK example clients and tools
+LICENSE=	gnu-gpl-v2
+
+CONFLICTS=	jack<=1.9.21
+
+.include "../../wip/jack-example-tools/options.mk"
+
+WRKSRC=		${WRKDIR}/jack-example-tools-3
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	pkg-config
+USE_CMAKE=	yes
+
+.include "../../audio/jack/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jack-example-tools/PLIST b/jack-example-tools/PLIST
new file mode 100644
index 0000000000..34f7a04297
--- /dev/null
+++ b/jack-example-tools/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD$
+bin/jack_alias
+bin/jack_bufsize
+bin/jack_connect
+bin/jack_control_client
+bin/jack_cpu_load
+bin/jack_disconnect
+bin/jack_evmon
+bin/jack_freewheel
+bin/jack_impulse_grabber
+bin/jack_iodelay
+bin/jack_latent_client
+bin/jack_load
+bin/jack_load_test
+bin/jack_lsp
+bin/jack_metro
+bin/jack_midi_dump
+bin/jack_midi_latency_test
+bin/jack_midiseq
+bin/jack_midisine
+bin/jack_monitor_client
+bin/jack_net_master
+bin/jack_net_slave
+bin/jack_netsource
+bin/jack_property
+bin/jack_rec
+bin/jack_samplerate
+bin/jack_server_control
+bin/jack_showtime
+bin/jack_simdtests
+bin/jack_simple_client
+bin/jack_thru_client
+bin/jack_transport
+bin/jack_transport_client
+bin/jack_tw
+bin/jack_unload
+bin/jack_wait
+bin/jack_zombie
+lib/jack/jack_inprocess.dylib
+lib/jack/jack_internal_metro.dylib
+lib/jack/jack_intime.dylib
+man/man1/jack_bufsize.1
+man/man1/jack_connect.1
+man/man1/jack_disconnect.1
+man/man1/jack_freewheel.1
+man/man1/jack_impulse_grabber.1
+man/man1/jack_iodelay.1
+man/man1/jack_load.1
+man/man1/jack_lsp.1
+man/man1/jack_metro.1
+man/man1/jack_monitor_client.1
+man/man1/jack_netsource.1
+man/man1/jack_property.1
+man/man1/jack_rec.1
+man/man1/jack_samplerate.1
+man/man1/jack_showtime.1
+man/man1/jack_simple_client.1
+man/man1/jack_transport.1
+man/man1/jack_unload.1
+man/man1/jack_wait.1
diff --git a/jack-example-tools/distinfo b/jack-example-tools/distinfo
new file mode 100644
index 0000000000..0b2d36032a
--- /dev/null
+++ b/jack-example-tools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (jack-example-tools/3.tar.gz) = c825e2d7961abdba50f4e8f43d9f392cdf06bb67b011c3335bd4495886e1a992
+SHA512 (jack-example-tools/3.tar.gz) = 2fe33c4fc294a4e4e2c0c271d5e2f28bac162939c25536902c772fcc919d2a0923fcefd27305f3fce283edfe043d2da7773b66988a1f14f8670d5cac90c8d7e9
+Size (jack-example-tools/3.tar.gz) = 125686 bytes
diff --git a/jack-example-tools/options.mk b/jack-example-tools/options.mk
new file mode 100644
index 0000000000..2a1042416e
--- /dev/null
+++ b/jack-example-tools/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.jack-example-tools
+
+PKG_SUPPORTED_OPTIONS=		alsa opus
+
+PLIST_VARS+=			${PKG_SUPPORTED_OPTIONS}
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Malsa)
+PLIST.alsa=	yes
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+MESON_ARGS+=	-Dalsa_in_out=disabled
+.endif
+
+.if !empty(PKG_OPTIONS:Mopus)
+PLIST.opus=	yes
+.include "../../audio/libopus/buildlink3.mk"
+.else
+MESON_ARGS+=	-Dopus_support=disabled
+.endif


Home | Main Index | Thread Index | Old Index