commit:     570cc96228ecc908cc41ab719d3415df05f5adfe
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 19 05:44:05 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 06:09:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570cc962

www-client/dillo: update xdg desxtup database

Closes: https://bugs.gentoo.org/933453
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 www-client/dillo/dillo-3.1.0.ebuild | 10 +++++++++-
 www-client/dillo/dillo-9999.ebuild  | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/www-client/dillo/dillo-3.1.0.ebuild 
b/www-client/dillo/dillo-3.1.0.ebuild
index 22187108639d..03aa65c4046e 100644
--- a/www-client/dillo/dillo-3.1.0.ebuild
+++ b/www-client/dillo/dillo-3.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs virtualx
+inherit autotools toolchain-funcs virtualx xdg-utils
 
 DESCRIPTION="Lean FLTK based web browser"
 HOMEPAGE="https://dillo-browser.github.io/";
@@ -104,3 +104,11 @@ src_install() {
 
        use doc && dodoc -r html
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

diff --git a/www-client/dillo/dillo-9999.ebuild 
b/www-client/dillo/dillo-9999.ebuild
index dc06be8e2058..e1184d7c6667 100644
--- a/www-client/dillo/dillo-9999.ebuild
+++ b/www-client/dillo/dillo-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs virtualx
+inherit autotools toolchain-funcs virtualx xdg-utils
 
 DESCRIPTION="Lean FLTK based web browser"
 HOMEPAGE="https://dillo-browser.github.io/";
@@ -90,3 +90,11 @@ src_install() {
 
        use doc && dodoc -r html
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to