summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-05-14 11:09:03 +0200
committerMichał Górny <mgorny@gentoo.org>2018-05-14 11:18:03 +0200
commit813e102c44852e85a05eaeb6f6a984e5f2cd48f9 (patch)
tree709806a6e726b33eed8fbcc8216f04fd26024d18 /www-client
parentwww-client/midori: Run tests in virtualx env (diff)
downloadgentoo-813e102c44852e85a05eaeb6f6a984e5f2cd48f9.tar.gz
gentoo-813e102c44852e85a05eaeb6f6a984e5f2cd48f9.tar.bz2
gentoo-813e102c44852e85a05eaeb6f6a984e5f2cd48f9.zip
www-client/midori: Stop using gnome2.eclass
Diffstat (limited to 'www-client')
-rw-r--r--www-client/midori/midori-0.5.11-r2.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/www-client/midori/midori-0.5.11-r2.ebuild b/www-client/midori/midori-0.5.11-r2.ebuild
index ae182d45fa4..6b7ef90da64 100644
--- a/www-client/midori/midori-0.5.11-r2.ebuild
+++ b/www-client/midori/midori-0.5.11-r2.ebuild
@@ -8,7 +8,7 @@ PYTHON_REQ_USE='threads(+)'
VALA_MAX_API_VERSION=0.34
-inherit gnome2 pax-utils python-any-r1 cmake-utils vala virtualx
+inherit cmake-utils gnome2-utils pax-utils python-any-r1 vala virtualx xdg-utils
DESCRIPTION="A lightweight web browser based on WebKitGTK+"
HOMEPAGE="http://www.midori-browser.org/"
@@ -51,7 +51,6 @@ src_prepare() {
eapply "${FILESDIR}"/${P}-libsoup.patch #587448
cmake-utils_src_prepare
- gnome2_src_prepare
vala_src_prepare
sed -i -e '/^install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt || die
}
@@ -78,6 +77,12 @@ src_test() {
virtx cmake-utils_src_test
}
-src_install() {
- cmake-utils_src_install
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
}