summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-09-25 16:46:28 +0200
committerJeroen Roovers <jer@gentoo.org>2017-09-25 16:46:44 +0200
commitdd9224fd5a5dc0ef0fc025b67f266063bdcd92de (patch)
treecd3ff16f2537ffac6662dc3711afae3c1ce91866 /www-client/otter
parentwww-client/opera-developer: Old. (diff)
downloadgentoo-dd9224fd5a5dc0ef0fc025b67f266063bdcd92de.tar.gz
gentoo-dd9224fd5a5dc0ef0fc025b67f266063bdcd92de.tar.bz2
gentoo-dd9224fd5a5dc0ef0fc025b67f266063bdcd92de.zip
www-client/otter: Run things in pkg_postinst()/pkg_postrm().
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'www-client/otter')
-rw-r--r--www-client/otter/otter-0.9.12.ebuild13
-rw-r--r--www-client/otter/otter-9999.ebuild13
2 files changed, 22 insertions, 4 deletions
diff --git a/www-client/otter/otter-0.9.12.ebuild b/www-client/otter/otter-0.9.12.ebuild
index 123171f63030..a2e32ebc01dc 100644
--- a/www-client/otter/otter-0.9.12.ebuild
+++ b/www-client/otter/otter-0.9.12.ebuild
@@ -2,8 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-
-inherit eutils cmake-utils
+inherit eutils cmake-utils gnome2-utils xdg-utils
DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5"
HOMEPAGE="http://otter-browser.org/"
@@ -60,3 +59,13 @@ src_install() {
cmake-utils_src_install
domenu ${PN}-browser.desktop
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/www-client/otter/otter-9999.ebuild b/www-client/otter/otter-9999.ebuild
index fdb1f94ba3ad..012c8341b636 100644
--- a/www-client/otter/otter-9999.ebuild
+++ b/www-client/otter/otter-9999.ebuild
@@ -2,8 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-
-inherit eutils cmake-utils git-r3
+inherit eutils cmake-utils git-r3 gnome2-utils xdg-utils
DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5"
HOMEPAGE="http://otter-browser.org/"
@@ -51,3 +50,13 @@ src_install() {
cmake-utils_src_install
domenu ${PN}-browser.desktop
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}