Skip to content

Commit

Permalink
media-gfx/fotoxx: fdo-mime -> xdg-utils
Browse files Browse the repository at this point in the history
Also replaced eutils with desktop for newmenu.

Package-Manager: Portage-2.3.27, Repoman-2.3.9
Closes: #7797
  • Loading branch information
hanetzer authored and a17r committed Apr 4, 2018
1 parent 2fc02bb commit 9b3456c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions 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"
Expand All @@ -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
Expand All @@ -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
}
20 changes: 10 additions & 10 deletions 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"
Expand All @@ -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
Expand All @@ -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
}

0 comments on commit 9b3456c

Please sign in to comment.