summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libraw')
-rw-r--r--media-libs/libraw/Manifest3
-rw-r--r--media-libs/libraw/libraw-0.18.0.ebuild67
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/libraw/Manifest b/media-libs/libraw/Manifest
index 02ad7737820e..09dbd0bf8ee9 100644
--- a/media-libs/libraw/Manifest
+++ b/media-libs/libraw/Manifest
@@ -1,9 +1,12 @@
DIST LibRaw-0.16.2.tar.gz 1476575 SHA256 6344e355f7c23f13e266844b36265d5f624237ba5a62dc901c7b91b510a84187 SHA512 c8fa974b72c1e2d255254527ca241a059b9a2e0943044c1b3c85257f987d451305fe94b4b901e9efd90ebab71ff602d442686a710c205d51862e88b2dfd13855 WHIRLPOOL 94f5fa4eb100a478d965516dd3c9048ca47bc0253bfd0482ebe3f410269e863a0f484c18bd2e07d44c324dbdbd84c1fd1768466b2b23e6909bc7d534f2a1f9fe
DIST LibRaw-0.17.1.tar.gz 1472341 SHA256 e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1 SHA512 661204175faca8d2ebb44d90c1c7a823c18fd5453a64db2e99961e697f25c522f2314f0ad758e6d33dd65eb09034b542f936c2a892d06f64663e7ed3d1e349b9 WHIRLPOOL c0d7e251abf4c9cf13738c583185074ff4b93e3e95a8545526a632e0b2904142daf8503cec4a2210fa0dcd3a3d6f8f76432f4bc94f42b15b4616954790808aa8
DIST LibRaw-0.17.2.tar.gz 1472714 SHA256 92b0c42c7666eca9307e5e1f97d6fefc196cf0b7ee089e22880259a76fafd15c SHA512 e27227850b09e291802c089c826778579420a4af3f4b94dddf488bfc7eb84335d7a944445287d5993c5a574c192df5117c022d1b3d0372b3539a4553612988f4 WHIRLPOOL 55ab9980dc789a0f8c08043a93c1004e268ac3e0902f789a808a47f50e9294eb2f3755f71ecc0310e80cdf440aa60d9ed0e389b27d184e81db6f90f144257436
+DIST LibRaw-0.18.0.tar.gz 1278737 SHA256 d56a0c9a0e6d1b8c8c5585346acf2cfb0554eee0f0948da66f580cd65c8c5c9b SHA512 d0e83cec12a8ff82d86276b0541e92add912fec57cd7ce2a3cd415ba105797b05b5078ddf2c41c05304b95e57081bda87adc62f1bb3f59eea6270c55412d645e WHIRLPOOL f1d6f95d63d448bedc583705985cc605458d2a2375364272044be53b8715be3fc75c0b822b1c7ba885d451c62f990db6c1a1e91df4b1e31f13a9cffe624b4f05
DIST LibRaw-demosaic-pack-GPL2-0.16.2.tar.gz 32652 SHA256 2218f08d59866e7852938356c197b96a6f47d0b9221a261280e010540477e77b SHA512 e41574f48bd3cda5755503b2693859de47b98064611771b9d950a198ad8f197c929c959de18599033c91fc7200d883074900e74ab154a4354d198af98a460903 WHIRLPOOL 56db7577a9a77347ea1f14a52e02925ef6191de1b1a98d7b870bf9e2fb49ffa460255ae5c662f01ef138346d23720333976d5029ddf91ccd99c13ba8cda260c3
DIST LibRaw-demosaic-pack-GPL2-0.17.1.tar.gz 30989 SHA256 2e9f72873a6db319aca5be5bc4d426e3063e2c33f66438e89720c3b48bef0678 SHA512 7f6d5dbae653c2b5adfa4af50b9c92e4d3f45f7869d7870732a19f76ec87c6feaca7fcaa56418f7dc81e9b963e3de01cff024587502e1fd3affa99321c3b1490 WHIRLPOOL e347ae3bf64f2229971138fbb0e9d83bd7a4b5e7bd094d7190647b537f8f2ebe720ae245223f5b759cca74410665633358417c65b6812674611d49eabff48bc4
DIST LibRaw-demosaic-pack-GPL2-0.17.2.tar.gz 31190 SHA256 a2e5e9cc04fa8f3e94070110dce8a06aa3b0b2f573ed99c5fc3e327d15f014b7 SHA512 634fcd62433bc9a9aebccd113ef95a070609edee2520b7a609bab1b9612cc472b77295deb84e43ffcf002a2cdb57bb92a39d1e4b1bb8fed77a221b370074edea WHIRLPOOL a10d7921a9f20b088e2e0d773315bd00b2c4105c1a9e6890386fe53a08af2e698441e6abf9ab445099962e500502618fb687974126a4345422a759fb174e591c
+DIST LibRaw-demosaic-pack-GPL2-0.18.0.tar.gz 31149 SHA256 905eff0be2ce43c99527000c81e3b4f4a563ef9bc26581166742459f6358df90 SHA512 7ff65d6ae05cd0e6f62da10567fdb596ec1e2b678d3c3c3920aab3d08accddc636d887cfaa90cb534ffc8763379906889d14a2d228b6c9a8bf7396df675c6e40 WHIRLPOOL 3852e5da779f2c94d7672f61b13de50044fee71f1bba9b4725c68f7bec280e369fe9445d515d131deb88e6ebbf92d97687eeb44b795eeeda71cc4a9e03ffbc1b
DIST LibRaw-demosaic-pack-GPL3-0.16.2.tar.gz 39457 SHA256 749b5baa3a4f1f5c4ea4169b9293b02b0d2a0714aa01729327f23f82621c9735 SHA512 1cc1ea98f544ac485a797718448e138d3aeab7d4bfce77706161b42ec1edf265e177437ecff2a58c452048102359088a326b0bb4aa63b3d79e76c6156c9374d2 WHIRLPOOL 470a3a673671af6057e4baf268e63742192c3cce88a7dd1cdf7b793d51da2dcf641a6c9b11059b13d82507ab726355c84635eb926a634822b344454ba40e5e65
DIST LibRaw-demosaic-pack-GPL3-0.17.1.tar.gz 38230 SHA256 442b3e8de4664e539cbcdd437a7b6cd167e07c0fcf76f07b50d16657f18ff962 SHA512 3464d330848113007b4e762bceb068b6f4f82ef6892146b8263f7912c0cc711ec8308611fa6d083331c28644ab5d48d5e920a68705e6d9ea763a743df94b0df3 WHIRLPOOL c2bb2fbcca2bd542aa58ea2de6db287b1b07b3f5c78fce50acf458d243d1163f256b49b99163fe1cde01881108d29633dd7faa1c214038c3682dca019b7eba58
DIST LibRaw-demosaic-pack-GPL3-0.17.2.tar.gz 38908 SHA256 b00cd0f54851bd3c8a66be4cacbf049e4508f1bac8ff85cb4528d8979739ed36 SHA512 fda6e22a8e4eb5614c6878ed77990f8f558ea54b9ec63ca77fb279543efa334c60d0fc48c1c5029c17216a1f7ed0e84db73675bd9d7308f869d11218184e19ad WHIRLPOOL 545d5fc29ccc01f862868675b12ea5dab8fad5bd59781e744344fee62d446697529cc9ac169f2167d81feea8dbbb56f57cb4883d02e4e472fa81e992f3a7f73f
+DIST LibRaw-demosaic-pack-GPL3-0.18.0.tar.gz 39585 SHA256 c79cbb4a7fa452a860ad0fa92e4feb4c250af4b5db297ea077b9472aa5be3905 SHA512 75f81fe1a9610c80a207f935a92f09ca7a300db1b708dc258973ea22f1b421cccf57000e2cd1538d96a6d2e44410066300be293da13405ea4c3201ddcc8bd900 WHIRLPOOL 8191e246bb3217da147ce12c28c764131e37763cb3d90b870ab5e597dd89516411510cc18a7eaff345827378de3dfa9cd049a96ced9b2314a6a7a56d5d998dfc
diff --git a/media-libs/libraw/libraw-0.18.0.ebuild b/media-libs/libraw/libraw-0.18.0.ebuild
new file mode 100644
index 000000000000..423f1af7ca58
--- /dev/null
+++ b/media-libs/libraw/libraw-0.18.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit multilib-minimal toolchain-funcs
+
+MY_PN=LibRaw
+MY_PV=${PV/_b/-B}
+MY_P=${MY_PN}-${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/16" # subslot = libraw soname version
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="demosaic examples jpeg jpeg2k +lcms openmp"
+
+RDEPEND="jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+ jpeg2k? ( >=media-libs/jasper-1.900.1-r6:=[${MULTILIB_USEDEP}] )
+ lcms? ( >=media-libs/lcms-2.5:2[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( Changelog.txt README )
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --disable-static
+ $(use_enable demosaic demosaic-pack-gpl2)
+ $(use_enable demosaic demosaic-pack-gpl3)
+ $(use_enable examples)
+ $(use_enable jpeg)
+ $(use_enable jpeg2k jasper)
+ $(use_enable lcms)
+ $(use_enable openmp)
+ )
+ ECONF_SOURCE="${S}" \
+ econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # package installs .pc files
+ find "${D}" -name '*.la' -delete || die
+}