From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-gfx/fotoxx/fotoxx-15.05.ebuild | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 media-gfx/fotoxx/fotoxx-15.05.ebuild (limited to 'media-gfx/fotoxx/fotoxx-15.05.ebuild') diff --git a/media-gfx/fotoxx/fotoxx-15.05.ebuild b/media-gfx/fotoxx/fotoxx-15.05.ebuild new file mode 100644 index 000000000000..5f911c91bb97 --- /dev/null +++ b/media-gfx/fotoxx/fotoxx-15.05.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs fdo-mime + +DESCRIPTION="Program for improving image files made with a digital camera" +HOMEPAGE="http://www.kornelix.com/fotoxx.html" +SRC_URI="http://www.kornelix.com/uploads/1/3/0/3/13035936/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + x11-libs/gtk+:3 + media-libs/libpng + media-libs/tiff + media-libs/lcms:2" +RDEPEND="${DEPEND} + media-libs/exiftool + media-gfx/ufraw[gtk] + media-gfx/dcraw + x11-misc/xdg-utils" + +src_prepare() { + epatch "${FILESDIR}"/${PF}.patch +} + +src_compile() { + tc-export CXX + emake +} + +src_install() { + # For the Help menu items to work, *.html must be in /usr/share/doc/${PF}, + # and README, changelog, translations, edit-menus, KB-shortcuts must not be compressed + emake DESTDIR="${D}" install + newmenu desktop ${PN}.desktop + rm -f "${D}"/usr/share/doc/${PF}/*.man + docompress -x /usr/share/doc +} + +pkg_postinst() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} -- cgit v1.2.3