summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2006-12-12 17:32:59 +0000
committerWolfram Schlich <wschlich@gentoo.org>2006-12-12 17:32:59 +0000
commit9498a2c9d01794cfa86c4b28d0a322323d10e4a7 (patch)
tree3a6e90a878b9f0adc98da5d5039e4e1cb65903cb /media-gfx/dcraw
parentAdded sparc stable keyword (diff)
downloadgentoo-2-9498a2c9d01794cfa86c4b28d0a322323d10e4a7.tar.gz
gentoo-2-9498a2c9d01794cfa86c4b28d0a322323d10e4a7.tar.bz2
gentoo-2-9498a2c9d01794cfa86c4b28d0a322323d10e4a7.zip
version bump; now includes rawphoto gimp plugin
(Portage version: 2.1.1_pre4-r3)
Diffstat (limited to 'media-gfx/dcraw')
-rw-r--r--media-gfx/dcraw/ChangeLog7
-rw-r--r--media-gfx/dcraw/dcraw-8.45.ebuild80
-rw-r--r--media-gfx/dcraw/files/digest-dcraw-8.453
3 files changed, 89 insertions, 1 deletions
diff --git a/media-gfx/dcraw/ChangeLog b/media-gfx/dcraw/ChangeLog
index bdf375fd309a..80341203f88a 100644
--- a/media-gfx/dcraw/ChangeLog
+++ b/media-gfx/dcraw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/dcraw
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.31 2006/10/01 09:08:52 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.32 2006/12/12 17:32:59 wschlich Exp $
+
+*dcraw-8.45 (12 Dec 2006)
+
+ 12 Dec 2006; Wolfram Schlich <wschlich@gentoo.org> +dcraw-8.45.ebuild:
+ version bump; now includes rawphoto gimp plugin
01 Oct 2006; Wolfram Schlich <wschlich@gentoo.org> dcraw-8.39.ebuild:
ebuild fixup
diff --git a/media-gfx/dcraw/dcraw-8.45.ebuild b/media-gfx/dcraw/dcraw-8.45.ebuild
new file mode 100644
index 000000000000..f311f0f1840c
--- /dev/null
+++ b/media-gfx/dcraw/dcraw-8.45.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/dcraw-8.45.ebuild,v 1.1 2006/12/12 17:32:59 wschlich Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Converts the native (RAW) format of various digital cameras into netpbm portable pixmap (.ppm) image"
+HOMEPAGE="http://www.cybercom.net/~dcoffin/dcraw/"
+SRC_URI="http://dev.gentoo.org/~wschlich/src/media-gfx/dcraw/${P}.tar.bz2"
+LICENSE="freedist GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gimp"
+
+DEPEND="virtual/libc
+ >=media-libs/jpeg-6b
+ media-libs/lcms
+ gimp? ( media-gfx/gimp )"
+
+RDEPEND="${DEPEND}
+ media-libs/netpbm"
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "make failed"
+
+ # rawphoto gimp plugin
+ if use gimp; then
+
+ # find gimptool (ugly!)
+ local gimptool=/usr/bin/gimptool
+ if [ ! -x ${gimptool} ]; then
+ gimptool=${gimptool}-2.0
+ if [ ! -x ${gimptool} ]; then
+ die "Couldn't find gimptool. Please reinstall gimp."
+ fi
+ fi
+
+ # build plugin
+ ${gimptool} --build rawphoto.c || die "gimptool failed"
+
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc doc/conversion-examples.txt doc/dcwrap
+
+ # rawphoto gimp plugin
+ if use gimp; then
+
+ # find gimptool (ugly!)
+ local gimptool=/usr/bin/gimptool
+ if [ ! -x ${gimptool} ]; then
+ gimptool=${gimptool}-2.0
+ if [ ! -x ${gimptool} ]; then
+ die "Couldn't find gimptool. Please reinstall gimp."
+ fi
+ fi
+
+ # install plugin
+ env DESTDIR="${D}" ${gimptool} --install-admin-bin rawphoto || die "gimptool failed"
+
+ fi
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "See conversion-examples.txt.gz on how to convert"
+ einfo "the PPM files produced by dcraw to other image formats."
+ einfo ""
+ ewarn "The functionality of the external program 'fujiturn' was"
+ ewarn "incoporated into dcraw and is automatically used now."
+ einfo ""
+ einfo "There's an example wrapper script included called 'dcwrap'."
+ einfo ""
+ einfo "This package also includes 'dcparse', which extracts"
+ einfo "thumbnail images (preferably JPEGs) from any raw digital"
+ einfo "camera formats that have them, and shows table contents."
+ einfo ""
+}
diff --git a/media-gfx/dcraw/files/digest-dcraw-8.45 b/media-gfx/dcraw/files/digest-dcraw-8.45
new file mode 100644
index 000000000000..536d35cef563
--- /dev/null
+++ b/media-gfx/dcraw/files/digest-dcraw-8.45
@@ -0,0 +1,3 @@
+MD5 bf902d1940b2467be05739da71b2f2ac dcraw-8.45.tar.bz2 65992
+RMD160 6bb49677e5219dfaed5b2099e62a4023123f6d8d dcraw-8.45.tar.bz2 65992
+SHA256 3d4f78336da731c93da45d54d7c8824bc36527e89a4f2acf26d6cdaf9f5693a1 dcraw-8.45.tar.bz2 65992