summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-06-20 14:05:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-20 14:05:32 +0200
commit04a3ee47c929f9ca3da2b53b07cbae589453ed28 (patch)
treed2d1fb35024b093111b4cbae4bbe4d4d23383455 /media-sound
parentmedia-sound/drumstick: Import from Gentoo ebuild repository (diff)
downloadkde-sunset-04a3ee47c929f9ca3da2b53b07cbae589453ed28.tar.gz
kde-sunset-04a3ee47c929f9ca3da2b53b07cbae589453ed28.tar.bz2
kde-sunset-04a3ee47c929f9ca3da2b53b07cbae589453ed28.zip
media-sound/kmidimon: Import from Gentoo ebuild repository
Package-Manager: Portage-2.3.40, Repoman-2.3.9 RepoMan-Options: --force
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/kmidimon/Manifest1
-rw-r--r--media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch17
-rw-r--r--media-sound/kmidimon/kmidimon-0.7.5.ebuild36
-rw-r--r--media-sound/kmidimon/metadata.xml8
4 files changed, 62 insertions, 0 deletions
diff --git a/media-sound/kmidimon/Manifest b/media-sound/kmidimon/Manifest
new file mode 100644
index 00000000..225b67df
--- /dev/null
+++ b/media-sound/kmidimon/Manifest
@@ -0,0 +1 @@
+DIST kmidimon-0.7.5.tar.bz2 285207 BLAKE2B 7f7b856f8e5b4ed6d801106219746c2d14e95332da26588f7de47ee9e4a042f3790b8afa7169d8b1c083d623df7dceee75e1c4762c026166e34a2eb5302fab0a SHA512 4ed2db2e0e1af951ad664c64f9a4ae26f9809f826de43a02188cc6051086319386fee6b061da30943709c4b05b5845b9519f72b4310b17516765ae7a51d8725a
diff --git a/media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch b/media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch
new file mode 100644
index 00000000..833be969
--- /dev/null
+++ b/media-sound/kmidimon/files/kmidimon-0.7.5-kdelibs-4.14.11.patch
@@ -0,0 +1,17 @@
+The uninstall target is created automatically by FindKDE4Internal. Due to
+cmake policy changes in kdelibs-4.14.11, this target name collision causes
+a build failure.
+
+https://bugs.gentoo.org/show_bug.cgi?id=559180
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -132,8 +132,6 @@
+ "${CMAKE_SOURCE_DIR}/cmake_admin/cmake_uninstall.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ IMMEDIATE @ONLY)
+-ADD_CUSTOM_TARGET(uninstall
+- "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
+
+ ADD_CUSTOM_TARGET ( tarball
+ COMMAND mkdir -p kmidimon-${VERSION}
diff --git a/media-sound/kmidimon/kmidimon-0.7.5.ebuild b/media-sound/kmidimon/kmidimon-0.7.5.ebuild
new file mode 100644
index 00000000..dcec3f67
--- /dev/null
+++ b/media-sound/kmidimon/kmidimon-0.7.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+KDE_LINGUAS="cs es ja"
+KDE_HANDBOOK="optional"
+QT3SUPPORT_REQUIRED="true"
+inherit kde4-base
+
+DESCRIPTION="A MIDI monitor for ALSA sequencer"
+HOMEPAGE="http://kmidimon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="amd64 x86"
+IUSE="debug"
+
+RDEPEND="
+ media-libs/alsa-lib
+ >=media-sound/drumstick-0.5
+ <media-sound/drumstick-1.0.0
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DSTATIC_DRUMSTICK=OFF
+ )
+
+ kde4-base_src_configure
+}
diff --git a/media-sound/kmidimon/metadata.xml b/media-sound/kmidimon/metadata.xml
new file mode 100644
index 00000000..5ca3d8cd
--- /dev/null
+++ b/media-sound/kmidimon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">kmidimon</remote-id>
+ </upstream>
+</pkgmetadata>