summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-02-14 09:25:08 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-02-14 10:15:08 +0100
commit9b69b4231f37f3fe60fd50de42f4b7562c830cd6 (patch)
tree551f935e70459e76c46f74ed9bd0a7f51791e73d /media-libs/libraw
parentprofiles: Fix incorrect file used for layman g-sorcery use stable mask (diff)
downloadgentoo-9b69b4231f37f3fe60fd50de42f4b7562c830cd6.tar.gz
gentoo-9b69b4231f37f3fe60fd50de42f4b7562c830cd6.tar.bz2
gentoo-9b69b4231f37f3fe60fd50de42f4b7562c830cd6.zip
media-libs/libraw: Bump to version 0.18.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/libraw')
-rw-r--r--media-libs/libraw/Manifest3
-rw-r--r--media-libs/libraw/libraw-0.18.1.ebuild67
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/libraw/Manifest b/media-libs/libraw/Manifest
index e27c2fcb50d0..c37396dd59c6 100644
--- a/media-libs/libraw/Manifest
+++ b/media-libs/libraw/Manifest
@@ -1,6 +1,9 @@
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-0.18.1.tar.gz 1281109 SHA256 48228f733013a7a0cba08d1821438b983e698feeda7cbc3976ce46ceab07b899 SHA512 32b051f61a7c3af5fd8e46c7aea9c3f699060e35f9601c4a45f985fad4b71891efe828aac4e8d0421ceb1c7996981990882c87af5aa6e0f982c6ab272c77f3ba WHIRLPOOL 26e258127b4d421b7cab599121a6c161431843a916f4368fe7fd6c076dcb5948bcbccf8e03e942e64820b79811fa81c6abf1738e0b83ffba62ef9e4b88772c54
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-GPL2-0.18.1.tar.gz 30779 SHA256 51d42ef0992517969d1c9f876159ade1047b3772effcf7779b465ae7b98300b6 SHA512 08b8c9e73d22138ebcef82493a314ccbda3f4bb01785916fa97f787af23400e11f6f518de1428ed6d686364a68303050aeacaa9c399eede65519408ff7bff385 WHIRLPOOL 3b2bbff405975b247058bbfe418ec0f0b83dac4076be8c12c653625f143619269ae9694043d5c592c97a1d9b402d3accd80b481bdb3da0f468c684cbfed1445d
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
+DIST LibRaw-demosaic-pack-GPL3-0.18.1.tar.gz 38536 SHA256 9e7020cf8a512f2c9b8699685e4657a474cc03a0314ba56a108ceda26013c841 SHA512 79762141789c84d171f84450577a278803059353825eb5ca187ee894fb8f83666437022b00f249bfc81a747eda669cc8ceb8fe6d4c568887ffc81057d89329d5 WHIRLPOOL 002e5fdb148ba9aa1adb05bc069f0a96deaf957aca82bc8c75ca2c83abaaea5cf4bb8e690e4e50d839071cc973725dbc8d5f5723f20e0375e5181aee6afbd4e3
diff --git a/media-libs/libraw/libraw-0.18.1.ebuild b/media-libs/libraw/libraw-0.18.1.ebuild
new file mode 100644
index 000000000000..b0895329c1f6
--- /dev/null
+++ b/media-libs/libraw/libraw-0.18.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 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
+}