summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-11-22 18:40:24 +0000
committerSven Wegener <swegener@gentoo.org>2018-11-22 18:40:24 +0000
commit8f63c6f2d3412e985eb919c1f211df38ea93ddee (patch)
tree0dfae7239b66c42e5a88a71af1846ca9ae8749ed
parentwww-client/vivaldi: Old (diff)
downloadgentoo-8f63c6f2d3412e985eb919c1f211df38ea93ddee.tar.gz
gentoo-8f63c6f2d3412e985eb919c1f211df38ea93ddee.tar.bz2
gentoo-8f63c6f2d3412e985eb919c1f211df38ea93ddee.zip
sci-electronics/sigrok-cli: Update icon cache and desktop database
Signed-off-by: Sven Wegener <swegener@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild12
-rw-r--r--sci-electronics/sigrok-cli/sigrok-cli-9999.ebuild14
2 files changed, 23 insertions, 3 deletions
diff --git a/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild
index b94222c62b5..553ed7bf8c6 100644
--- a/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild
+++ b/sci-electronics/sigrok-cli/sigrok-cli-0.7.1.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
-inherit python-single-r1
+inherit gnome2-utils python-single-r1 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -40,3 +40,13 @@ src_prepare() {
src_configure() {
econf $(use_with decode libsigrokdecode)
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/sci-electronics/sigrok-cli/sigrok-cli-9999.ebuild b/sci-electronics/sigrok-cli/sigrok-cli-9999.ebuild
index 05ed1f40fa7..553ed7bf8c6 100644
--- a/sci-electronics/sigrok-cli/sigrok-cli-9999.ebuild
+++ b/sci-electronics/sigrok-cli/sigrok-cli-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=( python3_{4,5,6} )
-inherit python-single-r1
+inherit gnome2-utils python-single-r1 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -40,3 +40,13 @@ src_prepare() {
src_configure() {
econf $(use_with decode libsigrokdecode)
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}