Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media-gfx/fotoxx: fdo-mime migration #7797

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions media-gfx/fotoxx/fotoxx-13.11.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 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.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
}