summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2017-10-30 13:09:58 +0000
committerSven Wegener <swegener@gentoo.org>2017-10-30 13:27:39 +0000
commit71037aeb17cbc3d7e1602ae38a863d896a83af4e (patch)
tree113c61a4390aa5a78ea8b3a4017076c9f86c9f6e /sci-electronics/pulseview
parentsci-electronics/sigrok-cli: Cleanup (diff)
downloadgentoo-71037aeb17cbc3d7e1602ae38a863d896a83af4e.tar.gz
gentoo-71037aeb17cbc3d7e1602ae38a863d896a83af4e.tar.bz2
gentoo-71037aeb17cbc3d7e1602ae38a863d896a83af4e.zip
sci-electronics/pulseview: Update icon cache and desktop database, bug #635406
Package-Manager: Portage-2.3.8, Repoman-2.3.4
Diffstat (limited to 'sci-electronics/pulseview')
-rw-r--r--sci-electronics/pulseview/pulseview-0.4.0.ebuild12
-rw-r--r--sci-electronics/pulseview/pulseview-9999.ebuild12
2 files changed, 22 insertions, 2 deletions
diff --git a/sci-electronics/pulseview/pulseview-0.4.0.ebuild b/sci-electronics/pulseview/pulseview-0.4.0.ebuild
index e7a4a92ef4c7..0b7e367cae17 100644
--- a/sci-electronics/pulseview/pulseview-0.4.0.ebuild
+++ b/sci-electronics/pulseview/pulseview-0.4.0.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
-inherit cmake-utils python-single-r1
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -49,3 +49,13 @@ src_configure() {
)
cmake-utils_src_configure
}
+
+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/pulseview/pulseview-9999.ebuild b/sci-electronics/pulseview/pulseview-9999.ebuild
index e7a4a92ef4c7..0b7e367cae17 100644
--- a/sci-electronics/pulseview/pulseview-9999.ebuild
+++ b/sci-electronics/pulseview/pulseview-9999.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
-inherit cmake-utils python-single-r1
+inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -49,3 +49,13 @@ src_configure() {
)
cmake-utils_src_configure
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}