commit:     bf0386b8aa5ff1d328b9c85fb0484dd7f4759d1e
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Tue Apr  3 23:26:02 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 14:12:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf0386b8

app-editors/efte: fdo-mime xdg-utils migration

Also bumped EAPI, removed eutils, and removed banned use of
cmake-utils_use_build in EAPI=6.

Package-Manager: Portage-2.3.27, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7795

 app-editors/efte/efte-1.1-r1.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/app-editors/efte/efte-1.1-r1.ebuild 
b/app-editors/efte/efte-1.1-r1.ebuild
index 9e1f72bdfde..b62580bce0a 100644
--- a/app-editors/efte/efte-1.1-r1.ebuild
+++ b/app-editors/efte/efte-1.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit eutils cmake-utils fdo-mime
+inherit cmake-utils xdg-utils
 
 DESCRIPTION="A fast text editor supporting folding, syntax highlighting, etc."
 HOMEPAGE="https://github.com/lanurmi/efte";
@@ -32,8 +32,8 @@ PATCHES=(
 
 src_configure() {
        local mycmakeargs=(
-               $(cmake-utils_use_build gpm)
-               $(cmake-utils_use_build X)
+               -DUSE_GPM=$(usex gpm)
+               -DBUILD_X=$(usex X )
        )
        cmake-utils_src_configure
 }
@@ -45,9 +45,9 @@ src_install() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
 }

Reply via email to