Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/gammaray/
Date: Thu, 15 Apr 2021 12:52:09
Message-Id: 1618470550.71a92641ab91d73c64e8ada8aa451238290c4e4b.andrewammerlaan@gentoo
1 commit: 71a92641ab91d73c64e8ada8aa451238290c4e4b
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Thu Apr 15 04:13:57 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Thu Apr 15 07:09:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71a92641
7
8 dev-util/gammaray: don't install into deprecated /usr/share/appdata/
9
10 Closes: https://bugs.gentoo.org/780957
11 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
12
13 dev-util/gammaray/gammaray-2.11.2.ebuild | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/dev-util/gammaray/gammaray-2.11.2.ebuild b/dev-util/gammaray/gammaray-2.11.2.ebuild
17 index d404d332d..87d5dec23 100644
18 --- a/dev-util/gammaray/gammaray-2.11.2.ebuild
19 +++ b/dev-util/gammaray/gammaray-2.11.2.ebuild
20 @@ -49,6 +49,8 @@ DEPEND="${RDEPEND}
21 src_prepare(){
22 sed -i "/BackwardMacros.cmake/d" CMakeLists.txt || die
23 sed -i "/add_backward(gammaray_core)/d" core/CMakeLists.txt || die
24 + # Don't install into deprecated /usr/share/appdata/
25 + sed -i "s|/appdata|/metainfo|g" {CMakeLists.txt,gammaray.spec} || die
26 cmake_src_prepare
27 }