1 |
commit: 82e52cbf00fe78cb530bf48ad489f3e0a79ba62e |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 16:06:28 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 16:06:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e52cbf |
7 |
|
8 |
gnome-extra/libgda: appdata files are only installed with USE gtk |
9 |
|
10 |
Closes: https://bugs.gentoo.org/743715 |
11 |
Thanks-to: Toralf Förster |
12 |
Thanks-to: Kent Fredric |
13 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
14 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
15 |
|
16 |
gnome-extra/libgda/libgda-5.2.9.ebuild | 4 +++- |
17 |
1 file changed, 3 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/gnome-extra/libgda/libgda-5.2.9.ebuild b/gnome-extra/libgda/libgda-5.2.9.ebuild |
20 |
index 73305fd1f2f..3edc6cce0ca 100644 |
21 |
--- a/gnome-extra/libgda/libgda-5.2.9.ebuild |
22 |
+++ b/gnome-extra/libgda/libgda-5.2.9.ebuild |
23 |
@@ -146,5 +146,7 @@ pkg_preinst() { |
24 |
src_install() { |
25 |
gnome2_src_install |
26 |
# Use new location |
27 |
- mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die |
28 |
+ if use gtk; then |
29 |
+ mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die |
30 |
+ fi |
31 |
} |