summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/kmidimon/files/kmidimon-1.1.0-fix-install.patch11
-rw-r--r--media-sound/kmidimon/kmidimon-1.1.0.ebuild2
2 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/kmidimon/files/kmidimon-1.1.0-fix-install.patch b/media-sound/kmidimon/files/kmidimon-1.1.0-fix-install.patch
new file mode 100644
index 000000000000..8bc48a7d5559
--- /dev/null
+++ b/media-sound/kmidimon/files/kmidimon-1.1.0-fix-install.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2021-09-18 22:32:19.273613410 +0200
++++ b/CMakeLists.txt 2021-09-23 00:07:47.940122305 +0200
+@@ -92,8 +92,6 @@
+
+ install( FILES net.sourceforge.kmidimon.desktop
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )
+-install( FILES net.sourceforge.kmidimon.appdata.xml
+- DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo )
+
+ install( FILES standards.ins
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/kmidimon )
diff --git a/media-sound/kmidimon/kmidimon-1.1.0.ebuild b/media-sound/kmidimon/kmidimon-1.1.0.ebuild
index 8df49102e424..ad3369ffd0dc 100644
--- a/media-sound/kmidimon/kmidimon-1.1.0.ebuild
+++ b/media-sound/kmidimon/kmidimon-1.1.0.ebuild
@@ -27,6 +27,8 @@ BDEPEND="
dev-qt/linguist-tools:5
"
+PATCHES=( "${FILESDIR}/${P}-fix-install.patch" )
+
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html