From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E2A9158010 for ; Thu, 5 Jan 2023 07:51:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6FF1E07D0; Thu, 5 Jan 2023 07:51:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9AE75E07D0 for ; Thu, 5 Jan 2023 07:51:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90739340F03 for ; Thu, 5 Jan 2023 07:51:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C873B75E for ; Thu, 5 Jan 2023 07:51:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1672905057.4df387948783454b8d74b807f0f578c9164c2cc2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libraw/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libraw/Manifest media-libs/libraw/libraw-0.21.1.ebuild X-VCS-Directories: media-libs/libraw/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4df387948783454b8d74b807f0f578c9164c2cc2 X-VCS-Branch: master Date: Thu, 5 Jan 2023 07:51:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7092dcc3-4919-4af3-906b-5ac506633d05 X-Archives-Hash: 327638cae59d2dcb829598d43f98eb8b commit: 4df387948783454b8d74b807f0f578c9164c2cc2 Author: Sam James gentoo org> AuthorDate: Thu Jan 5 07:50:57 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 5 07:50:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df38794 media-libs/libraw: add 0.21.1 Signed-off-by: Sam James gentoo.org> media-libs/libraw/Manifest | 1 + media-libs/libraw/libraw-0.21.1.ebuild | 60 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/media-libs/libraw/Manifest b/media-libs/libraw/Manifest index edfb5a789256..93a0165b1755 100644 --- a/media-libs/libraw/Manifest +++ b/media-libs/libraw/Manifest @@ -1,2 +1,3 @@ DIST LibRaw-0.20.2.tar.gz 1432141 BLAKE2B 6e41d91b560951ad4595c41a1d089505ca91337f4fc6b98bafe44211971bee143709482a070bacb7daebbd643bbbf17730f544d791c0237bf1689a7a59133079 SHA512 96b1aaf09e2d46448d1b3619270c1f1c32e9bcbd866567cec67d5b1f889362f0fae3f3533ea9bf6a11a917be3b61ee6c9938bad09209d93453039ed04eaeae4a DIST LibRaw-0.21.0.tar.gz 1638463 BLAKE2B 1a87417e73f22411661bb6150c12dda745d931975f76357496ab92e6f48b5a1e6e7a907bd6ae8d0655f4250c4524290fec8130955da1cabaedfe6a238253274b SHA512 af5a7361d39ea77315e883eff3afe8aa7d998e65afa6da5019368b46eef862e275bf6eadc095d626573a821de9b86e76dc2bfa955382a4bd030f97b30699f149 +DIST LibRaw-0.21.1.tar.gz 1638461 BLAKE2B 5db9a02f6854b90acf5e22419e2bc5470118140173be38cb520cc03553a328cad86d97ebda62c149622e045325ce82dcc34df40b5f700c319929c10fc43fdc9e SHA512 8d11df0be2af5fd8a8251f150ccd59103319606f52effff541ee43e97ceb64f1a00a02bba7b730aedd0c1c705c1e465793c8a2a52769712c1102af7f5534dd5d diff --git a/media-libs/libraw/libraw-0.21.1.ebuild b/media-libs/libraw/libraw-0.21.1.ebuild new file mode 100644 index 000000000000..f68f9f0c11b0 --- /dev/null +++ b/media-libs/libraw/libraw-0.21.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="https://www.libraw.org/ https://github.com/LibRaw/LibRaw" +SRC_URI="https://www.libraw.org/data/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1 CDDL" +# SONAME isn't exactly the same as PV but it does correspond and +# libraw has unstable ABI across releases. +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples jpeg +lcms openmp zlib" + +RDEPEND=" + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + lcms? ( >=media-libs/lcms-2.5:2[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +DOCS=( Changelog.txt README.md ) + +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-jasper + $(multilib_native_use_enable examples) + $(use_enable jpeg) + $(use_enable lcms) + $(use_enable openmp) + $(use_enable zlib) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + + # package installs .pc files + find "${D}" -name '*.la' -delete || die +}