summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-10-15 07:01:44 +0000
committerTim Harder <radhermit@gentoo.org>2012-10-15 07:01:44 +0000
commitba8124ea73ec76350b4758b607de1cb489fa7250 (patch)
tree7d68de47a385f3de540052e56d0de396b273cc48 /media-libs/libraw
parentMask =media-libs/libraw-0.15* development releases. (diff)
downloadgentoo-2-ba8124ea73ec76350b4758b607de1cb489fa7250.tar.gz
gentoo-2-ba8124ea73ec76350b4758b607de1cb489fa7250.tar.bz2
gentoo-2-ba8124ea73ec76350b4758b607de1cb489fa7250.zip
Version bump.
(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libraw')
-rw-r--r--media-libs/libraw/ChangeLog7
-rw-r--r--media-libs/libraw/libraw-0.15.0_beta1.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/media-libs/libraw/ChangeLog b/media-libs/libraw/ChangeLog
index 87c00a312b5a..4eaaac4fb706 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.32 2012/09/23 08:00:54 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.33 2012/10/15 07:01:44 radhermit Exp $
+
+*libraw-0.15.0_beta1 (15 Oct 2012)
+
+ 15 Oct 2012; Tim Harder <radhermit@gentoo.org> +libraw-0.15.0_beta1.ebuild:
+ Version bump.
23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> libraw-0.14.7.ebuild:
x86 stable wrt bug #429124
diff --git a/media-libs/libraw/libraw-0.15.0_beta1.ebuild b/media-libs/libraw/libraw-0.15.0_beta1.ebuild
new file mode 100644
index 000000000000..fd43ed6f2820
--- /dev/null
+++ b/media-libs/libraw/libraw-0.15.0_beta1.ebuild
@@ -0,0 +1,61 @@
+# 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_beta1.ebuild,v 1.1 2012/10/15 07:01:44 radhermit Exp $
+
+EAPI="4"
+
+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 jpeg2k +lcms openmp static-libs"
+
+RDEPEND="jpeg2k? ( media-libs/jasper )
+ lcms? ( media-libs/lcms:2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( Changelog.txt README )
+
+pkg_setup() {
+ 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
+ epatch "${FILESDIR}"/${PN}-0.14.7-pkgconfig.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable demosaic demosaic-pack-gpl2) \
+ $(use_enable demosaic demosaic-pack-gpl3) \
+ $(use_enable examples) \
+ $(use_enable jpeg2k jasper) \
+ $(use_enable lcms) \
+ $(use_enable openmp) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}