diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-03-24 13:37:06 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-03-24 13:37:06 +0000 |
commit | d30348d755e3cd7c09861eb100eb1fc11e4dfc0a (patch) | |
tree | 7784cb4ac07a87a6622da1ab59aed528040574e1 /media-gfx | |
parent | New version for GNOME-2.22. Lots of fixes, moved totem-pl-parser in its own p... (diff) | |
download | gentoo-2-d30348d755e3cd7c09861eb100eb1fc11e4dfc0a.tar.gz gentoo-2-d30348d755e3cd7c09861eb100eb1fc11e4dfc0a.tar.bz2 gentoo-2-d30348d755e3cd7c09861eb100eb1fc11e4dfc0a.zip |
version bump, incorporate USE=lcms and USE=jpeg from flameeyes
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/dcraw/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/dcraw/dcraw-8.83.ebuild | 83 |
2 files changed, 90 insertions, 2 deletions
diff --git a/media-gfx/dcraw/ChangeLog b/media-gfx/dcraw/ChangeLog index 112016e90e33..3424484f5f16 100644 --- a/media-gfx/dcraw/ChangeLog +++ b/media-gfx/dcraw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/dcraw -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.46 2007/07/26 18:09:41 corsair Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/ChangeLog,v 1.47 2008/03/24 13:37:06 wschlich Exp $ + +*dcraw-8.83 (23 Mar 2008) + + 23 Mar 2008; Wolfram Schlich <wschlich@gentoo.org> +dcraw-8.83.ebuild: + version bump, incorporate USE=lcms and USE=jpeg from flameeyes 26 Jul 2007; Markus Rothe <corsair@gentoo.org> dcraw-8.73.ebuild: Stable on ppc64; bug #185078 diff --git a/media-gfx/dcraw/dcraw-8.83.ebuild b/media-gfx/dcraw/dcraw-8.83.ebuild new file mode 100644 index 000000000000..598e10659942 --- /dev/null +++ b/media-gfx/dcraw/dcraw-8.83.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dcraw/dcraw-8.83.ebuild,v 1.1 2008/03/24 13:37:06 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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="gimp jpeg lcms" + +DEPEND="virtual/libc + jpeg? ( >=media-libs/jpeg-6b ) + lcms? ( media-libs/lcms ) + gimp? ( media-gfx/gimp )" + +RDEPEND="${DEPEND} + media-libs/netpbm" + +src_compile() { + local mymakeopts + use lcms || mymakeopts="${mymakeopts} NO_LCMS=yes" + use jpeg || mymakeopts="${mymakeopts} NO_JPEG=yes" + emake CC=$(tc-getCC) ${mymakeopts} || 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() { + elog "" + elog "See conversion-examples.txt.gz on how to convert" + elog "the PPM files produced by dcraw to other image formats." + elog "" + ewarn "The functionality of the external program 'fujiturn' was" + ewarn "incoporated into dcraw and is automatically used now." + elog "" + elog "There's an example wrapper script included called 'dcwrap'." + elog "" + elog "This package also includes 'dcparse', which extracts" + elog "thumbnail images (preferably JPEGs) from any raw digital" + elog "camera formats that have them, and shows table contents." + elog "" +} |