From: Marty E. Plummer Date: Wed, 4 Apr 2018 01:53:25 +0000 (-0500) Subject: media-gfx/fotoxx: fdo-mime -> xdg-utils X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9b3456cd05b71221a2458ecbb057f478a854e58d;p=gentoo.git 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 --- diff --git a/media-gfx/fotoxx/fotoxx-15.04.1.ebuild b/media-gfx/fotoxx/fotoxx-15.04.1.ebuild index 5f911c91bb97..7f07dc6d0c3d 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 5f911c91bb97..7f07dc6d0c3d 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 }