Diff a2jmidid-9-r1 with a a2jmidid-9999

/usr/portage/media-sound/a2jmidid/a2jmidid-9999.ebuild 2024-07-02 13:51:46.461851520 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2024 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
PYTHON_COMPAT=( python3_{10..12} )
7 7
PYTHON_REQ_USE="threads(+)"
8 8

  
9
inherit meson python-single-r1
9
inherit meson python-single-r1 git-r3
10 10

  
11
DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system"
12
HOMEPAGE="https://github.com/jackaudio/a2jmidid"
13
SRC_URI="https://github.com/jackaudio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
11
DESCRIPTION="Daemon for exposing ALSA sequencer applications in JACK MIDI system"
12
HOMEPAGE="https://a2jmidid.ladish.org"
13
EGIT_REPO_URI="https://gitea.ladish.org/LADI/a2jmidid.git"
14
EGIT_BRANCH="main"
15
EGIT_SUBMODULES=( waf-autooptions waftoolchainflags siginfo )
14 16

  
15 17
LICENSE="GPL-2"
16 18
SLOT="0"
17
KEYWORDS="amd64 ~arm x86"
18
IUSE="dbus python"
19
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
19
IUSE="dbus"
20
REQUIRED_USE="dbus? ( ${PYTHON_REQUIRED_USE} )"
20 21

  
21 22
BDEPEND="
22 23
	virtual/pkgconfig
......
24 25
CDEPEND="
25 26
	media-libs/alsa-lib
26 27
	virtual/jack
27
	dbus? ( sys-apps/dbus )
28
	python? ( ${PYTHON_DEPS} )
28
	dbus? ( sys-apps/dbus ${PYTHON_DEPS} )
29 29
"
30 30
RDEPEND="${CDEPEND}"
31 31
DEPEND="${RDEPEND}"
32 32

  
33
DOCS=( AUTHORS.rst CHANGELOG.rst README.rst internals.txt )
33
DOCS=( AUTHORS.rst NEWS.rst README internals.txt )
34 34

  
35 35
src_configure() {
36 36
	local emesonargs=(
......
43 43
src_install() {
44 44
	meson_src_install
45 45

  
46
	if use python; then
46
	if use dbus; then
47 47
		python_fix_shebang "${ED}"
48
	else
49
		rm "${ED}/usr/bin/a2j_control" || die
50 48
	fi
51 49
}
Thank you!