public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde-sunset:master commit in: media-sound/kmidimon/files/, media-sound/kmidimon/
@ 2018-06-20 12:08 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2018-06-20 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     04a3ee47c929f9ca3da2b53b07cbae589453ed28
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 12:05:32 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 12:05:32 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=04a3ee47

media-sound/kmidimon: Import from Gentoo ebuild repository

Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --force

 .../files/kmidimon-0.7.5-kdelibs-4.14.11.patch     | 17 ++++++++++
 media-sound/kmidimon/kmidimon-0.7.5.ebuild         | 36 ++++++++++++++++++++++
 media-sound/kmidimon/metadata.xml                  |  8 +++++
 3 files changed, 61 insertions(+)

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 0000000..833be96
--- /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 0000000..dcec3f6
--- /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 0000000..5ca3d8c
--- /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>


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

only message in thread, other threads:[~2018-06-20 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-20 12:08 [gentoo-commits] proj/kde-sunset:master commit in: media-sound/kmidimon/files/, media-sound/kmidimon/ Andreas Sturmlechner

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