-# 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"
media-gfx/dcraw
x11-misc/xdg-utils"
-src_prepare() {
- epatch "${FILESDIR}"/${PF}.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${PF}.patch
+)
src_compile() {
tc-export CXX
}
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
}
-# 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"
media-gfx/dcraw
x11-misc/xdg-utils"
-src_prepare() {
- epatch "${FILESDIR}"/${PF}.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${PF}.patch
+)
src_compile() {
tc-export CXX
}
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
}