commit:     5607f1ebf4b7621ec053144984064609b48d87d1
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 21:43:53 2017 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 21:44:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5607f1eb

app-editors/xemacs: Use xdg_desktop_database_update

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-editors/xemacs/xemacs-21.4.24-r1.ebuild | 4 +++-
 app-editors/xemacs/xemacs-21.4.24.ebuild    | 4 +++-
 app-editors/xemacs/xemacs-21.5.34-r4.ebuild | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-editors/xemacs/xemacs-21.4.24-r1.ebuild 
b/app-editors/xemacs/xemacs-21.4.24-r1.ebuild
index 980a68d80e3..6975de5d429 100644
--- a/app-editors/xemacs/xemacs-21.4.24-r1.ebuild
+++ b/app-editors/xemacs/xemacs-21.4.24-r1.ebuild
@@ -7,7 +7,7 @@
 EAPI="5"
 
 WANT_AUTOCONF="2.1"
-inherit autotools eutils flag-o-matic toolchain-funcs
+inherit autotools eutils flag-o-matic toolchain-funcs xdg-utils
 
 DESCRIPTION="highly customizable open source text editor and application 
development system"
 HOMEPAGE="http://www.xemacs.org/";
@@ -233,9 +233,11 @@ src_install() {
 pkg_postinst() {
        eselect emacs update ifunset
        eselect gnuclient update ifunset
+       xdg_desktop_database_update
 }
 
 pkg_postrm() {
        eselect emacs update ifunset
        eselect gnuclient update ifunset
+       xdg_desktop_database_update
 }

diff --git a/app-editors/xemacs/xemacs-21.4.24.ebuild 
b/app-editors/xemacs/xemacs-21.4.24.ebuild
index 4c1eaa52fd0..a1297fa3699 100644
--- a/app-editors/xemacs/xemacs-21.4.24.ebuild
+++ b/app-editors/xemacs/xemacs-21.4.24.ebuild
@@ -7,7 +7,7 @@
 EAPI="5"
 
 WANT_AUTOCONF="2.1"
-inherit autotools eutils flag-o-matic toolchain-funcs
+inherit autotools eutils flag-o-matic toolchain-funcs xdg-utils
 
 DESCRIPTION="highly customizable open source text editor and application 
development system"
 HOMEPAGE="http://www.xemacs.org/";
@@ -235,9 +235,11 @@ src_install() {
 pkg_postinst() {
        eselect emacs update ifunset
        eselect gnuclient update ifunset
+       xdg_desktop_database_update
 }
 
 pkg_postrm() {
        eselect emacs update ifunset
        eselect gnuclient update ifunset
+       xdg_desktop_database_update
 }

diff --git a/app-editors/xemacs/xemacs-21.5.34-r4.ebuild 
b/app-editors/xemacs/xemacs-21.5.34-r4.ebuild
index d806967cce4..c060855e592 100644
--- a/app-editors/xemacs/xemacs-21.5.34-r4.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.34-r4.ebuild
@@ -7,7 +7,7 @@
 EAPI=5
 
 WANT_AUTOCONF="2.5"
-inherit eutils flag-o-matic multilib
+inherit eutils flag-o-matic multilib xdg-utils
 
 DESCRIPTION="highly customizable open source text editor and application 
development system"
 HOMEPAGE="http://www.xemacs.org/";
@@ -235,6 +235,7 @@ src_install() {
 pkg_postinst() {
        eselect emacs update ifunset
        eselect gnuclient update ifunset
+       xdg_desktop_database_update
 
        einfo "If you are upgrading from XEmacs 21.4 you should note the 
following"
        einfo "incompatibilities:"
@@ -252,4 +253,5 @@ pkg_postinst() {
 pkg_postrm() {
        eselect emacs update ifunset
        eselect gnuclient update ifunset
+       xdg_desktop_database_update
 }

Reply via email to