media-gfx/fotoxx: fdo-mime -> xdg-utils
authorMarty E. Plummer <hanetzer@startmail.com>
Wed, 4 Apr 2018 01:53:25 +0000 (20:53 -0500)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 4 Apr 2018 23:02:59 +0000 (01:02 +0200)
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
media-gfx/fotoxx/fotoxx-15.05.ebuild

index 5f911c91bb97affeb8b649b6aad9428f9890b93f..7f07dc6d0c3d3a22eff56f8394382c880d92ddb7 100644 (file)
@@ -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
 }
index 5f911c91bb97affeb8b649b6aad9428f9890b93f..7f07dc6d0c3d3a22eff56f8394382c880d92ddb7 100644 (file)
@@ -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
 }