public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/jack2/
Date: Fri,  4 Nov 2022 21:59:34 +0000 (UTC)	[thread overview]
Message-ID: <1667598878.1b008898d1f8eb2d6c3c4b9eee35f9b1f6237b77.ionen@gentoo> (raw)

commit:     1b008898d1f8eb2d6c3c4b9eee35f9b1f6237b77
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 03:11:59 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 21:54:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b008898

media-sound/jack2: sync live

Same as 1.9.21 minus dropping the now-missing tools options.

Closes: https://github.com/gentoo/gentoo/pull/28021
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-sound/jack2/jack2-9999.ebuild | 89 ++++++++++++++++++++-----------------
 1 file changed, 47 insertions(+), 42 deletions(-)

diff --git a/media-sound/jack2/jack2-9999.ebuild b/media-sound/jack2/jack2-9999.ebuild
index eb214ebbb404..49be304b89f7 100644
--- a/media-sound/jack2/jack2-9999.ebuild
+++ b/media-sound/jack2/jack2-9999.ebuild
@@ -1,97 +1,102 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..11} )
 PYTHON_REQ_USE="threads(+)"
-inherit python-single-r1 waf-utils multilib-minimal
+inherit flag-o-matic python-single-r1 waf-utils multilib-minimal
 
-DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
-HOMEPAGE="https://jackaudio.org/"
-
-if [[ "${PV}" = "9999" ]]; then
+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"
+	SRC_URI="https://github.com/jackaudio/jack2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 fi
 
-LICENSE="GPL-2"
-SLOT="2"
-IUSE="alsa +classic dbus doc ieee1394 libsamplerate metadata opus pam readline sndfile"
+DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
+HOMEPAGE="https://jackaudio.org/"
 
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="2"
+IUSE="+alsa +classic dbus doc ieee1394 libsamplerate metadata opus pam +tools"
 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=
+DEPEND="
 	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:* )
+	libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
+	ieee1394? ( media-libs/libffado[${MULTILIB_USEDEP}] )
+	metadata? ( sys-libs/db:=[${MULTILIB_USEDEP}] )
 	opus? ( media-libs/opus[custom-modes,${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}
+RDEPEND="
+	${DEPEND}
 	dbus? (
+		${PYTHON_DEPS}
 		$(python_gen_cond_dep '
 			dev-python/dbus-python[${PYTHON_USEDEP}]
 		')
 	)
 	pam? ( sys-auth/realtime-base )
-	!media-sound/jack-audio-connection-kit:0"
+	!media-sound/jack-audio-connection-kit
+	!media-video/pipewire[jack-sdk(-)]"
+BDEPEND="
+	${PYTHON_DEPS}
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )"
+# tools were formerly provided here, pull to maintain expectations
+PDEPEND="tools? ( media-sound/jack-example-tools )"
 
 DOCS=( AUTHORS.rst ChangeLog.rst README.rst README_NETJACK2 )
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.9.21-python3.11.patch
+)
+
 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)
+	# clients crash if built with lto
+	# https://github.com/jackaudio/jack2/issues/485
+	filter-lto
+
+	local wafargs=(
+		--alsa=$(usex alsa)
 		--celt=no
-		--db=$(usex metadata yes no)
-		--doxygen=$(multilib_native_usex doc yes no)
-		--firewire=$(usex ieee1394 yes no)
+		$(usev classic --classic)
+		--db=$(usex metadata)
+		$(usev dbus --dbus)
+		--doxygen=$(multilib_native_usex doc)
+		--firewire=$(usex ieee1394)
 		--iio=no
-		--opus=$(usex opus yes no)
+		--opus=$(usex opus)
 		--portaudio=no
-		--readline=$(multilib_native_usex readline yes no)
-		--samplerate=$(multilib_native_usex libsamplerate yes no)
-		--sndfile=$(multilib_native_usex sndfile yes no)
+		--samplerate=$(usex libsamplerate)
 		--winmme=no
 	)
 
