diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-14 07:13:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-14 07:13:52 +0000 |
commit | fe1e3bbca60a6b4b9a1889f5252e02c27b459f63 (patch) | |
tree | 2ee0c8c664dc7593daf17a1bfac31e1dd4e5c6f5 /net-dns/libidn | |
parent | 94eb99943eafb48140b436b347abaaee77209c01 (diff) |
gentoo auto-resync : 14:01:2024 - 07:13:52
Diffstat (limited to 'net-dns/libidn')
-rw-r--r-- | net-dns/libidn/Manifest | 3 | ||||
-rw-r--r-- | net-dns/libidn/libidn-1.42.ebuild | 96 |
2 files changed, 99 insertions, 0 deletions
diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest index 766ea8c50776..34759ff34e81 100644 --- a/net-dns/libidn/Manifest +++ b/net-dns/libidn/Manifest @@ -1,5 +1,8 @@ AUX 50libidn-gentoo.el 455 BLAKE2B d6d3a0576c1d0b5030ae32ed5c99e198f06faa897864d06251b07ee2fd3ecbac16347d633644f30dc7428e5bdf9747b0a4d51d7541601d3fbd4be6f9f746693f SHA512 13bcc7078ae8e088014323707d451c0bfdb53414e550945248a9648afa81681db013cb523eae71116c84f1dcfbb3b87e8743971775b75c4ce6dad914b3b0a501 DIST libidn-1.41.tar.gz 2664011 BLAKE2B 6c632c2010f024792fd55d3c8e6f68e81152fa7421a4f65b6835d0dfd788707727381270c57bf46c6e252777e07ead501fdabdc55961c5c1604e81c53be5ab2b SHA512 765c42b64f10f0d84c0abecdce443baa9fdb80576179e3143bf56abde3f6c6149cc2c77e286e2e2a6ccf508914f30c2d5af258073168c0f886686e4fd85bbb47 DIST libidn-1.41.tar.gz.sig 228 BLAKE2B 004aa8871afa7cbb45206d8ddcc7ade21ea165aae2b00fc0c1d22cf05079bb399c8df628dc43bc0eb93c82524b96c71ad694c38234fdc2a4df09dc5192ca57bb SHA512 5d1dca4493cf4af420ba326b867e50e618432ce2808dde60a5325e1c64a6408dcb09d9b104c64d34e2726b9903c06b112ffc040fb6bb3818ae4ddf1551228c1c +DIST libidn-1.42.tar.gz 2653078 BLAKE2B 8f16d388884ad2ac9aafc46ec5eae144508ca86135184f625761c82c02ec9f99400bd4db65c9c9df54d315502cd5e2d37893d171abc6d76abe0a70f29acdb68e SHA512 1a99f0c9aa12cebed2de7db603c203696544cfe093afd7b233b0955f4fbe65440bf637089a624ed74e204abe854b1d16d11b77dc1b8d56c97ba6b20715aeb0d7 +DIST libidn-1.42.tar.gz.sig 228 BLAKE2B 0f2eab508a88de3ce03d79fa10fa053c5e24d76414c1f7f8f3cbaf956a818ec155407affce13cc588bc3838a3c85ef6f99ea30a3d18aa3553e2a1a92cf4282c2 SHA512 16706a3570620badf05ad146c8bf6ff7e96dc066b9dd609c22ecf3f942e70fa615f0f479e6d06b3317ddc094192f76effb841cbe72bff276914821f177ef2049 EBUILD libidn-1.41.ebuild 2299 BLAKE2B f741dd53fbfc0a1f5518829459f4f8ac33601e542acf4b4fe9e790db47ab34a0c2bbbead3f52a4e0a91cae1003b042375e6a0b35684c19689f708dd20f0d87f9 SHA512 cff7bb3613afcc0677dae554120018951b69901e3af6d0097e1f2408cb0f35caae4d683f1c863782c223402d2234908c2afbee68f66afb984fdb72d6e7545981 +EBUILD libidn-1.42.ebuild 2280 BLAKE2B b2f33f80f949e74e96d9a4ef746b15c5e90284a7aee43c833891dd943b1994a4920eac69a7d70ab73cb19007d7c8739b88cf0873aa77a90e1be86731b43dbfab SHA512 3d184e4450394cc24e784f233236bde7b4b78d8ecbaa58b0fb4faef1b206cace82be37d1cff2dc16538cc05302ebc21860a008fe35e0c58314fa0fc8d70edca8 MISC metadata.xml 426 BLAKE2B a3889b6550cebbe1169df18abe906a9f3afb6a1074984ca152e6b069f721f1313834ac05014392912a635af02c49b2f828561eaa647e41148dffc7a9e4db5dbc SHA512 9ea65dc9e949ce6218a73c3ef4c54ff2801cbe740910129f1265e6c48b1c78dcf50653c5baf9b3a5d44983f595295b09a096ee5e2fee0fff646c6f8ccc26765c diff --git a/net-dns/libidn/libidn-1.42.ebuild b/net-dns/libidn/libidn-1.42.ebuild new file mode 100644 index 000000000000..54ca6626bae2 --- /dev/null +++ b/net-dns/libidn/libidn-1.42.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc +inherit elisp-common libtool multilib-minimal verify-sig + +DESCRIPTION="Internationalized Domain Names (IDN) implementation" +HOMEPAGE="https://www.gnu.org/software/libidn/" +SRC_URI=" + mirror://gnu/libidn/${P}.tar.gz + verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig ) +" + +LICENSE="GPL-2 GPL-3 LGPL-3" +SLOT="0/12" +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="emacs nls" + +DEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND}" +BDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) + nls? ( >=sys-devel/gettext-0.17 ) + verify-sig? ( >=sec-keys/openpgp-keys-libidn-20240114 ) +" + +DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS ) + +QA_CONFIG_IMPL_DECL_SKIP=( + unreachable + static_assert +) + +src_prepare() { + default + + # For Solaris shared objects + elibtoolize +} + +multilib_src_configure() { + # -fanalyzer substantially slows down the build and isn't useful for + # us. It's useful for upstream as it's static analysis, but it's not + # useful when just getting something built. + export gl_cv_warn_c__fanalyzer=no + + local args=( + $(use_enable nls) + --disable-gcc-warnings + --disable-doc + --disable-gtk-doc + --disable-gtk-doc-html + --disable-gtk-doc-pdf + --disable-csharp + --disable-java + --disable-valgrind-tests + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" + --with-packager-bug-reports="https://bugs.gentoo.org" + --with-packager-version="r${PR}" + --with-packager="Gentoo Linux" + ) + + ECONF_SOURCE="${S}" econf "${args[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi; then + use emacs && elisp-compile "${S}"/src/*.el + fi +} + +multilib_src_install_all() { + if use emacs; then + # *.el are installed by the build system + elisp-install ${PN} "${S}"/src/*.elc + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + else + rm -r "${ED}"/usr/share/emacs || die + fi + + einstalldocs + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |