From 71037aeb17cbc3d7e1602ae38a863d896a83af4e Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Mon, 30 Oct 2017 13:09:58 +0000 Subject: sci-electronics/pulseview: Update icon cache and desktop database, bug #635406 Package-Manager: Portage-2.3.8, Repoman-2.3.4 --- sci-electronics/pulseview/pulseview-0.4.0.ebuild | 12 +++++++++++- sci-electronics/pulseview/pulseview-9999.ebuild | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) (limited to 'sci-electronics/pulseview') 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 +} -- cgit v1.2.3-65-gdbad