From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1213477-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 56737138359
	for <garchives@archives.gentoo.org>; Sat, 10 Oct 2020 16:04:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 71757E093E;
	Sat, 10 Oct 2020 16:04:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 593F0E093E
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Oct 2020 16:04:52 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DB0F233FAD1
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Oct 2020 16:04:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CA6F1332
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Oct 2020 16:04:47 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1602345856.a343f2eaff0f08591610d68a7ebccdaac8006bfd.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/kube/files/, mail-client/kube/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-client/kube/files/kube-0.7.0-appdata-location.patch mail-client/kube/kube-0.7.0-r1.ebuild
X-VCS-Directories: mail-client/kube/files/ mail-client/kube/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: a343f2eaff0f08591610d68a7ebccdaac8006bfd
X-VCS-Branch: master
Date: Sat, 10 Oct 2020 16:04:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 59dc8be8-99a4-4a44-8f1b-52a5b80a8cfc
X-Archives-Hash: b1696f308d38bb21da97fc21f71f8006

commit:     a343f2eaff0f08591610d68a7ebccdaac8006bfd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:56:53 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 16:04:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a343f2ea

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 <AT> gentoo.org>

 .../kube/files/kube-0.7.0-appdata-location.patch   | 23 ++++++++++++++++++++++
 mail-client/kube/kube-0.7.0-r1.ebuild              |  1 +
 2 files changed, 24 insertions(+)

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 00000000000..6e771c03717
--- /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 54d70902551..50f1f2d0eb7 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() {