summaryrefslogtreecommitdiff
path: root/dev-libs/libintl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-20 11:14:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-20 11:14:01 +0000
commitc72af498eade96364bed882cf8ab30fc3da7d772 (patch)
treeb8b14b175740b5539b80495e977af5effd09912d /dev-libs/libintl
parent74906c6d417b91db60daabc3ff3dedeeac41e789 (diff)
gentoo auto-resync : 20:11:2023 - 11:14:01
Diffstat (limited to 'dev-libs/libintl')
-rw-r--r--dev-libs/libintl/Manifest3
-rw-r--r--dev-libs/libintl/libintl-0.22.4.ebuild99
2 files changed, 102 insertions, 0 deletions
diff --git a/dev-libs/libintl/Manifest b/dev-libs/libintl/Manifest
index 2b22d2ab3178..34c37f709e57 100644
--- a/dev-libs/libintl/Manifest
+++ b/dev-libs/libintl/Manifest
@@ -5,10 +5,13 @@ DIST gettext-0.22.2.tar.xz 10238092 BLAKE2B 337597432af11ba082354e968fa7dd95aa6b
DIST gettext-0.22.2.tar.xz.sig 833 BLAKE2B 47a3480c6ec5b379e2262588a358e69560477c5e8cdc13d82f879bf1c2381c4b176060e6e1d482b0a9b17d497ff5e7c1642646489f3829c879340b939d51de5c SHA512 b40f233d64001b13ab5d5b85bc87424bc873cbbd6e59e797997ed39404325a5a2dc945f7b6a3dfc25becaff788d5dd644779bf505d5141bfa437882931dcf22c
DIST gettext-0.22.3.tar.xz 10236340 BLAKE2B 567945a9554f14729835b63587d0ae1e8c1a4538ec039243b525abe4bff9a30cd02d0ddb12f3475f27c6a2a0c6647e52201f2ea34ba60d1867c063c653718785 SHA512 ccfd17d664f02da58b91623845fde23b9763442cb988be979d814aff66d774db87ed7d8b27dcce84bf8f118d85d34f4782ce451c5d3cb5a9484161ba2c3f4209
DIST gettext-0.22.3.tar.xz.sig 833 BLAKE2B a329a9b6d9bc8e7dfc4bda748624649f1a4d66fbe5ab4e61038e0e931d5838448bfd93a093b5f4fff8e86f446683ca660f47d8bfd2a0dc27f52f575daaa116ef SHA512 fd3fdbd78e5f86dd1e5d149cac7e7f1ee6c553e1c703bb141906116cb6e8603042128aa64a9dfc06c51841c5748c532219337735911e55c7c99306099fd5d719
+DIST gettext-0.22.4.tar.xz 10255384 BLAKE2B 3f93aa5aef8e40d2e01acaa5aeed11efefd0de43ea26d084a0b9e743019685f7584d8e1bf05c1fd5772a5576d21ee1f052b81366f52c7827b6d14bd4d9890edc SHA512 0f3620b1621b85b3df9e372885c2f040c8a91ec0b2d4e16978459a8a2a152318a0e6f5fefb8d971bad80c437e7ee8ac8c24edc4de0ab86e729528b8a2ac62c51
+DIST gettext-0.22.4.tar.xz.sig 833 BLAKE2B fbb00b53c807934a11263c120861971fffebbd39689eda1fae0fb956476e69c3fb6799440cbf3acfcf43ecea2c134ea4dadb95becbac98badb43e546f3c8e9fb SHA512 a774c98de643b1ea3df645e451878652c2baa5cd786642aa457e6d5f5c44787cb1231eb15ad4390acdf314822633acaffffaa853eb69cbbc72c3b79b547a8854
DIST gettext-0.22.tar.xz 10008808 BLAKE2B e91c82eb793897bd7ed727503e9d6e72a47027adf51ca76cf5c936437c434e910508814b1d03b12694c5e87156018683cb2c8cc51637b121313ed41155bcd3e5 SHA512 c6368344aa4e0f6fd7c4a93023a5f7b377c7bb97b8ea688fd54f4c385c069d9ff27611d8763b1aed6328b6d3c4db7b34bd89bfbf6525ecaef11eb58434a4d4fa
DIST gettext-0.22.tar.xz.sig 833 BLAKE2B d1718f02100abc2c7c67e5c6a49000baee5244030fcef33f099fac255562211332b0c7838d329e2cdd2c99c5b4e5d4bfed6da81cdddd86a4adf9f24f626c8704 SHA512 2d4f0ea68150aa9f7da315545bd782f0c74d581ec89f60ca5138d069cc6ef0296f85df6e05f0c7f030dc8660a8db32529d237497473f6cef7c72034adcc58a9b
EBUILD libintl-0.21.1.ebuild 2715 BLAKE2B f02d77c74a0ea7293fb1357aaeb9ee400612dc346bd2fcf1b44790da8051b8a7543b8d6d0cbc79425bead80fcca553d04087ca1694847f4d7c18cc0e002751f3 SHA512 a67cbbe0aa364c37380b7d3abd7191e12919820e0dda724a156f8b8b5ec3e1bb0cb0996730e05dd3bdb226fdf702b8c7c35c20ad1505e56ea9bf22b290303295
EBUILD libintl-0.22-r1.ebuild 2886 BLAKE2B 4c4eeac7cd1a6fee04b1b3c32729e9a0bd276765bf6e9af4c481c875dc97057ee6545c7f3fb8e4ccffadfa3358f430cebcf85e67d0bd866c5c3df4fdea483a52 SHA512 c34c684ee738927e721978d53cc1a807a9bea3d7f9c0addb3a74f5a5d87d253525516e6dd883ab1185ca762e170f8371a970cccbe3d0aa76c90848292f2a761d
EBUILD libintl-0.22.2.ebuild 2672 BLAKE2B 83a82367f1c55c0943434e12d4e5d47abe8e24165736ac3b39a6a025faf47840bf2f373dfc3ed9b6746b7dcb1c192ad0764b6e0244dc1954065bdcd6dda7fde3 SHA512 8bd442fb7f9b5b0d8613577a960427b810b8080c3810459f7ad024258ae5cad6019198e85cf138803bbcd7c77e585e979d60d5637fe4022a21f5454059c76160
EBUILD libintl-0.22.3.ebuild 2672 BLAKE2B 83a82367f1c55c0943434e12d4e5d47abe8e24165736ac3b39a6a025faf47840bf2f373dfc3ed9b6746b7dcb1c192ad0764b6e0244dc1954065bdcd6dda7fde3 SHA512 8bd442fb7f9b5b0d8613577a960427b810b8080c3810459f7ad024258ae5cad6019198e85cf138803bbcd7c77e585e979d60d5637fe4022a21f5454059c76160
+EBUILD libintl-0.22.4.ebuild 2672 BLAKE2B 83a82367f1c55c0943434e12d4e5d47abe8e24165736ac3b39a6a025faf47840bf2f373dfc3ed9b6746b7dcb1c192ad0764b6e0244dc1954065bdcd6dda7fde3 SHA512 8bd442fb7f9b5b0d8613577a960427b810b8080c3810459f7ad024258ae5cad6019198e85cf138803bbcd7c77e585e979d60d5637fe4022a21f5454059c76160
MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c
diff --git a/dev-libs/libintl/libintl-0.22.4.ebuild b/dev-libs/libintl/libintl-0.22.4.ebuild
new file mode 100644
index 000000000000..522df942dae7
--- /dev/null
+++ b/dev-libs/libintl/libintl-0.22.4.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Note: Keep version bumps in sync with sys-devel/gettext.
+
+EAPI=8
+
+MY_P="gettext-${PV}"
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gettext.asc
+inherit multilib-minimal libtool usr-ldscript verify-sig
+
+DESCRIPTION="the GNU international library (split out of gettext)"
+HOMEPAGE="https://www.gnu.org/software/gettext/"
+SRC_URI="
+ mirror://gnu/gettext/${MY_P}.tar.xz
+ verify-sig? ( mirror://gnu/gettext/${MY_P}.tar.xz.sig )
+"
+S="${WORKDIR}/${MY_P}/gettext-runtime"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="static-libs +threads"
+
+DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]"
+# Block C libraries known to provide libintl.
+RDEPEND="
+ ${DEPEND}
+ !sys-libs/glibc
+ !sys-libs/musl
+ !<sys-devel/gettext-0.19.6-r1
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gettext )"
+
+src_prepare() {
+ default
+
+ cd "${WORKDIR}/${MY_P}" || die
+
+ # gettext-0.21.1-java-autoconf.patch changes
+ # gettext-{runtime,tools}/configure.ac and the corresponding
+ # configure scripts. Avoid regenerating other autotools output.
+ #touch -c gettext-{runtime,tools}/{aclocal.m4,Makefile.in,config.h.in,configure} || die
+ # Makefile.am adds a dependency on gettext-{runtime,tools}/configure.ac
+ #touch -c configure || die
+
+ cd "${S}" || die
+
+ # The libtool files are stored higher up, so make sure we run in the
+ # whole tree and not just the subdir we build.
+ elibtoolize "${WORKDIR}"
+}
+
+multilib_src_configure() {
+ local myconf=(
+ --cache-file="${BUILD_DIR}"/config.cache
+
+ # Emacs support is now in a separate package.
+ --without-emacs
+ --without-lispdir
+ # Normally this controls nls behavior in general, but the libintl
+ # subdir is skipped unless this is explicitly set. ugh.
+ --enable-nls
+ # This magic flag enables libintl.
+ --with-included-gettext
+ # The gettext package provides this library.
+ --disable-c++
+ --disable-libasprintf
+ # No Java until someone cares.
+ --disable-java
+
+ $(use_enable static-libs static)
+ $(use_enable threads)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ # We only need things in the intl/ subdir.
+ emake -C intl
+}
+
+multilib_src_install() {
+ # We only need things in the intl/ subdir.
+ emake DESTDIR="${D}" install -C intl
+
+ gen_usr_ldscript -a intl
+}
+
+multilib_src_install_all() {
+ if ! use static-libs ; then
+ find "${ED}" -type f -name "*.la" -delete || die
+ fi
+
+ rm -r "${ED}"/usr/share/locale || die
+
+ dodoc AUTHORS ChangeLog NEWS README
+}