1 |
commit: b51e003462713e736b200f4041a1fc3e0e483ef8 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 3 22:26:47 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 3 22:39:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=b51e0034 |
7 |
|
8 |
kde-frameworks/kcoreaddons: Add missing xdg_mimeinfo_database_update |
9 |
|
10 |
Thankfully, the only Framework needing this. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/735724 |
13 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
kde-frameworks/kcoreaddons/kcoreaddons-5.73.0.ebuild | 12 +++++++++++- |
17 |
kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild | 12 +++++++++++- |
18 |
2 files changed, 22 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-5.73.0.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-5.73.0.ebuild |
21 |
index d76fdb4f92..4e2dc41468 100644 |
22 |
--- a/kde-frameworks/kcoreaddons/kcoreaddons-5.73.0.ebuild |
23 |
+++ b/kde-frameworks/kcoreaddons/kcoreaddons-5.73.0.ebuild |
24 |
@@ -4,7 +4,7 @@ |
25 |
EAPI=7 |
26 |
|
27 |
QTMIN=5.14.2 |
28 |
-inherit ecm kde.org |
29 |
+inherit ecm kde.org xdg-utils |
30 |
|
31 |
DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more" |
32 |
LICENSE="LGPL-2+" |
33 |
@@ -38,3 +38,13 @@ src_test() { |
34 |
|
35 |
ecm_src_test |
36 |
} |
37 |
+ |
38 |
+pkg_postinst() { |
39 |
+ ecm_pkg_postinst |
40 |
+ xdg_mimeinfo_database_update |
41 |
+} |
42 |
+ |
43 |
+pkg_postrm() { |
44 |
+ ecm_pkg_postrm |
45 |
+ xdg_mimeinfo_database_update |
46 |
+} |
47 |
|
48 |
diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild |
49 |
index 29d90bf214..1d9a96ae4d 100644 |
50 |
--- a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild |
51 |
+++ b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild |
52 |
@@ -4,7 +4,7 @@ |
53 |
EAPI=7 |
54 |
|
55 |
QTMIN=5.14.2 |
56 |
-inherit ecm kde.org |
57 |
+inherit ecm kde.org xdg-utils |
58 |
|
59 |
DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more" |
60 |
LICENSE="LGPL-2+" |
61 |
@@ -38,3 +38,13 @@ src_test() { |
62 |
|
63 |
ecm_src_test |
64 |
} |
65 |
+ |
66 |
+pkg_postinst() { |
67 |
+ ecm_pkg_postinst |
68 |
+ xdg_mimeinfo_database_update |
69 |
+} |
70 |
+ |
71 |
+pkg_postrm() { |
72 |
+ ecm_pkg_postrm |
73 |
+ xdg_mimeinfo_database_update |
74 |
+} |