summaryrefslogtreecommitdiff
path: root/media-sound/jack-keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jack-keyboard')
-rw-r--r--media-sound/jack-keyboard/Manifest3
-rw-r--r--media-sound/jack-keyboard/files/jack-keyboard-2.7.2-man.patch10
-rw-r--r--media-sound/jack-keyboard/jack-keyboard-2.7.2-r1.ebuild43
3 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/jack-keyboard/Manifest b/media-sound/jack-keyboard/Manifest
index 0d07cacfa707..d844c687611d 100644
--- a/media-sound/jack-keyboard/Manifest
+++ b/media-sound/jack-keyboard/Manifest
@@ -1,3 +1,6 @@
+AUX jack-keyboard-2.7.2-man.patch 507 BLAKE2B d19f4357d110e62214940460f01c31ec10b843ac58082eb5b2daf7125e9d324e5e4f673b256f877cc3ba947b8e010ac497aeb0afce858c09bada37221fb887de SHA512 729e90c712cc52913920aaaea6d1364be96fe39e386efde1264a70fe502b171b777ac23127a40f4837cbf173442af56376a67413555db0631ad23effc811b062
DIST jack-keyboard-2.5.tar.gz 108710 BLAKE2B 563857c4b4acee8df16b720530c444fc25745734e5aaad535cb4d0d2fda3d3a526fa7523b4a0bf8da0d93fad27312fbc253e3f509b744953cd386b0a2442852a SHA512 2a8b45315f25080529dc667d869ae6bd6fe70345f74a10625e6ed6a13043333e495f37c53dc49d968533c65dfb0bd0f0a6b91eaa89e890ce492cb1f3da8c8009
+DIST jack-keyboard-2.7.2.tar.gz 46164 BLAKE2B 05e4df0298a709b5018309f7c55553da5c5246264669df12c98158a9763ded492151422c79ce47d8b107b2858a9a6135c941cd92956206209fc07ef6fbb89f1c SHA512 d47ab73c3e030a1364703ab0bf9f88865ead5a7ad9b85e88268a57fab30677ca1e731279761b453b8d8f03ec4177da8e550f51e40119e2cfd921fec6f1927534
EBUILD jack-keyboard-2.5.ebuild 608 BLAKE2B acde4d5b613a26b43abddf082a074eb7433f8ec99464c2a93e362a18e237be8292da599c9e045c08b5fd534d47cfdc364f58240d86c598570004c3d83bd386c4 SHA512 65a437235032e7adecad4084155bca77acd15cf519172af5671c1314262c6b513370256e58f6d7dc32d29185d4440938c2b3faac69131fdb12c317f38088da95
+EBUILD jack-keyboard-2.7.2-r1.ebuild 799 BLAKE2B da7b12d9a3aedd31dbcf5b475fa6c3dc3f4a1211d87d74c91652ccc9d8ff13a43543dc8d9fa0a808a81cbb6874375d2dcbf532b729bb1d7a6a94f521a02113b2 SHA512 a210b3200b1411f4867f7e70cf94031645478a41a08a75685179d46890897f4fc020f93eb0a50c2938c5ee72a429098a5ffb2eb07d74ccb7070dd39a43dd188e
MISC metadata.xml 669 BLAKE2B 340b194e38aa8c5f7944961c33d675db41db1a681dfa623acc8e1da41d6eb464607a3a9e8ac9006d936e795fa08c1074289339828b29d51b35b11d78c73cf808 SHA512 70b905896625bcebe0e83a807e84a47688691e02b36e99a8d45b91be944709016a98bb5df97f591ea562d65daf79d7a33de26e9760891191abf8def0d245a9b8
diff --git a/media-sound/jack-keyboard/files/jack-keyboard-2.7.2-man.patch b/media-sound/jack-keyboard/files/jack-keyboard-2.7.2-man.patch
new file mode 100644
index 000000000000..4fb6f0411eb8
--- /dev/null
+++ b/media-sound/jack-keyboard/files/jack-keyboard-2.7.2-man.patch
@@ -0,0 +1,10 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d5b7c98..3a9a280 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -68,4 +68,4 @@ target_link_libraries(jack-keyboard -lm)
+ install(TARGETS jack-keyboard RUNTIME DESTINATION bin)
+ install(FILES pixmaps/jack-keyboard.png DESTINATION share/pixmaps)
+ install(FILES src/jack-keyboard.desktop DESTINATION share/applications)
+-install(FILES man/jack-keyboard.1 DESTINATION man/man1)
++install(FILES man/jack-keyboard.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
diff --git a/media-sound/jack-keyboard/jack-keyboard-2.7.2-r1.ebuild b/media-sound/jack-keyboard/jack-keyboard-2.7.2-r1.ebuild
new file mode 100644
index 000000000000..dd40aa9f0a7f
--- /dev/null
+++ b/media-sound/jack-keyboard/jack-keyboard-2.7.2-r1.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="lash X"
+
+CDEPEND="
+ dev-libs/glib:2
+ virtual/jack
+ x11-libs/gtk+:2
+ 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 mycmakeargs=(
+ -DJackEnable=ON # though configurable, does not compile withou jack
+ -DLashEnable=$(usex lash)
+ -DX11Enable=$(usex X)
+ )
+
+ cmake_src_configure
+}