summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2007-12-02 22:42:23 +0000
committerMarkus Meier <maekke@gentoo.org>2007-12-02 22:42:23 +0000
commit3ac6ef91096e6820328f125007e1d7b4b41d2352 (patch)
tree5398e8b448980215e2ece9f740c08d09de6e6978 /media-gfx
parentmake a patchset tarball (diff)
downloadgentoo-2-3ac6ef91096e6820328f125007e1d7b4b41d2352.tar.gz
gentoo-2-3ac6ef91096e6820328f125007e1d7b4b41d2352.tar.bz2
gentoo-2-3ac6ef91096e6820328f125007e1d7b4b41d2352.zip
bump to 0.13, bug #187933
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/ufraw/ChangeLog8
-rw-r--r--media-gfx/ufraw/files/digest-ufraw-0.133
-rw-r--r--media-gfx/ufraw/files/ufraw-0.13-cflags.patch25
-rw-r--r--media-gfx/ufraw/ufraw-0.13.ebuild52
4 files changed, 87 insertions, 1 deletions
diff --git a/media-gfx/ufraw/ChangeLog b/media-gfx/ufraw/ChangeLog
index 405c0d085528..53c1cd4974b5 100644
--- a/media-gfx/ufraw/ChangeLog
+++ b/media-gfx/ufraw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/ufraw
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.13 2007/07/15 09:24:43 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.14 2007/12/02 22:42:22 maekke Exp $
+
+*ufraw-0.13 (02 Dec 2007)
+
+ 02 Dec 2007; Markus Meier <maekke@gentoo.org>
+ +files/ufraw-0.13-cflags.patch, +ufraw-0.13.ebuild:
+ bump to 0.13, bug #187933
15 Jul 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Assigning to graphics, as nattfodd is being retired (#108329).
diff --git a/media-gfx/ufraw/files/digest-ufraw-0.13 b/media-gfx/ufraw/files/digest-ufraw-0.13
new file mode 100644
index 000000000000..bc18f8fba53d
--- /dev/null
+++ b/media-gfx/ufraw/files/digest-ufraw-0.13
@@ -0,0 +1,3 @@
+MD5 6470f787a8f62f6e1642161e3c8d557b ufraw-0.13.tar.gz 662029
+RMD160 307053386aedb49b932b5dd098f6deb988d6c628 ufraw-0.13.tar.gz 662029
+SHA256 e2beb90c96e419631b4b7d89ea5eb587a714cf26cde7cc3df42d261fa1a343b1 ufraw-0.13.tar.gz 662029
diff --git a/media-gfx/ufraw/files/ufraw-0.13-cflags.patch b/media-gfx/ufraw/files/ufraw-0.13-cflags.patch
new file mode 100644
index 000000000000..e7c7d0b89639
--- /dev/null
+++ b/media-gfx/ufraw/files/ufraw-0.13-cflags.patch
@@ -0,0 +1,25 @@
+--- configure.ac.orig 2007-12-02 23:24:30.000000000 +0100
++++ configure.ac 2007-12-02 23:25:10.000000000 +0100
+@@ -29,14 +29,14 @@
+ esac
+
+ # default CFLAGS, CXXFLAGS for GCC in case they were not set by the user.
+-if test "$GCC" = "yes"; then
+- if test "$ac_test_CFLAGS" != "set"; then
+- CFLAGS="-W -Wall -g -O3 -ffast-math -fomit-frame-pointer $UFRAW_MARCH"
+- fi
+- if test "$ac_test_CXXFLAGS" != "set"; then
+- CXXFLAGS="-W -Wall -g -O3 -ffast-math -fomit-frame-pointer $UFRAW_MARCH"
+- fi
+-fi
++dnl if test "$GCC" = "yes"; then
++dnl if test "$ac_test_CFLAGS" != "set"; then
++dnl CFLAGS="-W -Wall -g -O3 -ffast-math -fomit-frame-pointer $UFRAW_MARCH"
++dnl fi
++dnl if test "$ac_test_CXXFLAGS" != "set"; then
++dnl CXXFLAGS="-W -Wall -g -O3 -ffast-math -fomit-frame-pointer $UFRAW_MARCH"
++dnl fi
++dnl fi
+
+ # windows will require some special attention
+ case $host_os in
diff --git a/media-gfx/ufraw/ufraw-0.13.ebuild b/media-gfx/ufraw/ufraw-0.13.ebuild
new file mode 100644
index 000000000000..048b0937a607
--- /dev/null
+++ b/media-gfx/ufraw/ufraw-0.13.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.13.ebuild,v 1.1 2007/12/02 22:42:22 maekke Exp $
+
+inherit eutils autotools 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="~amd64 ~ppc ~x86"
+IUSE="gimp exif gnome"
+
+DEPEND=">=x11-libs/gtk+-2.4.0
+ gimp? ( >=media-gfx/gimp-2.0 )
+ exif? ( >=media-libs/libexif-0.6.13
+ media-gfx/exiv2 )
+ gnome? ( gnome-base/gconf )
+ media-libs/jpeg
+ media-libs/tiff
+ >=media-libs/lcms-1.13"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf || die "failed running autoreconf"
+}
+
+src_compile() {
+ econf `use_enable gimp` \
+ `use_with exif libexif` \
+ `use_with exif exiv2` \
+ `use_enable gnome mime` || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc README TODO || die "doc installation failed"
+}
+
+pkg_postinst() {
+ if use gnome ; then
+ fdo-mime_mime_database_update
+ gnome2_gconf_install
+ fdo-mime_desktop_database_update
+ fi
+}