diff options
Diffstat (limited to 'net-dns/libidn2')
-rw-r--r-- | net-dns/libidn2/Manifest | 3 | ||||
-rw-r--r-- | net-dns/libidn2/libidn2-2.3.7.ebuild | 58 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest index 0a460fb0a4ca..558bb4f3d2c4 100644 --- a/net-dns/libidn2/Manifest +++ b/net-dns/libidn2/Manifest @@ -1,4 +1,7 @@ DIST libidn2-2.3.4.tar.gz 2083823 BLAKE2B 26ef58894ad51ca9775cf07edb1353a8aeb7af0df36ce8698425be216a067903797cdbc50c7644292c7e05b23c7bba35c9fe5e38c70e6f55784d8bcdd9c2fdb2 SHA512 a6e90ccef56cfd0b37e3333ab3594bb3cec7ca42a138ca8c4f4ce142da208fa792f6c78ca00c01001c2bc02831abcbaf1cf9bcc346a5290fd7b30708f5a462f3 DIST libidn2-2.3.4.tar.gz.sig 228 BLAKE2B 0aa25bbd58b76724dc7f6d7a40dd578bf28f4b786c32933fae330c4330da8fabd549c45b579bfc0ef0178b10122e59c6b33bd78a8425c744dff2ace7e75018dd SHA512 d2a575723326ae256a60e3edf7766af65434f716e11f963bb7ac29b6b2ff2872b41684a1bd1c6f3a3921e8a083512eff1faf2b0fc02513095c2bcf3563312fe0 +DIST libidn2-2.3.7.tar.gz 2155214 BLAKE2B 40fde88e6be1e4665738855608a65c949834728463a3fb466192403f1076e99f7d399b9631308ff6776a28915251a0136ddfe6a67e8e010c7ccdb7fc64125d39 SHA512 eab5702bc0baed45492f8dde43a4d2ea3560ad80645e5f9e0cfa8d3b57bccd7fd782d04638e000ba07924a5d9f85e760095b55189188c4017b94705bef9b4a66 +DIST libidn2-2.3.7.tar.gz.sig 228 BLAKE2B 44f091a5a3ed7ad528ba404b4d1d1f60d1dae52e3c8173b633c30099e6e0405e51f46c954e4f5339b90d0fe883b5af34f8dbf704999e14aa4bd2f414a8473ad2 SHA512 00e5f8c3b6b1aef9ee341db99b339217080a57dbe65fba56798d60ad4be971a9535d8ae27e1f243b18b9fc9e900ada6c452b040a6c8094d5e05d8a76d1d79c03 EBUILD libidn2-2.3.4-r2.ebuild 1414 BLAKE2B ad2cc8bd9d0698f4865dd0a6b5ecbcba4c4f81d09b47850307ef4995101d6f0aae2bc3b241eb02d14e48aebe866f1578e9d217b8f0b9e4dd65e486fd2b21a12d SHA512 2361618c683c0bf2399df92dd1940884802e13d919472d29813382af2355d39bf4385a502e03fc086f1c65692d093b92ec18c1b1bf20f26c44e72974fe907ab1 +EBUILD libidn2-2.3.7.ebuild 1422 BLAKE2B 00d950fad24f0675a0f4261cbd15105a60d6228631ea7e21de49e05319bdcd9c323b72a17f2c96c676f2f4994c05ff526c629937277ef0fbf9b3a6aa5a950d13 SHA512 86a3b1a36de4ee495a98b67ed4e77113a28ba8d170f1f53efbc2724f49357e6aa08261d410508057d61151c6a71816342cfa52c45b9e853fe558fbd99c60fac8 MISC metadata.xml 616 BLAKE2B 8f655a4bf8a19dc46ad2c171a185418193042a5d94e7819cf7366c543f2bab24150715c9966f653cf6efbe1bfcaf4c7f0f2d2bc2cc4c876456e07ef823005953 SHA512 2f23e3e9efc8cabc33337a6c19b0b5d627327538ba3b4e669cac7aa7b424362eae6630249ae162df4d03c833c094affb223f80ee7f914ea87655a45576a11f70 diff --git a/net-dns/libidn2/libidn2-2.3.7.ebuild b/net-dns/libidn2/libidn2-2.3.7.ebuild new file mode 100644 index 000000000000..436d7026ba71 --- /dev/null +++ b/net-dns/libidn2/libidn2-2.3.7.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib-minimal toolchain-funcs verify-sig + +DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)" +HOMEPAGE=" + https://www.gnu.org/software/libidn/#libidn2 + https://gitlab.com/libidn/libidn2/ +" +SRC_URI=" + mirror://gnu/libidn/${P}.tar.gz + verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig ) +" +S="${WORKDIR}"/${P/a/} + +LICENSE="|| ( GPL-2+ LGPL-3+ ) GPL-3+ unicode" +SLOT="0/2" +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=" + dev-libs/libunistring:=[${MULTILIB_USEDEP}] +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-lang/perl + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-libidn ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc + +multilib_src_configure() { + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + local myconf=( + CC_FOR_BUILD="$(tc-getBUILD_CC)" + $(use_enable static-libs static) + $(multilib_native_use_enable nls) + --enable-doc + --disable-gcc-warnings + --disable-gtk-doc + --disable-valgrind-tests + ) + + local ECONF_SOURCE=${S} + econf "${myconf[@]}" +} + +multilib_src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |