diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-13 12:10:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-13 12:10:18 +0100 |
commit | 9574298151cf44a3b410bdb7a7076e7bed72570d (patch) | |
tree | c1fb9a389e6d111603406f0036d0ef1da0491514 /dev-libs/libmspack | |
parent | d728c1a6db84b373b0b4186e631b2aa407744751 (diff) |
gentoo auto-resync : 13:08:2023 - 12:10:18
Diffstat (limited to 'dev-libs/libmspack')
-rw-r--r-- | dev-libs/libmspack/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libmspack/libmspack-0.11_alpha.ebuild | 67 | ||||
-rw-r--r-- | dev-libs/libmspack/libmspack-9999.ebuild | 4 |
3 files changed, 72 insertions, 3 deletions
diff --git a/dev-libs/libmspack/Manifest b/dev-libs/libmspack/Manifest index 9a01ff7af9ff..a71d1b659760 100644 --- a/dev-libs/libmspack/Manifest +++ b/dev-libs/libmspack/Manifest @@ -1,4 +1,6 @@ DIST libmspack-0.10.1alpha.tar.gz 963274 BLAKE2B 39bcb3b7ea419d6d00850b70c217c802a2095dd4398038e594ae7c01ca12e71508218c1cfca5ae8b102636ab9517b13d55c1e411b31e87d28aa46331cd0127e6 SHA512 a7b5f7caa49190c5021f3e768b92f2e51cc0ce685c9ab6ed6fb36de885c73231b58d47a8a3b5c5aa5c9ac56c25c500eb683d84dbf11f09f97f6cb4fff5adc245 +DIST libmspack-0.11alpha.tar.gz 509478 BLAKE2B 7e386ab5ae160000bab9e5523f2ebf3907a5cb564fb7cc8945ca15daf5c8ff2563f6680383c52f6de95d1aa992d6616e2f80133740c8329390a8e5c76ba84301 SHA512 40c487e5b4e2f63a6cada26d29db51f605e8c29525a1cb088566d02cf2b1cc9dba263f80e2101d7f8e9d69cf7684a15bcaf791fb4891ad013a56afc7256dfa62 EBUILD libmspack-0.10.1_alpha-r1.ebuild 1369 BLAKE2B 04e8828b4615542a75104facf08b6f6ed62abcfb6390927c86e1c4cc77d354915d660d53bd8d5cb973c068864d479f46ce553def0b7da777d079cfb0f0ff184a SHA512 87b358f0c0b11ce79e2181cd64a7702887a61c1e52ae54105023befadc099951e2607de2c5631bff89a2f78931d9d64f790fe14e9fb58e87f18b6949104dafa5 -EBUILD libmspack-9999.ebuild 1356 BLAKE2B dd12598018f5af01cd4ceac2a711f3f0b289237b81e1b68e2fe9d7bbe9d0836ad45de13332a5193da015283fd131b064e4e2dd48eef4c47c404ca5bd3304af44 SHA512 d5f053584b3f49d0069750557c382779a1265bf5837942268cb7d06dca2bba696d6c0cb5fe587c55c03c7e92ceb56cae327cccc25a265cf09ca33e1646ed0bbd +EBUILD libmspack-0.11_alpha.ebuild 1377 BLAKE2B 4101416cdf250803a3cfdec288b3104bdc8ca5e6cc6297d241c371abc815b12e1820a3ef75829591e0c5b17780d2b67751d5dd115ed9893e0f52b14a60fb65e2 SHA512 0c52e477ec770c30b0df59de92826b4362eeea2cd445d2f46b9eff163a8b6b84a471c5d9f2aa475fada1e07ef19c308ae8257931c943cf23b8de748202e93b2a +EBUILD libmspack-9999.ebuild 1377 BLAKE2B 4101416cdf250803a3cfdec288b3104bdc8ca5e6cc6297d241c371abc815b12e1820a3ef75829591e0c5b17780d2b67751d5dd115ed9893e0f52b14a60fb65e2 SHA512 0c52e477ec770c30b0df59de92826b4362eeea2cd445d2f46b9eff163a8b6b84a471c5d9f2aa475fada1e07ef19c308ae8257931c943cf23b8de748202e93b2a MISC metadata.xml 330 BLAKE2B 443f1e0e7d08031a118eb3a1936ee027b5f286e30aed7f4dd05be9674985893f3d043ce1da1a44d5adbb3a9306d256ef7900d58957ff63ffc3ed8f57d078a2ed SHA512 6e4a217b11f7776fd45b0f56745be54cc87e49a8641b69c61be13db6a469c899249b39a90155392360fbd264c54796bf59fe3d553028b788604db21b1fe7306c 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 +} diff --git a/dev-libs/libmspack/libmspack-9999.ebuild b/dev-libs/libmspack/libmspack-9999.ebuild index 1c6a56dacf44..2a4ad5dfcc64 100644 --- a/dev-libs/libmspack/libmspack-9999.ebuild +++ b/dev-libs/libmspack/libmspack-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 MY_P="${PN}-9999" else - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" + 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" |