summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-12-17 11:36:24 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-12-17 11:58:59 +0100
commit611e7612ab7dac3551fc918cb4a4e12438a08d4a (patch)
treee307ecbdfb417130d75121382004c148581cc00e /media-sound
parentdev-java/slf4j-simple: Keyword 1.7.30-r1 arm, #829407 (diff)
downloadgentoo-611e7612ab7dac3551fc918cb4a4e12438a08d4a.tar.gz
gentoo-611e7612ab7dac3551fc918cb4a4e12438a08d4a.tar.bz2
gentoo-611e7612ab7dac3551fc918cb4a4e12438a08d4a.zip
media-sound/kmidimon: 1.2.0 version bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/kmidimon/Manifest1
-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, 51 insertions, 0 deletions
diff --git a/media-sound/kmidimon/Manifest b/media-sound/kmidimon/Manifest
index c9665812e15e..ed3990cdb4f9 100644
--- a/media-sound/kmidimon/Manifest
+++ b/media-sound/kmidimon/Manifest
@@ -1 +1,2 @@
DIST kmidimon-1.1.0.tar.bz2 392541 BLAKE2B b4b45eaf0d370c0b0989e7c1a7a30473cb8e252346687a6b3d99a5d3e78a8155893e478d354cadc00b1a7df07a174dbd21ae07fd9a0746f5b7dcdb5786520797 SHA512 6792d2b45e2ee9da777d2f29623453a41532d6f6d93a6e375afd07b4cbcf2eb18f11ab2d9358febbb22925ee7e63912c5bd4714a3804b95971a52a1c0b00a324
+DIST kmidimon-1.2.0.tar.bz2 696057 BLAKE2B a0a3cc8ccd7d9f065c5b1b5594a6baeafd36e4a124207bd8b8f55a3d3c22f7bc7eb84771b51f71f07f3251da3d796a79980a8e22a545576220dce17b354a1403 SHA512 ea62240438111428b1b10e4df2179497495038a376b848cd3fc910ca5eb6126a63f1ebafe9eb1408a0037a9626ffab5bf43e7e3cc31608d878b329450ec17463
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
+}