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 BB31915800A for ; Sun, 13 Aug 2023 07:52:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D5162BC01B; Sun, 13 Aug 2023 07:52:17 +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 E219B2BC018 for ; Sun, 13 Aug 2023 07:52:16 +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 D7E25340DA7 for ; Sun, 13 Aug 2023 07:52:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 200E5B86 for ; Sun, 13 Aug 2023 07:52:14 +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: <1691913024.96dda33c1cb9d22b89b08bb14b0f448eae3457c3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libmspack/Manifest dev-libs/libmspack/libmspack-0.11_alpha.ebuild X-VCS-Directories: dev-libs/libmspack/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 96dda33c1cb9d22b89b08bb14b0f448eae3457c3 X-VCS-Branch: master Date: Sun, 13 Aug 2023 07:52:14 +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: b09fce6c-d10b-4be5-b961-224c83150944 X-Archives-Hash: d313743f10c7a2dbf92a821967c8d6e0 commit: 96dda33c1cb9d22b89b08bb14b0f448eae3457c3 Author: Matt Jolly footclan ninja> AuthorDate: Thu Aug 3 01:41:13 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Aug 13 07:50:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96dda33c dev-libs/libmspack: add 0.11_alpha Signed-off-by: Matt Jolly footclan.ninja> Closes: https://github.com/gentoo/gentoo/pull/32152 Signed-off-by: Sam James gentoo.org> dev-libs/libmspack/Manifest | 1 + dev-libs/libmspack/libmspack-0.11_alpha.ebuild | 67 ++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-libs/libmspack/Manifest b/dev-libs/libmspack/Manifest index 698014b9766f..8bde9da8b8e8 100644 --- a/dev-libs/libmspack/Manifest +++ b/dev-libs/libmspack/Manifest @@ -1 +1,2 @@ DIST libmspack-0.10.1alpha.tar.gz 963274 BLAKE2B 39bcb3b7ea419d6d00850b70c217c802a2095dd4398038e594ae7c01ca12e71508218c1cfca5ae8b102636ab9517b13d55c1e411b31e87d28aa46331cd0127e6 SHA512 a7b5f7caa49190c5021f3e768b92f2e51cc0ce685c9ab6ed6fb36de885c73231b58d47a8a3b5c5aa5c9ac56c25c500eb683d84dbf11f09f97f6cb4fff5adc245 +DIST libmspack-0.11alpha.tar.gz 509478 BLAKE2B 7e386ab5ae160000bab9e5523f2ebf3907a5cb564fb7cc8945ca15daf5c8ff2563f6680383c52f6de95d1aa992d6616e2f80133740c8329390a8e5c76ba84301 SHA512 40c487e5b4e2f63a6cada26d29db51f605e8c29525a1cb088566d02cf2b1cc9dba263f80e2101d7f8e9d69cf7684a15bcaf791fb4891ad013a56afc7256dfa62 diff --git a/dev-libs/libmspack/libmspack-0.11_alpha.ebuild b/dev-libs/libmspack/libmspack-0.11_alpha.ebuild new file mode 100644 index 000000000000..2a4ad5dfcc64 --- /dev/null +++ b/dev-libs/libmspack/libmspack-0.11_alpha.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/kyz/libmspack.git" + inherit git-r3 + MY_P="${PN}-9999" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + MY_PV="${PV/_alpha/alpha}" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz" +fi + +DESCRIPTION="A library for Microsoft compression formats" +HOMEPAGE="https://www.cabextract.org.uk/libmspack/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="debug doc" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + if [[ ${PV} == *9999 ]] ; then + # Re-create file layout from release tarball + pushd "${WORKDIR}" > /dev/null || die + + cp -aL "${S}"/${PN} "${WORKDIR}"/${PN}-source || die + rm -r "${S}" || die + mv "${WORKDIR}"/${PN}-source "${S}" || die + + popd > /dev/null || die + fi + + default + + eautoreconf +} + +src_configure() { + econf $(use_enable debug) +} + +src_test() { + default + + cd "${S}"/test || die + ./cabd_test || die +} + +src_install() { + use doc && HTML_DOCS=( doc/. ) + + default + + if use doc ; then + rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die + fi + + find "${ED}" -name '*.la' -delete || die + find "${ED}" -name "*.a" -delete || die +}