media-sound/jackdbus: new version 2.22.1

* Restore git revision display in the jackdbus log file
This commit is contained in:
Nedko Arnaudov 2023-04-19 15:16:25 +03:00
parent 78959b6514
commit 8011ae04f2
1 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,62 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
inherit flag-o-matic python-single-r1 waf-utils
inherit git-r3
EGIT_REPO_URI="https://github.com/LADI/${PN}.git"
EGIT_BRANCH="stable"
EGIT_COMMIT="c097aa5a38888e1b068a42e32764b823c18084ee"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
DESCRIPTION="D-Bus endpoint for JACK server"
HOMEPAGE="https://ladish.org/jackdbus.html"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="2"
IUSE=""
REQUIRED_USE="
${PYTHON_REQUIRED_USE}"
DEPEND="
sys-apps/dbus"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-python[${PYTHON_USEDEP}]
')
!media-sound/jack-audio-connection-kit
!media-video/pipewire[jack-sdk(-)]"
BDEPEND="
${PYTHON_DEPS}
virtual/pkgconfig"
PDEPEND=""
DOCS=( AUTHORS NEWS.rst README.adoc )
src_configure() {
# clients crash if built with lto
# https://github.com/jackaudio/jack2/issues/485
filter-lto
local wafargs=(
--mandir="${EPREFIX}"/usr/share/man/man1 # override eclass' for man1
)
waf-utils_src_configure "${wafargs[@]}"
}
src_compile() {
waf-utils_src_compile
}
src_install() {
waf-utils_src_install
python_fix_shebang "${ED}"/usr/bin/jack_control
}