From 9bb8a74bb9c7df16ac95e2ec7e3843274dd1e052 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Mon, 8 Jan 2024 02:10:08 +0200 Subject: media-sound/a2jmidid-12: new upstream version; ebuild fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/798411 Closes: https://bugs.gentoo.org/916117 Closes: https://bugs.gentoo.org/914074 Closes: https://bugs.gentoo.org/909411 Closes: https://bugs.gentoo.org/909404 Signed-off-by: Nedko Arnaudov Closes: https://github.com/gentoo/gentoo/pull/34706 Signed-off-by: Miroslav Ć ulc --- media-sound/a2jmidid/a2jmidid-12.ebuild | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 media-sound/a2jmidid/a2jmidid-12.ebuild (limited to 'media-sound/a2jmidid/a2jmidid-12.ebuild') diff --git a/media-sound/a2jmidid/a2jmidid-12.ebuild b/media-sound/a2jmidid/a2jmidid-12.ebuild new file mode 100644 index 000000000000..1019f69d4611 --- /dev/null +++ b/media-sound/a2jmidid/a2jmidid-12.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit meson python-single-r1 + +DESCRIPTION="Daemon for exposing ALSA sequencer applications in JACK MIDI system" +HOMEPAGE="https://a2jmidid.ladish.org" +SRC_URI="https://dl.ladish.org/a2jmidid/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="dbus" +REQUIRED_USE="dbus? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + virtual/pkgconfig +" +CDEPEND=" + media-libs/alsa-lib + virtual/jack + dbus? ( sys-apps/dbus ${PYTHON_DEPS} ) +" +RDEPEND="${CDEPEND}" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS.rst NEWS.rst README internals.txt ) + +src_configure() { + local emesonargs=( + -Ddisable-dbus=$(usex dbus false true) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + + if use dbus; then + python_fix_shebang "${ED}" + fi +} -- cgit v1.2.3-65-gdbad