Skip to content

Commit

Permalink
mail-client/kube: Fix metainfo installation path
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/747568
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Oct 10, 2020
1 parent 0bbf4c6 commit a343f2e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions mail-client/kube/files/kube-0.7.0-appdata-location.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From bf9e6bc6e9885d30f2db124e803403ea327af138 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <[email protected]>
Date: Sat, 10 Oct 2020 17:55:19 +0200
Subject: [PATCH] Fix appdata installation path to /usr/share/metainfo

Signed-off-by: Andreas Sturmlechner <[email protected]>
---
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

1 change: 1 addition & 0 deletions mail-client/kube/kube-0.7.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RESTRICT+=" test"
PATCHES=(
"${FILESDIR}/${P}-tests-optional.patch"
"${FILESDIR}/${P}-require-cxx14.patch"
"${FILESDIR}/${P}-appdata-location.patch"
)

src_prepare() {
Expand Down

0 comments on commit a343f2e

Please sign in to comment.