commit:     9b3456cd05b71221a2458ecbb057f478a854e58d
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Wed Apr  4 01:53:25 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr  4 23:02:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b3456cd

media-gfx/fotoxx: fdo-mime -> xdg-utils

Also replaced eutils with desktop for newmenu.

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

 media-gfx/fotoxx/fotoxx-15.04.1.ebuild | 20 ++++++++++----------
 media-gfx/fotoxx/fotoxx-15.05.ebuild   | 20 ++++++++++----------
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/media-gfx/fotoxx/fotoxx-15.04.1.ebuild 
b/media-gfx/fotoxx/fotoxx-15.04.1.ebuild
index 5f911c91bb9..7f07dc6d0c3 100644
--- a/media-gfx/fotoxx/fotoxx-15.04.1.ebuild
+++ b/media-gfx/fotoxx/fotoxx-15.04.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit eutils toolchain-funcs fdo-mime
+inherit desktop toolchain-funcs xdg-utils
 
 DESCRIPTION="Program for improving image files made with a digital camera"
 HOMEPAGE="http://www.kornelix.com/fotoxx.html";
@@ -25,9 +25,9 @@ RDEPEND="${DEPEND}
        media-gfx/dcraw
        x11-misc/xdg-utils"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PF}.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${PF}.patch
+)
 
 src_compile() {
        tc-export CXX
@@ -44,11 +44,11 @@ src_install() {
 }
 
 pkg_postinst() {
-       fdo-mime_mime_database_update
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }

diff --git a/media-gfx/fotoxx/fotoxx-15.05.ebuild 
b/media-gfx/fotoxx/fotoxx-15.05.ebuild
index 5f911c91bb9..7f07dc6d0c3 100644
--- a/media-gfx/fotoxx/fotoxx-15.05.ebuild
+++ b/media-gfx/fotoxx/fotoxx-15.05.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit eutils toolchain-funcs fdo-mime
+inherit desktop toolchain-funcs xdg-utils
 
 DESCRIPTION="Program for improving image files made with a digital camera"
 HOMEPAGE="http://www.kornelix.com/fotoxx.html";
@@ -25,9 +25,9 @@ RDEPEND="${DEPEND}
        media-gfx/dcraw
        x11-misc/xdg-utils"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PF}.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${PF}.patch
+)
 
 src_compile() {
        tc-export CXX
@@ -44,11 +44,11 @@ src_install() {
 }
 
 pkg_postinst() {
-       fdo-mime_mime_database_update
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }

Reply via email to