From: Sven Wegener Date: Thu, 11 Oct 2018 07:11:44 +0000 (+0000) Subject: sci-libs/libsigrok: Update icon cache and mime database X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=79993520ea6a94649f9309f7121a513f529a20b8;p=gentoo.git sci-libs/libsigrok: Update icon cache and mime database Signed-off-by: Sven Wegener Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- diff --git a/sci-libs/libsigrok/libsigrok-0.5.0.ebuild b/sci-libs/libsigrok/libsigrok-0.5.0.ebuild index 2119698af8f7..66e5bbfb8146 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 c3a463fbec8a..ef12e1f27924 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 +}