summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-03-02 10:33:45 +0000
committerTim Harder <radhermit@gentoo.org>2013-03-02 10:33:45 +0000
commit8a528b6d1ac03d7e5af5dccf8306a3f4a0e3fd9c (patch)
tree307770d3b7b7114281006b354b4caef75e1f736b /media-gfx/ufraw
parentVersion bump. (diff)
downloadgentoo-2-8a528b6d1ac03d7e5af5dccf8306a3f4a0e3fd9c.tar.gz
gentoo-2-8a528b6d1ac03d7e5af5dccf8306a3f4a0e3fd9c.tar.bz2
gentoo-2-8a528b6d1ac03d7e5af5dccf8306a3f4a0e3fd9c.zip
Version bump.
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx/ufraw')
-rw-r--r--media-gfx/ufraw/ChangeLog9
-rw-r--r--media-gfx/ufraw/ufraw-0.19.ebuild75
2 files changed, 82 insertions, 2 deletions
diff --git a/media-gfx/ufraw/ChangeLog b/media-gfx/ufraw/ChangeLog
index bf41ba28db6c..ff230d65a95e 100644
--- a/media-gfx/ufraw/ChangeLog
+++ b/media-gfx/ufraw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/ufraw
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.100 2012/12/09 16:36:27 maekke Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.101 2013/03/02 10:33:45 radhermit Exp $
+
+*ufraw-0.19 (02 Mar 2013)
+
+ 02 Mar 2013; Tim Harder <radhermit@gentoo.org> +ufraw-0.19.ebuild:
+ Version bump.
09 Dec 2012; Markus Meier <maekke@gentoo.org> ufraw-0.18.ebuild:
enable verbose build output by Agostino Sarubbo in bug #443000
diff --git a/media-gfx/ufraw/ufraw-0.19.ebuild b/media-gfx/ufraw/ufraw-0.19.ebuild
new file mode 100644
index 000000000000..15518c2ebe97
--- /dev/null
+++ b/media-gfx/ufraw/ufraw-0.19.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.19.ebuild,v 1.1 2013/03/02 10:33:45 radhermit Exp $
+
+EAPI=5
+inherit autotools eutils fdo-mime gnome2-utils
+
+DESCRIPTION="RAW Image format viewer and GIMP plugin"
+HOMEPAGE="http://ufraw.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE="contrast fits gimp gnome gtk openmp timezone"
+
+RDEPEND="dev-libs/glib:2
+ >=media-gfx/exiv2-0.11
+ virtual/jpeg
+ media-libs/lcms:0
+ >=media-libs/lensfun-0.2.5
+ media-libs/tiff
+ fits? ( sci-libs/cfitsio )
+ gnome? ( >=gnome-base/gconf-2 )
+ gtk? ( >=x11-libs/gtk+-2.6:2
+ >=media-gfx/gtkimageview-1.5 )
+ gimp? ( >=x11-libs/gtk+-2.6:2
+ >=media-gfx/gtkimageview-1.5
+ >=media-gfx/gimp-2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --without-cinepaint \
+ $(use_enable contrast) \
+ $(use_with fits cfitsio) \
+ $(use_with gimp) \
+ $(use_enable gnome mime) \
+ $(use_with gtk) \
+ $(use_enable openmp) \
+ $(use_enable timezone dst-correction) \
+ $(usex gimp --with-gtk "")
+}
+
+src_install() {
+ emake DESTDIR="${D}" schemasdir=/etc/gconf/schemas install
+ dodoc README TODO
+}
+
+pkg_preinst() {
+ if use gnome; then
+ gnome2_gconf_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gnome; then
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+ gnome2_gconf_install
+ fi
+}
+
+pkg_postrm() {
+ if use gnome; then
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ fi
+}