diff options
author | Markus Meier <maekke@gentoo.org> | 2015-05-21 19:52:08 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2015-05-21 19:52:08 +0000 |
commit | a28aa195972175a82e32355832a3babc8e58da12 (patch) | |
tree | cce2ab51b28e0eefb6c5dfb0758613f050216e09 /media-gfx/ufraw | |
parent | Reinstate old version due to broken revdeps (diff) | |
download | gentoo-2-a28aa195972175a82e32355832a3babc8e58da12.tar.gz gentoo-2-a28aa195972175a82e32355832a3babc8e58da12.tar.bz2 gentoo-2-a28aa195972175a82e32355832a3babc8e58da12.zip |
version bump by Nikoli in bug #547338
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 072AD062)
Diffstat (limited to 'media-gfx/ufraw')
-rw-r--r-- | media-gfx/ufraw/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/ufraw/ufraw-0.21.ebuild | 80 |
2 files changed, 87 insertions, 2 deletions
diff --git a/media-gfx/ufraw/ChangeLog b/media-gfx/ufraw/ChangeLog index f6563d6f47ec..f1fbf0002a27 100644 --- a/media-gfx/ufraw/ChangeLog +++ b/media-gfx/ufraw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/ufraw -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.132 2014/11/11 20:47:56 maekke Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.133 2015/05/21 19:52:08 maekke Exp $ + +*ufraw-0.21 (21 May 2015) + + 21 May 2015; Markus Meier <maekke@gentoo.org> +ufraw-0.21.ebuild: + version bump by Nikoli in bug #547338 11 Nov 2014; Markus Meier <maekke@gentoo.org> -ufraw-0.19.2.ebuild, -files/ufraw-0.19.2-clang.patch: diff --git a/media-gfx/ufraw/ufraw-0.21.ebuild b/media-gfx/ufraw/ufraw-0.21.ebuild new file mode 100644 index 000000000000..3cb79f853a35 --- /dev/null +++ b/media-gfx/ufraw/ufraw-0.21.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.21.ebuild,v 1.1 2015/05/21 19:52:08 maekke Exp $ + +EAPI=5 +inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs + +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 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="contrast fits gimp gnome gtk openmp timezone" + +REQUIRED_USE="gimp? ( gtk )" + +RDEPEND=" + dev-libs/glib:2= + >=media-gfx/exiv2-0.11:0= + media-libs/lcms:2= + >=media-libs/lensfun-0.2.5:= + media-libs/libpng:0= + media-libs/tiff:0= + virtual/jpeg:0= + fits? ( sci-libs/cfitsio:0= ) + gnome? ( >=gnome-base/gconf-2 ) + gtk? ( >=x11-libs/gtk+-2.6:2 + >=media-gfx/gtkimageview-1.5 ) + gimp? ( >=media-gfx/gimp-2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch + eautoreconf +} + +src_configure() { + econf \ + $(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) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +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 +} |