From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1406867-garchives=archives.gentoo.org@lists.gentoo.org> 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 E4B78158091 for <garchives@archives.gentoo.org>; Fri, 10 Jun 2022 10:49:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAA53E0864; Fri, 10 Jun 2022 10:49:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A2F4CE0864 for <gentoo-commits@lists.gentoo.org>; Fri, 10 Jun 2022 10:49:36 +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 4DDA234168E for <gentoo-commits@lists.gentoo.org>; Fri, 10 Jun 2022 10:49:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 827EED3 for <gentoo-commits@lists.gentoo.org>; Fri, 10 Jun 2022 10:49:33 +0000 (UTC) From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" <andrewammerlaan@gentoo.org> Message-ID: <1654858164.5cfa6e07ebd932227506302f803a3c7a328945c3.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libaec/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/libaec/Manifest sci-libs/libaec/libaec-1.0.6.ebuild X-VCS-Directories: sci-libs/libaec/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 5cfa6e07ebd932227506302f803a3c7a328945c3 X-VCS-Branch: master Date: Fri, 10 Jun 2022 10:49:33 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b882fa9e-864f-439d-85ba-f95cf4da4895 X-Archives-Hash: 2c70c81b2bf2799a44db574ce7db952c commit: 5cfa6e07ebd932227506302f803a3c7a328945c3 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Fri Jun 10 10:48:53 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Fri Jun 10 10:49:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cfa6e07 sci-libs/libaec: add 1.0.6 Closes: https://bugs.gentoo.org/849806 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-libs/libaec/Manifest | 1 + sci-libs/libaec/libaec-1.0.6.ebuild | 44 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/sci-libs/libaec/Manifest b/sci-libs/libaec/Manifest index 58dd6adaa818..194586a5792d 100644 --- a/sci-libs/libaec/Manifest +++ b/sci-libs/libaec/Manifest @@ -1 +1,2 @@ DIST libaec-1.0.4.tar.gz 2775768 BLAKE2B e083c5e268296227b5193c2192f7c52d47f8cef08823de013453ffd2c5f8c115921a79c60286e7582cbfcbb914c5e8ad4c2493e4ec89395df3be2206bc893591 SHA512 74d01208ad3a426d68895dbfa8a830c96618a219f27745ecfd94b248462748e772c266e7fb0d4e4f4c75f8953a97f835fb2ece67317cf9e9a7495360362d22eb +DIST libaec-1.0.6.tar.gz 2777547 BLAKE2B 20da3fdf659c9d47ffde442ceaa9f9a831aab70330e27683ed4b62a28fdad02ec9c100413580f04d5a2bbbe86f3fe54b065230393bfb5e7746c522cce71513bc SHA512 f5d118c48225f97b229ac11425b94adff4d3698733bf18767b427e49047f8e08768464bc9cd9f5e6a66ceb44c8ebd9904c4f6f46566e2e66fcaa1049b2ebfcc1 diff --git a/sci-libs/libaec/libaec-1.0.6.ebuild b/sci-libs/libaec/libaec-1.0.6.ebuild new file mode 100644 index 000000000000..2c95da741a7c --- /dev/null +++ b/sci-libs/libaec/libaec-1.0.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake + +MY_P="${PN}-v${PV}" +DESCRIPTION="Adaptive Entropy Coding library" +HOMEPAGE="https://gitlab.dkrz.de/k202009/libaec" +SRC_URI="https://gitlab.dkrz.de/k202009/libaec/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0/2" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="+szip" + +RDEPEND="szip? ( !sci-libs/szip )" + +src_configure() { + mycmakeargs=( + -DCMAKE_INSTALL_LIBDIR=$(get_libdir) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # avoid conflict with szip (easier than to patch) + if ! use szip; then + rm "${ED}"/usr/include/szlib.h || die + rm "${ED}"/usr/$(get_libdir)/libsz* || die + rm "${ED}"/usr/share/doc/${PF}/README.SZIP || die + fi + + # Move these cmake files to a proper location + dodir "/usr/$(get_libdir)/cmake/${PN}" + mv "${ED}/usr/cmake/"* "${ED}/usr/$(get_libdir)/cmake/${PN}" || die + rm -r "${ED}/usr/cmake/" || die +}