summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jack-keyboard/jack-keyboard-2.7.2.ebuild')
-rw-r--r--media-sound/jack-keyboard/jack-keyboard-2.7.2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/jack-keyboard/jack-keyboard-2.7.2.ebuild b/media-sound/jack-keyboard/jack-keyboard-2.7.2.ebuild
new file mode 100644
index 000000000000..bec6114d4376
--- /dev/null
+++ b/media-sound/jack-keyboard/jack-keyboard-2.7.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="A virtual MIDI keyboard for JACK MIDI"
+HOMEPAGE="http://pin.if.uz.zgora.pl/~trasz/jack-keyboard/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jack lash X"
+
+CDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ jack? ( virtual/jack )
+ lash? ( media-sound/lash )
+ X? ( x11-libs/libX11 )
+"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-man.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mymakeargs=(
+ -DJackEnable=$(usex jack)
+ -DLashEnable=$(usex lash)
+ -DX11Enable=$(usex X)
+ )
+
+ cmake_src_configure
+}