diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-17 22:03:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-17 22:03:16 +0100 |
commit | 94dd707d272879a8dfdd31d71113b1b7bba98366 (patch) | |
tree | 615875fa702a02f83e99f52ddb3a3fb0375a5674 /dev-libs/leatherman | |
parent | 29ef84a753ab20dbbb228238713a3c7443c6520e (diff) |
gentoo auto-resync : 17:10:2023 - 22:03:16
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r-- | dev-libs/leatherman/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/leatherman/leatherman-1.12.10.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest index c9f5ec957d89..e1e083a854b1 100644 --- a/dev-libs/leatherman/Manifest +++ b/dev-libs/leatherman/Manifest @@ -1,5 +1,7 @@ AUX 1.12.2-shared_nowide.patch 4647 BLAKE2B 602e72f4265a803b715b8605c1dee3ccec9c876c7d5d50208a4cf9c1e6ad277370cb110707404d52a24b53cdbb017b5d2fc9bbecb37f69eaacd10d9d892c4a25 SHA512 1f95d6e0ac1000d2eb8cdfee6184ca74d2bb96a9dec50cdd1539cb7e3060decbf1e4863fa2594ce1cf3405b1edf270b94b82f1c9ca79aaeb6f32f11d10c7eece AUX portage-sandbox-test-fix.patch 2010 BLAKE2B 8e9e180c180f2059f57c953a9c828164a96b07d6a3054b555c572c6c80e79dbf5092da5fb23e9fb95f3db0bff02788ef4a9ac40483b1673382f4c1d11b0b3833 SHA512 35bfb2d3b1ca98cf7f10e9356e899532516d4a9671b0cebca1780e602ef53f9a5705ee6c4c03d70aecad163faccdce6ec15d7e32f00ebcda946d0cf6638a22a2 +DIST leatherman-1.12.10.tar.gz 816708 BLAKE2B 65c606c548a0394b6a1619d26f1814ea9a9ab2a3b40346ed9a1805291a9df90227f9f7cb37758fcb7f778a1f28e56fd8bf395c335125e1ede7e1455b1c70c0e5 SHA512 c9882553906287c27d79e9f3df8af96a77fdf9a0fc0fdadc26105eed3fd6da3f598344a9a0671cc0a1c70cea29402fb0ca76deff1a1a4b9fd9979815917c62fc DIST leatherman-1.12.9.tar.gz 816107 BLAKE2B 1c2e50767585a30da40fdacde0aa8655cefc2a41cadd24a7689be5da0afcbe8627293d37780442873907996f01401b46340a3d7be5d9b2a65b2f87191daca6c3 SHA512 e69f2b0c04a1cbd20e097abcc020e7b27fb74f168207fcbcffce9fd0edd1760acc75d5c5f645d3a798f106e129ce73e512f0c11699733475b290dfc876de0565 +EBUILD leatherman-1.12.10.ebuild 1277 BLAKE2B 12cff76bfa779ccff112afa7194a45ab8727df9eb3cc97e6a7c47826f851a2c99630a2cbe8c629df556b4e859c4a9074fd343a676fbbb58a8cc9f2fac0dbf23d SHA512 be107ac1f76b5e55fe0aa8822f7a2fd9ef9253931d61566213de56676e5c408480dbd33c043b8949d257a3d3db98efeb9644d032e068daf7fb701e5a9950f364 EBUILD leatherman-1.12.9.ebuild 1272 BLAKE2B 203a4934e6a2fc4d650e18b9098796b0b3c42127c0bb289b14748d6cdbe308fc4172b053640b4c75b7141a1fcf08b79ca6285be148b5297917dc0a16b42fadc1 SHA512 616ba5f626163adeab958343ddc1d7c11473fe898b6a841d0a6b3a8d878baf084f3fee80d2721c99815e84fb4da3aa6b8fd46e0a2e2a16ae38d6987835816eb7 MISC metadata.xml 341 BLAKE2B 63e2c407d9e7f5dfcf324cba650e46ae440f9b365645b5bb51f943c3d003ce9a94522d512667879b1d4a22ba71b9ddce560606e52f5b6cdb84677d2a4efbba6e SHA512 5b2e4f0b7aa914686915312fe957f40ece7701168775e160730c76975af52530ad2d95595ab8c6b410470a0cd2ea11e3bdf2a9fd78d0926a6cbcc2628ff275d2 diff --git a/dev-libs/leatherman/leatherman-1.12.10.ebuild b/dev-libs/leatherman/leatherman-1.12.10.ebuild new file mode 100644 index 000000000000..3e6283afc0c3 --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.12.10.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A C++ toolkit" +HOMEPAGE="https://github.com/puppetlabs/leatherman" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug static-libs test" +#RESTRICT="!test? ( test )" +RESTRICT="test" # restricted til we don't need the shared_nowide patch + +RDEPEND="dev-libs/boost:=[nls] + net-misc/curl" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/portage-sandbox-test-fix.patch + "${FILESDIR}"/1.12.2-shared_nowide.patch +) + +src_prepare() { + sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die + # vendored boost lib conflicts with boost 1.73 and above + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DLEATHERMAN_ENABLE_TESTING=$(usex test) + # We depend on Boost with nls, so this is always true + -DLEATHERMAN_USE_ICU=ON + + -DLEATHERMAN_SHARED=$(usex !static-libs) + ) + + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + + cmake_src_configure +} + +src_test() { + "${WORKDIR}/${P}"_build/bin/leatherman_test || die +} |