diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-05-29 08:40:23 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-05-29 08:40:23 +0000 |
commit | caedb2764e56068d3f1c3c298ec53c2c835cf9d0 (patch) | |
tree | 9271ae6576ede3040fd9ff0e31ec68c79aa4ee6a /media-libs/libraw | |
parent | Version bump based on Nokilis work on bug 471554, drop old. (diff) | |
download | gentoo-2-caedb2764e56068d3f1c3c298ec53c2c835cf9d0.tar.gz gentoo-2-caedb2764e56068d3f1c3c298ec53c2c835cf9d0.tar.bz2 gentoo-2-caedb2764e56068d3f1c3c298ec53c2c835cf9d0.zip |
Version bump.
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-libs/libraw')
-rw-r--r-- | media-libs/libraw/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libraw/libraw-0.15.0.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/media-libs/libraw/ChangeLog b/media-libs/libraw/ChangeLog index e99be35a1309..22002de8ad9f 100644 --- a/media-libs/libraw/ChangeLog +++ b/media-libs/libraw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libraw # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.49 2013/05/22 03:02:35 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.50 2013/05/29 08:40:23 radhermit Exp $ + +*libraw-0.15.0 (29 May 2013) + + 29 May 2013; Tim Harder <radhermit@gentoo.org> +libraw-0.15.0.ebuild: + Version bump. *libraw-0.14.8 (22 May 2013) diff --git a/media-libs/libraw/libraw-0.15.0.ebuild b/media-libs/libraw/libraw-0.15.0.ebuild new file mode 100644 index 000000000000..49a185ce3a3e --- /dev/null +++ b/media-libs/libraw/libraw-0.15.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 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.ebuild,v 1.1 2013/05/29 08:40:23 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/9" # subslot = libraw soname version +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +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 +} |