1 |
commit: a48417a2831485278cd96048f9a7820b8349d3a0 |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Sat Apr 17 17:38:41 2021 +0000 |
4 |
Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
5 |
CommitDate: Sat Apr 17 17:38:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a48417a2 |
7 |
|
8 |
games-arcade/taisei: Use xdg-utils and update DBs and caches. |
9 |
|
10 |
This updates xdg-icon-cache, desktop-db and mimeinfo-db, |
11 |
which is needed since an icon, mime info and desktop files |
12 |
with mime info are being installed. |
13 |
|
14 |
Revbump to apply these changes. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/783450 |
17 |
Closes: https://bugs.gentoo.org/783453 |
18 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
19 |
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> |
20 |
|
21 |
.../taisei/{taisei-1.3.1.ebuild => taisei-1.3.1-r1.ebuild} | 14 +++++++++++++- |
22 |
games-arcade/taisei/taisei-9999.ebuild | 14 +++++++++++++- |
23 |
2 files changed, 26 insertions(+), 2 deletions(-) |
24 |
|
25 |
diff --git a/games-arcade/taisei/taisei-1.3.1.ebuild b/games-arcade/taisei/taisei-1.3.1-r1.ebuild |
26 |
similarity index 83% |
27 |
rename from games-arcade/taisei/taisei-1.3.1.ebuild |
28 |
rename to games-arcade/taisei/taisei-1.3.1-r1.ebuild |
29 |
index 26982cbef..381361ff3 100644 |
30 |
--- a/games-arcade/taisei/taisei-1.3.1.ebuild |
31 |
+++ b/games-arcade/taisei/taisei-1.3.1-r1.ebuild |
32 |
@@ -5,7 +5,7 @@ EAPI=7 |
33 |
|
34 |
PYTHON_COMPAT=( python3_{7,8,9} ) |
35 |
|
36 |
-inherit meson python-any-r1 |
37 |
+inherit meson python-any-r1 xdg-utils |
38 |
|
39 |
if [[ ${PV} == *9999* ]]; then |
40 |
inherit git-r3 |
41 |
@@ -54,3 +54,15 @@ src_configure() { |
42 |
) |
43 |
meson_src_configure |
44 |
} |
45 |
+ |
46 |
+pkg_postinst() { |
47 |
+ xdg_icon_cache_update |
48 |
+ xdg_desktop_database_update |
49 |
+ xdg_mimeinfo_database_update |
50 |
+} |
51 |
+ |
52 |
+pkg_postrm() { |
53 |
+ xdg_icon_cache_update |
54 |
+ xdg_desktop_database_update |
55 |
+ xdg_mimeinfo_database_update |
56 |
+} |
57 |
|
58 |
diff --git a/games-arcade/taisei/taisei-9999.ebuild b/games-arcade/taisei/taisei-9999.ebuild |
59 |
index 9213c4124..a50bcba07 100644 |
60 |
--- a/games-arcade/taisei/taisei-9999.ebuild |
61 |
+++ b/games-arcade/taisei/taisei-9999.ebuild |
62 |
@@ -5,7 +5,7 @@ EAPI=7 |
63 |
|
64 |
PYTHON_COMPAT=( python3_{7,8,9} ) |
65 |
|
66 |
-inherit meson python-any-r1 |
67 |
+inherit meson python-any-r1 xdg-utils |
68 |
|
69 |
if [[ ${PV} == *9999* ]]; then |
70 |
inherit git-r3 |
71 |
@@ -55,3 +55,15 @@ src_configure() { |
72 |
) |
73 |
meson_src_configure |
74 |
} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ xdg_icon_cache_update |
78 |
+ xdg_desktop_database_update |
79 |
+ xdg_mimeinfo_database_update |
80 |
+} |
81 |
+ |
82 |
+pkg_postrm() { |
83 |
+ xdg_icon_cache_update |
84 |
+ xdg_desktop_database_update |
85 |
+ xdg_mimeinfo_database_update |
86 |
+} |