public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/jack-keyboard/, media-sound/jack-keyboard/files/
@ 2020-08-14  9:06 Miroslav Šulc
  0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2020-08-14  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     064bc8861dc3d000369004ccf82d47396442281e
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 14 09:05:57 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 09:06:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=064bc886

media-sound/jack-keyboard: bumo to 2.7.2

1) eapi7
2) switched to cmake
3) added xdg for desktop file
4) switched download uri to sourceforge
5) added jack use flag
6) organized and updated deps

Closes: https://bugs.gentoo.org/553340
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/jack-keyboard/Manifest                 |  1 +
 .../files/jack-keyboard-2.7.2-man.patch            | 10 +++++
 .../jack-keyboard/jack-keyboard-2.7.2.ebuild       | 43 ++++++++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/media-sound/jack-keyboard/Manifest b/media-sound/jack-keyboard/Manifest
index 8512e4aa1a2..c12ee7035ac 100644
--- a/media-sound/jack-keyboard/Manifest
+++ b/media-sound/jack-keyboard/Manifest
@@ -1 +1,2 @@
 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

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 00000000000..4fb6f0411eb
--- /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.ebuild b/media-sound/jack-keyboard/jack-keyboard-2.7.2.ebuild
new file mode 100644
index 00000000000..bec6114d437
--- /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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-14  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-14  9:06 [gentoo-commits] repo/gentoo:master commit in: media-sound/jack-keyboard/, media-sound/jack-keyboard/files/ Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox