commit: 79993520ea6a94649f9309f7121a513f529a20b8
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 11 07:11:44 2018 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Oct 11 07:13:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79993520
sci-libs/libsigrok: Update icon cache and mime database
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
sci-libs/libsigrok/libsigrok-0.5.0.ebuild | 14 ++++++++++++--
sci-libs/libsigrok/libsigrok-9999.ebuild | 14 ++++++++++++--
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/sci-libs/libsigrok/libsigrok-0.5.0.ebuild
b/sci-libs/libsigrok/libsigrok-0.5.0.ebuild
index 2119698af8f..66e5bbfb814 100644
--- a/sci-libs/libsigrok/libsigrok-0.5.0.ebuild
+++ b/sci-libs/libsigrok/libsigrok-0.5.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
-inherit eutils python-single-r1 java-pkg-opt-2
+inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -80,3 +80,13 @@ src_install() {
default
prune_libtool_files
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild
b/sci-libs/libsigrok/libsigrok-9999.ebuild
index c3a463fbec8..ef12e1f2792 100644
--- a/sci-libs/libsigrok/libsigrok-9999.ebuild
+++ b/sci-libs/libsigrok/libsigrok-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
-inherit eutils python-single-r1 java-pkg-opt-2
+inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -80,3 +80,13 @@ src_install() {
default
prune_libtool_files
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}