summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-04-03 20:53:25 -0500
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-05 01:02:59 +0200
commit9b3456cd05b71221a2458ecbb057f478a854e58d (patch)
tree910dcb2cd2482abbcb319ebe71f3ed4de11e355b /media-gfx
parentx11-misc/sunflower: Drop obsolete gnome2_icon_savelist (diff)
downloadgentoo-9b3456cd05b71221a2458ecbb057f478a854e58d.tar.gz
gentoo-9b3456cd05b71221a2458ecbb057f478a854e58d.tar.bz2
gentoo-9b3456cd05b71221a2458ecbb057f478a854e58d.zip
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
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/fotoxx/fotoxx-15.04.1.ebuild20
-rw-r--r--media-gfx/fotoxx/fotoxx-15.05.ebuild20
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 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
}