summaryrefslogtreecommitdiff
path: root/media-sound/kmidimon
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/kmidimon')
-rw-r--r--media-sound/kmidimon/Manifest3
-rw-r--r--media-sound/kmidimon/files/kmidimon-1.2.0-fix-cmake-pathvar.patch11
-rw-r--r--media-sound/kmidimon/kmidimon-1.2.0.ebuild39
3 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/kmidimon/Manifest b/media-sound/kmidimon/Manifest
index 3ac6347f4a53..5374f9607ce6 100644
--- a/media-sound/kmidimon/Manifest
+++ b/media-sound/kmidimon/Manifest
@@ -1,4 +1,7 @@
AUX kmidimon-1.1.0-fix-install.patch 446 BLAKE2B 3a1a4633c63dee9334ddd1f8a5b40f8a8427d83193ea65e7296c833f7856544323c47a02684ad90c59906fb63d9dc5f2de008a0b197a4e6325f953461271ad95 SHA512 9a3cdb4586b988a78c9f38fc167475db27cec608bbeca2bf489252a74007bcde241732e9cf4dbe5db709637ffa70e5e43ddb2b51859c0bfde723f420d8c1dae8
+AUX kmidimon-1.2.0-fix-cmake-pathvar.patch 579 BLAKE2B c3a169a4d947aed747fcf63a01ae550759d78b26315fccaf5e7a4666f3b7807ce655add3028800144fa075b78bbddb86afd443a357a00e0b5f6db8840219529c SHA512 dda87e16ae63a6bacf40faa3dd02ef26eb2a90040a4e27bfc7f6dd9c26b8415493dcf63df4b15488d80deb23655e5c6a7045822ee765961800d95afb81ed975b
DIST kmidimon-1.1.0.tar.bz2 392541 BLAKE2B b4b45eaf0d370c0b0989e7c1a7a30473cb8e252346687a6b3d99a5d3e78a8155893e478d354cadc00b1a7df07a174dbd21ae07fd9a0746f5b7dcdb5786520797 SHA512 6792d2b45e2ee9da777d2f29623453a41532d6f6d93a6e375afd07b4cbcf2eb18f11ab2d9358febbb22925ee7e63912c5bd4714a3804b95971a52a1c0b00a324
+DIST kmidimon-1.2.0.tar.bz2 696057 BLAKE2B a0a3cc8ccd7d9f065c5b1b5594a6baeafd36e4a124207bd8b8f55a3d3c22f7bc7eb84771b51f71f07f3251da3d796a79980a8e22a545576220dce17b354a1403 SHA512 ea62240438111428b1b10e4df2179497495038a376b848cd3fc910ca5eb6126a63f1ebafe9eb1408a0037a9626ffab5bf43e7e3cc31608d878b329450ec17463
EBUILD kmidimon-1.1.0.ebuild 704 BLAKE2B 0c28d4e8a2115feff95b3fb3483601a3ea4b01e5640de8a922d68aaffd1ff6dbc63438421f5f1d32a91695f5504f65ed963d4544400a5f9a0cd5cddbd089018e SHA512 27f0a3ab0327b75819be82071ea4e9876400a54f02bca775c6b77bd16368d526a2d6ae7174509af5e23a9b8f546cbb69dd155f1b123a1021352c797e907be3ce
+EBUILD kmidimon-1.2.0.ebuild 742 BLAKE2B 9586f619f5983b21000a26cb303862c47f5535833b7941161a73e5a77e05362b02d97e7e20f278c14a29cd284fbe79c1ede0d590651e23d01e2f8726f4ba50a7 SHA512 6f284633ea305648bc4742406d1d916123bfc5b512d28d9253a1c8a0eca570f9978812bb13f37f50b5d6338122f603fa2b0a41c75653aa3c82eea7bae3bc64b4
MISC metadata.xml 442 BLAKE2B 20c1a6190737f4d447ab159fa0568f27b731d3472b3a4ec26fc4d3225ec9e82fca014d82ad41fe1c8c6b80e785973d066bf7101078ccccd7efac67d3d992749b SHA512 bf4cb478d26b5e1f49057954f77284b6126c72541925299b71f901559bba3020c25a8ca6e6b9b4ccee966f612c71a6b8554f08e64e97e00c3c09232ded483c09
diff --git a/media-sound/kmidimon/files/kmidimon-1.2.0-fix-cmake-pathvar.patch b/media-sound/kmidimon/files/kmidimon-1.2.0-fix-cmake-pathvar.patch
new file mode 100644
index 000000000000..6ee1afea0932
--- /dev/null
+++ b/media-sound/kmidimon/files/kmidimon-1.2.0-fix-cmake-pathvar.patch
@@ -0,0 +1,11 @@
+--- a/doc/CMakeLists.txt 2021-12-12 11:29:13.249013335 +0100
++++ b/doc/CMakeLists.txt 2021-12-17 11:45:36.458111658 +0100
+@@ -30,7 +30,7 @@
+ if (UNIX AND NOT APPLE)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${MANPAGE}
+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.ja.1
++ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.ja.1
+ DESTINATION ${CMAKE_INSTALL_MANDIR}/ja/man1
+ RENAME ${MANPAGE})
+ foreach(_lang IN ITEMS cs en es fr ja)
diff --git a/media-sound/kmidimon/kmidimon-1.2.0.ebuild b/media-sound/kmidimon/kmidimon-1.2.0.ebuild
new file mode 100644
index 000000000000..927feb7fa79c
--- /dev/null
+++ b/media-sound/kmidimon/kmidimon-1.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="MIDI monitor for ALSA sequencer"
+HOMEPAGE="https://kmidimon.sourceforge.io/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ media-libs/alsa-lib
+ >=media-sound/drumstick-2.4.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-arch/unzip
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-cmake-pathvar.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCS=OFF
+ -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
+ -DUSE_QT=5
+ )
+ cmake_src_configure
+}