-	waf-utils_src_configure ${mywafconfargs[@]}
+	waf-utils_src_configure "${wafargs[@]}"
 }
 
 multilib_src_compile() {
-	WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_compile
+	waf-utils_src_compile
 }
 
 multilib_src_install() {
-	WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_install
+	waf-utils_src_install
 }
 
 multilib_src_install_all() {
-	python_fix_shebang "${ED}"
+	use dbus && python_fix_shebang "${ED}"/usr/bin/jack_control
 }


             reply	other threads:[~2022-11-04 21:59 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04 21:59 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-03 12:31 [gentoo-commits] repo/gentoo:master commit in: media-sound/jack2/ Ionen Wolkens
2024-05-06  1:37 Ionen Wolkens
2023-11-24  9:31 Sam James
2023-09-12 17:14 Ionen Wolkens
2023-02-20 20:27 Arthur Zamarin
2023-02-19 16:38 Sam James
2023-02-19 12:55 Arthur Zamarin
2023-02-19 11:27 Arthur Zamarin
2023-02-19 11:27 Arthur Zamarin
2023-02-19 11:27 Arthur Zamarin
2023-02-02 16:19 Ionen Wolkens
2023-01-28 15:56 Ionen Wolkens
2022-12-02  7:41 Miroslav Šulc
2022-12-02  6:26 Arthur Zamarin
2022-12-02  6:03 Sam James
2022-12-02  5:58 Sam James
2022-12-02  5:53 Sam James
2022-12-02  3:18 Ionen Wolkens
2022-12-02  3:18 Ionen Wolkens
2022-12-02  3:18 Ionen Wolkens
2022-11-18 13:06 Arthur Zamarin
2022-11-18 12:56 Arthur Zamarin
2022-11-12 12:56 Yixun Lan
2022-11-12  6:12 WANG Xuerui
2022-11-05  2:07 Sam James
2022-11-05  2:07 Sam James
2022-11-04 21:59 Ionen Wolkens
2022-06-07  5:45 Sam James
2021-08-22  3:42 Sam James
2021-08-19 19:59 Sam James
2021-08-19  1:25 Agostino Sarubbo
2021-08-18 12:58 Agostino Sarubbo
2021-08-17  5:37 Agostino Sarubbo
2021-08-17  5:36 Agostino Sarubbo
2021-07-16  7:10 Miroslav Šulc
2021-06-30 17:19 Miroslav Šulc
2021-05-17  8:12 Miroslav Šulc
2021-05-17  7:49 Agostino Sarubbo
2021-05-16 23:44 Sam James
2021-05-16 14:44 Sam James
2021-05-16 12:45 Sam James
2021-04-15 12:17 Miroslav Šulc
2021-02-20 10:11 Miroslav Šulc
2021-02-19 16:22 Sam James
2021-02-18 23:25 Sam James
2021-02-18 17:15 Sam James
2021-02-18 17:14 Sam James
2021-02-18 17:14 Sam James
2021-02-18 17:12 Sam James
2021-01-18 10:38 Miroslav Šulc
2021-01-02 11:51 Miroslav Šulc
2020-12-05  7:23 Miroslav Šulc
2020-12-04 18:37 Sergei Trofimovich
2020-12-03  7:59 Sam James
2020-12-03  4:53 Sam James
2020-12-02 23:31 Thomas Deutschmann
2020-12-02 10:23 Sam James
2020-11-02  9:56 Miroslav Šulc
2020-10-07  6:53 Agostino Sarubbo
2020-10-07  6:50 Agostino Sarubbo
2020-10-06  4:29 Sam James
2020-10-06  4:24 Sam James
2020-07-30  0:00 Sam James
2020-07-29 22:37 Sam James
2020-07-27 13:54 Sam James
2020-06-04  9:06 David Seifert
2020-05-09  8:41 Miroslav Šulc
2020-05-08 10:46 Agostino Sarubbo
2020-05-03 10:01 Agostino Sarubbo
2020-04-03 15:29 Miroslav Šulc
2020-02-10 12:12 Michał Górny
2020-02-09 16:31 Michał Górny
2019-12-03 10:06 Agostino Sarubbo
2019-12-03 10:03 Agostino Sarubbo
2019-12-02 11:06 Miroslav Šulc
2019-11-02 21:59 Miroslav Šulc
2019-11-02 20:54 Miroslav Šulc
2019-11-01 11:32 Miroslav Šulc
2019-10-28 23:43 Miroslav Šulc
2019-01-24 13:30 Miroslav Šulc
2018-11-18 11:22 Andreas Sturmlechner
2018-11-18 11:22 Andreas Sturmlechner
2018-10-20 21:48 Michał Górny
2018-09-16 18:41 Andreas Sturmlechner
2018-09-16 18:22 Andreas Sturmlechner
2018-09-16 18:22 Andreas Sturmlechner
2018-01-28 23:19 Andreas Sturmlechner
2017-12-20 22:34 Patrice Clement
2017-12-20 22:34 Patrice Clement
2017-12-20 22:34 Patrice Clement
2017-12-04  9:30 Alexis Ballier
2017-12-04  9:30 Alexis Ballier
2017-12-04  9:30 Alexis Ballier
2017-12-04  9:30 Alexis Ballier
2017-12-04  9:30 Alexis Ballier
2017-09-04 18:44 Michał Górny
2017-07-07 20:46 Alexis Ballier
2017-06-18 17:46 Alexis Ballier
2017-03-14 10:37 Alexis Ballier
2016-02-18 11:25 Alexis Ballier
2016-02-16 14:31 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1667598878.1b008898d1f8eb2d6c3c4b9eee35f9b1f6237b77.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox