public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/
Date: Sun, 13 Aug 2023 07:52:14 +0000 (UTC)	[thread overview]
Message-ID: <1691913024.96dda33c1cb9d22b89b08bb14b0f448eae3457c3.sam@gentoo> (raw)

commit:     96dda33c1cb9d22b89b08bb14b0f448eae3457c3
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Thu Aug  3 01:41:13 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <Matt.Jolly <AT> footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/32152
Signed-off-by: Sam James <sam <AT> 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
+}


             reply	other threads:[~2023-08-13  7:52 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-13  7:52 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-09 20:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmspack/ Andreas Sturmlechner
2025-01-09  0:08 Sam James
2024-11-08  2:49 Sam James
2024-11-05 15:55 Arthur Zamarin
2024-11-04 22:17 Sam James
2024-11-04 21:56 Sam James
2024-11-04 21:56 Sam James
2024-11-04 21:56 Sam James
2024-11-04 21:56 Sam James
2024-10-05 22:25 Maciej Mrozowski
2024-08-26 16:29 Arthur Zamarin
2023-08-13  7:52 Sam James
2022-07-28 13:59 Sam James
2022-05-05 10:44 WANG Xuerui
2022-05-05 10:44 WANG Xuerui
2022-01-01 10:05 James Le Cuirot
2021-06-25  1:33 Yixun Lan
2020-12-01  8:45 Fabian Groffen
2020-09-06  7:49 Sergei Trofimovich
2020-09-03 23:57 Sam James
2020-08-29 12:56 Sam James
2020-08-16 14:48 Agostino Sarubbo
2020-08-16 14:47 Agostino Sarubbo
2020-08-15  4:33 Sam James
2020-08-15  3:45 Sam James
2020-08-15  3:06 Sam James
2020-08-15  3:06 Sam James
2020-08-02 17:31 Maciej Mrozowski
2019-04-18  4:16 Aaron Bauman
2019-04-04 19:56 Aaron Bauman
2019-04-04 19:14 Aaron Bauman
2019-01-30 13:20 Tobias Klausmann
2019-01-05 17:19 Mikle Kolyada
2018-12-26 20:00 Sergei Trofimovich
2018-12-26 17:29 Matt Turner
2018-12-26 13:55 Sergei Trofimovich
2018-12-24  9:09 Fabian Groffen
2018-12-07 12:47 Mikle Kolyada
2018-11-24 22:01 Sergei Trofimovich
2018-11-23  8:53 Sergei Trofimovich
2018-11-20 12:13 Thomas Deutschmann
2018-11-07 23:44 Thomas Deutschmann
2018-11-07  9:43 Agostino Sarubbo
2018-11-06  2:12 Thomas Deutschmann
2018-11-04  1:20 Thomas Deutschmann
2018-10-24 15:42 Thomas Deutschmann
2018-10-18 11:45 Tobias Klausmann
2018-10-16  9:18 Tobias Klausmann
2018-10-13 16:14 Sergei Trofimovich
2018-10-12 19:08 Sergei Trofimovich
2018-10-08  9:17 Mikle Kolyada
2018-10-06 23:05 Thomas Deutschmann
2018-10-06 19:46 Matt Turner
2018-10-06 17:38 Thomas Deutschmann
2018-09-08 20:18 Sergei Trofimovich
2018-07-20  9:49 Jeroen Roovers
2018-07-20  9:49 Jeroen Roovers
2018-07-20  8:08 Sergei Trofimovich
2018-06-16 19:26 Sergei Trofimovich
2018-05-06 19:24 Sergei Trofimovich
2018-05-02 19:30 Markus Meier
2018-04-22 22:43 Aaron Bauman
2018-04-18  6:57 Sergei Trofimovich
2018-03-04  6:51 Thomas Deutschmann
2018-03-02 15:35 Agostino Sarubbo
2017-11-03  1:39 Maciej Mrozowski
2017-10-19 23:08 Maciej Mrozowski
2017-04-23 21:23 Agostino Sarubbo
2017-03-06  1:28 Maciej Mrozowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1691913024.96dda33c1cb9d22b89b08bb14b0f448eae3457c3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox