summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefanCristian <steven.darklight@gmail.com>2017-12-12 00:06:30 +0200
committerMichael Palimaka <kensington@gentoo.org>2017-12-21 20:44:09 +1100
commit3a2b0d4e267ecdc010bab1ea0736310f1a7ec809 (patch)
tree757175322fb5b0f206bdfe0aad49668870240ed8
parentmedia-sound/qsynth: Drop old (diff)
downloadgentoo-3a2b0d4e267ecdc010bab1ea0736310f1a7ec809.tar.gz
gentoo-3a2b0d4e267ecdc010bab1ea0736310f1a7ec809.tar.bz2
gentoo-3a2b0d4e267ecdc010bab1ea0736310f1a7ec809.zip
www-client/qupzilla: enhance with xdg_desktop_database_update
Closes: https://bugs.gentoo.org/640776 Closes: https://github.com/gentoo/gentoo/pull/6525
-rw-r--r--www-client/qupzilla/qupzilla-2.1.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/www-client/qupzilla/qupzilla-2.1.2.ebuild b/www-client/qupzilla/qupzilla-2.1.2.ebuild
index c17924c3323c..2ea1fc82dbec 100644
--- a/www-client/qupzilla/qupzilla-2.1.2.ebuild
+++ b/www-client/qupzilla/qupzilla-2.1.2.ebuild
@@ -12,7 +12,7 @@ PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_ES es_MX es_VE eu_ES
PLUGINS_HASH='c332d306c0f6cf645c75eaf198d2fc5e12339e9e'
PLUGINS_VERSION='2016.05.02' # if there are no updates, we can use the older archive
-inherit l10n qmake-utils
+inherit l10n qmake-utils xdg-utils
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -107,3 +107,11 @@ src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}