1 |
commit: 79993520ea6a94649f9309f7121a513f529a20b8 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 11 07:11:44 2018 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 11 07:13:17 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79993520 |
7 |
|
8 |
sci-libs/libsigrok: Update icon cache and mime database |
9 |
|
10 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
sci-libs/libsigrok/libsigrok-0.5.0.ebuild | 14 ++++++++++++-- |
14 |
sci-libs/libsigrok/libsigrok-9999.ebuild | 14 ++++++++++++-- |
15 |
2 files changed, 24 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/libsigrok/libsigrok-0.5.0.ebuild b/sci-libs/libsigrok/libsigrok-0.5.0.ebuild |
18 |
index 2119698af8f..66e5bbfb814 100644 |
19 |
--- a/sci-libs/libsigrok/libsigrok-0.5.0.ebuild |
20 |
+++ b/sci-libs/libsigrok/libsigrok-0.5.0.ebuild |
21 |
@@ -1,11 +1,11 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI="6" |
27 |
|
28 |
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
29 |
|
30 |
-inherit eutils python-single-r1 java-pkg-opt-2 |
31 |
+inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils |
32 |
|
33 |
if [[ ${PV} == "9999" ]]; then |
34 |
EGIT_REPO_URI="git://sigrok.org/${PN}" |
35 |
@@ -80,3 +80,13 @@ src_install() { |
36 |
default |
37 |
prune_libtool_files |
38 |
} |
39 |
+ |
40 |
+pkg_postinst() { |
41 |
+ gnome2_icon_cache_update |
42 |
+ xdg_desktop_database_update |
43 |
+} |
44 |
+ |
45 |
+pkg_postrm() { |
46 |
+ gnome2_icon_cache_update |
47 |
+ xdg_desktop_database_update |
48 |
+} |
49 |
|
50 |
diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild |
51 |
index c3a463fbec8..ef12e1f2792 100644 |
52 |
--- a/sci-libs/libsigrok/libsigrok-9999.ebuild |
53 |
+++ b/sci-libs/libsigrok/libsigrok-9999.ebuild |
54 |
@@ -1,11 +1,11 @@ |
55 |
-# Copyright 1999-2018 Gentoo Foundation |
56 |
+# Copyright 1999-2018 Gentoo Authors |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
|
59 |
EAPI="6" |
60 |
|
61 |
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
62 |
|
63 |
-inherit eutils python-single-r1 java-pkg-opt-2 |
64 |
+inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils |
65 |
|
66 |
if [[ ${PV} == "9999" ]]; then |
67 |
EGIT_REPO_URI="git://sigrok.org/${PN}" |
68 |
@@ -80,3 +80,13 @@ src_install() { |
69 |
default |
70 |
prune_libtool_files |
71 |
} |
72 |
+ |
73 |
+pkg_postinst() { |
74 |
+ gnome2_icon_cache_update |
75 |
+ xdg_desktop_database_update |
76 |
+} |
77 |
+ |
78 |
+pkg_postrm() { |
79 |
+ gnome2_icon_cache_update |
80 |
+ xdg_desktop_database_update |
81 |
+} |