Initial media-sound/gmidimonitor-9999 ebuild

This commit is contained in:
Nedko Arnaudov 2023-02-05 15:10:22 +02:00
parent 0c88f4e08b
commit 83d2027990
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9,10,11} )
PYTHON_REQ_USE='threads(+)'
inherit git-r3 python-single-r1 waf-utils
DESCRIPTION=" GTK+ application that shows MIDI events"
HOMEPAGE="https://github.com/nedko/gmidimonitor"
EGIT_REPO_URI="https://github.com/nedko/gmidimonitor"
EGIT_BRANCH="main"
KEYWORDS=""
EGIT_SUBMODULES=()
LICENSE="GPL-2"
SLOT="0"
IUSE="alsa jack lash"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|| ( alsa jack )"
RDEPEND="x11-libs/gtk+:2
alsa? ( media-libs/alsa-lib )
jack? ( virtual/jack )
lash? ( media-sound/ladish[lash] )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
virtual/pkgconfig"
DOCS=( AUTHORS README NEWS )
src_configure() {
local -a mywafconfargs=(
$(usex alsa --alsa=yes --alsa=no)
$(usex jack --jack=yes --jack=no)
$(usex jack --lash=yes --lash=no)
)
waf-utils_src_configure "${mywafconfargs[@]}"
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">nedko/gmidimonitor</remote-id>
</upstream>
<maintainer type="person">
<email>nedko@nedk.org</email>
<name>Nedko Arnaudov</name>
</maintainer>
</pkgmetadata>