diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-03 13:56:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-03 13:56:25 +0000 |
commit | 94b475013eb88e152032d5f8c684a7d9ce91e319 (patch) | |
tree | 09d40138872fbeea80b96af571a1da4de80bcf73 /dev-libs/popt | |
parent | 8d3527b916ca7e0a2c8d9b8d064253a2eda02c1f (diff) |
gentoo auto-resync : 03:01:2024 - 13:56:25
Diffstat (limited to 'dev-libs/popt')
-rw-r--r-- | dev-libs/popt/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/popt/popt-1.19-r1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/popt/Manifest b/dev-libs/popt/Manifest index 226379ce59e2..095f3e06fc0e 100644 --- a/dev-libs/popt/Manifest +++ b/dev-libs/popt/Manifest @@ -1,5 +1,6 @@ DIST popt-1.18.tar.gz 580569 BLAKE2B c9c42eb12aa21764cde5e9b4a8b30125b547ae690b4d9d0d40b45bd3c1f7ae0b09d5086a588cf37e7bed71fe770ff840c0fd40ecf4ce5b7c1e874b938b6e0324 SHA512 86422e8762adda3d02d46c20ac74ffe389d4f991d552b6fea729f007345b6426cbeb71160284e2deaa2ce44ce754a9e6cf6ccbd64bff9bc2253df40cdc2f79a5 DIST popt-1.19.tar.gz 596676 BLAKE2B 8f8965e2d339f0413e8d1da421ea7556526f39f089a822063d6fdc35b781a7c7ea84a91d6af3e25902c1f045f564ef956fc69cd4625e6cc008c9e3ca34923a9d SHA512 5d1b6a15337e4cd5991817c1957f97fc4ed98659870017c08f26f754e34add31d639d55ee77ca31f29bb631c0b53368c1893bd96cf76422d257f7997a11f6466 EBUILD popt-1.18.ebuild 1303 BLAKE2B 62f9f879768dc1e9cef36a953a067e38062b94e940215d21d8ec2148f18b74168cb61a892971b28783a4834b30027266a67465838d3dc24c8efe79ca34de6b3e SHA512 b357c6a80bc23ffbeb21bedf74ce2c7a82dc685c57871e4dea74716dd9dcee8729aac4714bbaccf82ac431dabb26b01391f2b416e594bfe14ca4984343c81fef +EBUILD popt-1.19-r1.ebuild 1263 BLAKE2B 08616158616fe8b08ed60df0e1444b488ee0767525c46c095e966058e615a972e7ccbdeed3a11f3558b8fcdb73a295f92851163eeff9bd2a0f631c978c9037f2 SHA512 e2e1ddfac99c0d9c5b4b57e42eb803e8c997c6ca31b567d34a82fda76bfd50366462cd886c9145d7b90645fdf210554f4810fc267206950ae36b8df8b31bca34 EBUILD popt-1.19.ebuild 1472 BLAKE2B 1100e685497cd151fc57ad0adff580fcb7caa859e927436c0a1ff51d06c29e25325dbb8ddf75c2e4b8d88b54b92d5705a7c230dd82b47cad0fc53d7b39e6fdc8 SHA512 5c752c8be83e60e6166e3a5f26cbdfb748a10abb8d56b69a138d7843af726bb26a94105c80689a92b51bdb7620eac8f60762f2912157f6e3905e6953be94d793 MISC metadata.xml 412 BLAKE2B 6fc4208a8032652bfc2f48606c900686475617e828264bb8c4adca481c0de8f73a67b39e418143c6e75e8dec185d15f6050b3b7bf7e2f3ba14bffd17a59b2418 SHA512 aa4b2d96f2588e7fd24fc7a7f793209b431c9628e1ac05f79bdb52edd1582fcf21e93491e2ee241ed8b3aab2b83a1b047c819d030413e013b0d90d4cd4ba2393 diff --git a/dev-libs/popt/popt-1.19-r1.ebuild b/dev-libs/popt/popt-1.19-r1.ebuild new file mode 100644 index 000000000000..58a87653a6e5 --- /dev/null +++ b/dev-libs/popt/popt-1.19-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib-minimal libtool + +DESCRIPTION="Parse Options - Command line parser" +HOMEPAGE="https://github.com/rpm-software-management/popt" +SRC_URI="http://ftp.rpm.org/${PN}/releases/${PN}-1.x/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="nls static-libs" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( >=sys-devel/gettext-0.19.8 )" + +src_prepare() { + default + + # Unclear what the background to this is, perhaps + # https://gitlab.exherbo.org/exherbo/arbor/-/commit/5545d22d3493279acf7a55246179f818ef22f5fa + sed -i -e 's:lt-test1:test1:' tests/testit.sh || die + + elibtoolize +} + +multilib_src_configure() { + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + local myeconfargs=( + --disable-werror + $(use_enable static-libs static) + $(use_enable nls) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -type f -name "*.la" -delete || die +} |