www-client/qutebrowser: Fix live ebuild .desktop generation
authorDarkDefender <darkdefende@gmail.com>
Sun, 29 Dec 2019 14:30:43 +0000 (15:30 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Fri, 3 Jan 2020 09:14:26 +0000 (11:14 +0200)
The live ebuild recently stopped producing `.desktop` files.
Therefore qutebrowser did have any start menu entries.

I've just synced the code that is responsible for this with the non
live ebuild. It seems to work fine.

Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14168
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
www-client/qutebrowser/qutebrowser-9999.ebuild

index 4786a63c56fb514355220b9b7307d3c20f80f773..2243e4e7da93c09306b91587fee072e6ecc2f468 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python{3_5,3_6,3_7} )
 
-inherit distutils-r1 eutils xdg-utils
+inherit desktop distutils-r1 eutils xdg-utils
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
@@ -77,12 +77,12 @@ python_install_all() {
 pkg_postinst() {
        optfeature "PDF display support" www-plugins/pdfjs
        xdg_desktop_database_update
+       xdg_icon_cache_update
        xdg_mimeinfo_database_update
-       gnome2_icon_cache_update
 }
 
 pkg_postrm() {
        xdg_desktop_database_update
+       xdg_icon_cache_update
        xdg_mimeinfo_database_update
-       gnome2_icon_cache_update
 }