summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-10 17:56:53 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-10 18:04:16 +0200
commita343f2eaff0f08591610d68a7ebccdaac8006bfd (patch)
tree906c8957e68fa700aa1a22d3758810ed1b699cba /mail-client/kube
parentkde-frameworks/kxmlrpcclient: 5.75.0 version bump (diff)
downloadgentoo-a343f2eaff0f08591610d68a7ebccdaac8006bfd.tar.gz
gentoo-a343f2eaff0f08591610d68a7ebccdaac8006bfd.tar.bz2
gentoo-a343f2eaff0f08591610d68a7ebccdaac8006bfd.zip
mail-client/kube: Fix metainfo installation path
Closes: https://bugs.gentoo.org/747568 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'mail-client/kube')
-rw-r--r--mail-client/kube/files/kube-0.7.0-appdata-location.patch23
-rw-r--r--mail-client/kube/kube-0.7.0-r1.ebuild1
2 files changed, 24 insertions, 0 deletions
diff --git a/mail-client/kube/files/kube-0.7.0-appdata-location.patch b/mail-client/kube/files/kube-0.7.0-appdata-location.patch
new file mode 100644
index 000000000000..6e771c037177
--- /dev/null
+++ b/mail-client/kube/files/kube-0.7.0-appdata-location.patch
@@ -0,0 +1,23 @@
+From bf9e6bc6e9885d30f2db124e803403ea327af138 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 10 Oct 2020 17:55:19 +0200
+Subject: [PATCH] Fix appdata installation path to /usr/share/metainfo
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ applications/kube/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/applications/kube/CMakeLists.txt b/applications/kube/CMakeLists.txt
+index 761d1f18..f92f66f0 100644
+--- a/applications/kube/CMakeLists.txt
++++ b/applications/kube/CMakeLists.txt
+@@ -49,4 +49,4 @@ set(KUBE_APPDATA_HELP "https://kube.readthedocs.io/en/latest/" CACHE STRING "app
+ set(KUBE_APPDATA_PROJECTGROUP "KDE" CACHE STRING "appdata projectgroup property")
+ set(KUBE_APPDATAFILENAME "${KUBE_APPLICATION_ID}.appdata.xml")
+ configure_file(kube.appdata.xml.in ${KUBE_APPDATAFILENAME})
+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${KUBE_APPDATAFILENAME} DESTINATION ${KDE_INSTALL_DATAROOTDIR}/appdata/)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${KUBE_APPDATAFILENAME} DESTINATION ${KDE_INSTALL_DATAROOTDIR}/metainfo/)
+--
+2.28.0
+
diff --git a/mail-client/kube/kube-0.7.0-r1.ebuild b/mail-client/kube/kube-0.7.0-r1.ebuild
index 54d709025518..50f1f2d0eb75 100644
--- a/mail-client/kube/kube-0.7.0-r1.ebuild
+++ b/mail-client/kube/kube-0.7.0-r1.ebuild
@@ -41,6 +41,7 @@ RESTRICT+=" test"
PATCHES=(
"${FILESDIR}/${P}-tests-optional.patch"
"${FILESDIR}/${P}-require-cxx14.patch"
+ "${FILESDIR}/${P}-appdata-location.patch"
)
src_prepare() {