commit:     3a2b0d4e267ecdc010bab1ea0736310f1a7ec809
Author:     StefanCristian <steven.darklight <AT> gmail <DOT> com>
AuthorDate: Mon Dec 11 22:06:30 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 09:44:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a2b0d4e

www-client/qupzilla: enhance with xdg_desktop_database_update

Closes: https://bugs.gentoo.org/640776
Closes: https://github.com/gentoo/gentoo/pull/6525

 www-client/qupzilla/qupzilla-2.1.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www-client/qupzilla/qupzilla-2.1.2.ebuild 
b/www-client/qupzilla/qupzilla-2.1.2.ebuild
index c17924c3323..2ea1fc82dbe 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
+}

Reply via email to