summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-07-16 09:10:20 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-07-16 09:10:30 +0200
commitcd6934d84b1900ddb5bd02bd4ec2c13060be7449 (patch)
treec2ef9bb1166ec34d0e18c9177e5bf7a051f6221d /media-sound/jack2
parentmedia-plugins/x42-plugins: bump to 20210714 (diff)
downloadgentoo-cd6934d84b1900ddb5bd02bd4ec2c13060be7449.tar.gz
gentoo-cd6934d84b1900ddb5bd02bd4ec2c13060be7449.tar.bz2
gentoo-cd6934d84b1900ddb5bd02bd4ec2c13060be7449.zip
media-sound/jack2: bump to 1.9.19
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/jack2')
-rw-r--r--media-sound/jack2/Manifest1
-rw-r--r--media-sound/jack2/jack2-1.9.19.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/media-sound/jack2/Manifest b/media-sound/jack2/Manifest
index b912e379af15..6efd9c3eadfd 100644
--- a/media-sound/jack2/Manifest
+++ b/media-sound/jack2/Manifest
@@ -1 +1,2 @@
DIST jack2-1.9.18.tar.gz 987166 BLAKE2B e1684d50c26ce45b36133b5e9632e916cd5bdf2a2ffba9257d7d6018d9fab8ade87f2de4c837d3cc3cb37bdda296fbcd8c2da6468676a3a4c74563fb42397879 SHA512 7b9116b8002db88d9df746acf99e523cf9103c1a7955e8174912c8538b2c53bc8e7c34a64d0df4dc1f212e35035392814fdfcfe78597e26bd08ec028876bcb98
+DIST jack2-1.9.19.tar.gz 988780 BLAKE2B 37536e23f97ea8a3bf62fe77e35a4a40c5d88cea1197a2f72c4ab31cbbc689fcf99a1d51bb0ee96122c618464eefe1ca8479dc53ab7de9e6570cb4009cf2a7a1 SHA512 d8d5fe17e2984959546af3c53f044aa4648860e19ff8ffd54452e87fa6cdfd111f825c57e3df17cb8ed95de8392b6f354b12ded41e3e021a37f07b99a89ba18d
diff --git a/media-sound/jack2/jack2-1.9.19.ebuild b/media-sound/jack2/jack2-1.9.19.ebuild
new file mode 100644
index 000000000000..a696ea21763c
--- /dev/null
+++ b/media-sound/jack2/jack2-1.9.19.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+PYTHON_REQ_USE="threads(+)"
+inherit python-single-r1 waf-utils multilib-minimal
+
+DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
+HOMEPAGE="https://jackaudio.org/"
+
+if [[ "${PV}" = "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jackaudio/${PN}.git"
+else
+ MY_PV="${PV/_rc/-RC}"
+ MY_P="${PN}-${MY_PV}"
+ S="${WORKDIR}/${MY_P}"
+ SRC_URI="https://github.com/jackaudio/jack2/archive/v${MY_PV}/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="2"
+IUSE="alsa +classic dbus doc ieee1394 libsamplerate metadata opus pam readline sndfile"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ || ( classic dbus )"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+DEPEND="${PYTHON_DEPS}
+ media-libs/libsamplerate
+ media-libs/libsndfile
+ sys-libs/readline:0=
+ alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+ dbus? (
+ dev-libs/expat[${MULTILIB_USEDEP}]
+ sys-apps/dbus[${MULTILIB_USEDEP}]
+ )
+ ieee1394? ( media-libs/libffado:=[${MULTILIB_USEDEP}] )
+ metadata? ( sys-libs/db:* )
+ opus? ( media-libs/opus[custom-modes,${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+ dbus? (
+ $(python_gen_cond_dep '
+ dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ pam? ( sys-auth/realtime-base )
+ !media-sound/jack-audio-connection-kit:0"
+
+DOCS=( AUTHORS.rst ChangeLog.rst README.rst README_NETJACK2 )
+
+src_prepare() {
+ default
+ python_fix_shebang waf
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local mywafconfargs=(
+ --htmldir=/usr/share/doc/${PF}/html
+ $(usex dbus --dbus "")
+ $(usex classic --classic "")
+ --alsa=$(usex alsa yes no)
+ --celt=no
+ --db=$(usex metadata yes no)
+ --doxygen=$(multilib_native_usex doc yes no)
+ --firewire=$(usex ieee1394 yes no)
+ --iio=no
+ --opus=$(usex opus yes no)
+ --portaudio=no
+ --readline=$(multilib_native_usex readline yes no)
+ --samplerate=$(multilib_native_usex libsamplerate yes no)
+ --sndfile=$(multilib_native_usex sndfile yes no)
+ --winmme=no
+ )
+
+ waf-utils_src_configure ${mywafconfargs[@]}
+}
+
+multilib_src_compile() {
+ WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_compile
+}
+
+multilib_src_install() {
+ WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_install
+}
+
+multilib_src_install_all() {
+ python_fix_shebang "${ED}"
+}