Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/qterminal/files/, x11-terms/qterminal/
Date: Sun, 28 Feb 2021 21:57:28
Message-Id: 1614549426.9c55a4ab2e1adb960521cd9c237fd5e79f987a62.asturm@gentoo
1 commit: 9c55a4ab2e1adb960521cd9c237fd5e79f987a62
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 28 21:56:26 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 21:57:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c55a4ab
7
8 x11-terms/qterminal: Fix appdata installation path
9
10 Closes: https://bugs.gentoo.org/737626
11 Package-Manager: Portage-3.0.16, Repoman-3.0.2
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 x11-terms/qterminal/files/qterminal-0.16.1-appdata.patch | 11 +++++++++++
15 .../{qterminal-9999.ebuild => qterminal-0.16.1-r1.ebuild} | 4 +++-
16 x11-terms/qterminal/qterminal-9999.ebuild | 4 +++-
17 3 files changed, 17 insertions(+), 2 deletions(-)
18
19 diff --git a/x11-terms/qterminal/files/qterminal-0.16.1-appdata.patch b/x11-terms/qterminal/files/qterminal-0.16.1-appdata.patch
20 new file mode 100644
21 index 00000000000..fc3f370fa67
22 --- /dev/null
23 +++ b/x11-terms/qterminal/files/qterminal-0.16.1-appdata.patch
24 @@ -0,0 +1,11 @@
25 +--- a/CMakeLists.txt 2020-11-14 10:11:34.000000000 +0100
26 ++++ b/CMakeLists.txt 2021-02-28 22:47:20.119110816 +0100
27 +@@ -215,7 +215,7 @@
28 +
29 + install(FILES
30 + qterminal.appdata.xml
31 +- DESTINATION "${CMAKE_INSTALL_DATADIR}/appdata"
32 ++ DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo"
33 + )
34 +
35 + if(NOT APPLEBUNDLE)
36
37 diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-0.16.1-r1.ebuild
38 similarity index 90%
39 copy from x11-terms/qterminal/qterminal-9999.ebuild
40 copy to x11-terms/qterminal/qterminal-0.16.1-r1.ebuild
41 index 1b3cfd71784..1474704c16c 100644
42 --- a/x11-terms/qterminal/qterminal-9999.ebuild
43 +++ b/x11-terms/qterminal/qterminal-0.16.1-r1.ebuild
44 @@ -1,4 +1,4 @@
45 -# Copyright 1999-2020 Gentoo Authors
46 +# Copyright 1999-2021 Gentoo Authors
47 # Distributed under the terms of the GNU General Public License v2
48
49 EAPI=7
50 @@ -33,6 +33,8 @@ RDEPEND="${DEPEND}
51 !lxqt-base/lxqt-l10n
52 "
53
54 +PATCHES=( "${FILESDIR}/${P}-appdata.patch" )
55 +
56 pkg_postinst() {
57 xdg_icon_cache_update
58 }
59
60 diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-9999.ebuild
61 index 1b3cfd71784..07f53ab940a 100644
62 --- a/x11-terms/qterminal/qterminal-9999.ebuild
63 +++ b/x11-terms/qterminal/qterminal-9999.ebuild
64 @@ -1,4 +1,4 @@
65 -# Copyright 1999-2020 Gentoo Authors
66 +# Copyright 1999-2021 Gentoo Authors
67 # Distributed under the terms of the GNU General Public License v2
68
69 EAPI=7
70 @@ -33,6 +33,8 @@ RDEPEND="${DEPEND}
71 !lxqt-base/lxqt-l10n
72 "
73
74 +PATCHES=( "${FILESDIR}/${PN}-0.16.1-appdata.patch" )
75 +
76 pkg_postinst() {
77 xdg_icon_cache_update
78 }