summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-25 21:01:03 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-25 21:01:40 +0200
commitd6783965230b5d67ea233783c7a5c5fa22bdc04d (patch)
tree3c7aaa53ec5d4bb84ef7e8d9d944b6b0d9cc3df8 /media-gfx/hugin
parentdev-util/cargo-audit: revbump, restrict to openssl (diff)
downloadgentoo-d6783965230b5d67ea233783c7a5c5fa22bdc04d.tar.gz
gentoo-d6783965230b5d67ea233783c7a5c5fa22bdc04d.tar.bz2
gentoo-d6783965230b5d67ea233783c7a5c5fa22bdc04d.zip
media-gfx/hugin: Move metainfo to right place
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Closes: https://bugs.gentoo.org/722420 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'media-gfx/hugin')
-rw-r--r--media-gfx/hugin/hugin-2019.2.0.ebuild4
-rw-r--r--media-gfx/hugin/hugin-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/media-gfx/hugin/hugin-2019.2.0.ebuild b/media-gfx/hugin/hugin-2019.2.0.ebuild
index 7cc3209c4c52..0981ba7e2eef 100644
--- a/media-gfx/hugin/hugin-2019.2.0.ebuild
+++ b/media-gfx/hugin/hugin-2019.2.0.ebuild
@@ -86,6 +86,10 @@ src_install() {
cmake-utils_src_install
use python && python_optimize
+ mkdir -p "${ED}"/usr/share/metainfo || die
+ mv "${ED}"/usr/share/appdata/* "${ED}"/usr/share/metainfo/ || die
+ rmdir "${ED}"/usr/share/appdata || die
+
local lang
for lang in ${LANGS} ; do
case ${lang} in
diff --git a/media-gfx/hugin/hugin-9999.ebuild b/media-gfx/hugin/hugin-9999.ebuild
index 3eb92a7c66c7..34db3dfeb053 100644
--- a/media-gfx/hugin/hugin-9999.ebuild
+++ b/media-gfx/hugin/hugin-9999.ebuild
@@ -80,6 +80,10 @@ src_install() {
cmake-utils_src_install
use python && python_optimize
+ mkdir -p "${ED}"/usr/share/metainfo || die
+ mv "${ED}"/usr/share/appdata/* "${ED}"/usr/share/metainfo/ || die
+ rmdir "${ED}"/usr/share/appdata || die
+
local lang
for lang in ${LANGS} ; do
case ${lang} in