summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-12-09 22:01:38 +0000
committerTim Harder <radhermit@gentoo.org>2012-12-09 22:01:38 +0000
commit4b56200e5c8734ec5afc92903697d28880ac5672 (patch)
tree7a587c64d1b2048731e0e2d40674925c6e6b036f /media-libs/libraw
parentI didn't commit the files dir... (diff)
downloadgentoo-2-4b56200e5c8734ec5afc92903697d28880ac5672.tar.gz
gentoo-2-4b56200e5c8734ec5afc92903697d28880ac5672.tar.bz2
gentoo-2-4b56200e5c8734ec5afc92903697d28880ac5672.zip
Version bump.
(Portage version: 2.2.0_alpha145/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-libs/libraw')
-rw-r--r--media-libs/libraw/ChangeLog7
-rw-r--r--media-libs/libraw/libraw-0.15.0_beta2.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/media-libs/libraw/ChangeLog b/media-libs/libraw/ChangeLog
index beaa58a52779..24c56ddd0961 100644
--- a/media-libs/libraw/ChangeLog
+++ b/media-libs/libraw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libraw
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.35 2012/10/15 07:09:27 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.36 2012/12/09 22:01:36 radhermit Exp $
+
+*libraw-0.15.0_beta2 (09 Dec 2012)
+
+ 09 Dec 2012; Tim Harder <radhermit@gentoo.org> +libraw-0.15.0_beta2.ebuild:
+ Version bump.
15 Oct 2012; Tim Harder <radhermit@gentoo.org> libraw-0.15.0_beta1.ebuild:
Add jpeg use flag.
diff --git a/media-libs/libraw/libraw-0.15.0_beta2.ebuild b/media-libs/libraw/libraw-0.15.0_beta2.ebuild
new file mode 100644
index 000000000000..fed14cdb013b
--- /dev/null
+++ b/media-libs/libraw/libraw-0.15.0_beta2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.15.0_beta2.ebuild,v 1.1 2012/12/09 22:01:38 radhermit Exp $
+
+EAPI="5"
+
+inherit eutils autotools toolchain-funcs
+
+MY_PV="${PV/_b/-B}"
+MY_P="LibRaw-${MY_PV}"
+
+DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras"
+HOMEPAGE="http://www.libraw.org/"
+SRC_URI="http://www.libraw.org/data/${MY_P}.tar.gz
+ demosaic? ( http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-${MY_PV}.tar.gz
+ http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-${MY_PV}.tar.gz )"
+
+# Libraw also has it's own license, which is a pdf file and
+# can be obtained from here:
+# http://www.libraw.org/data/LICENSE.LibRaw.pdf
+LICENSE="LGPL-2.1 CDDL GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="demosaic examples jpeg jpeg2k +lcms openmp static-libs"
+
+RDEPEND="jpeg? ( virtual/jpeg )
+ jpeg2k? ( media-libs/jasper )
+ lcms? ( media-libs/lcms:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( Changelog.txt README )
+
+pkg_pretend() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.13.4-docs.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable openmp) \
+ $(use_enable jpeg) \
+ $(use_enable jpeg2k jasper) \
+ $(use_enable lcms) \
+ $(use_enable examples) \
+ $(use_enable demosaic demosaic-pack-gpl2) \
+ $(use_enable demosaic demosaic-pack-gpl3)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}