commit:     c0d89909caa4c422a27158c59b470d7109415028
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 17 13:39:10 2025 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Sep 17 13:49:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d89909

dev-db/m17n-db: new upstream release

Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-db/m17n-db/Manifest              |  1 +
 dev-db/m17n-db/m17n-db-1.8.10.ebuild | 44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-db/m17n-db/Manifest b/dev-db/m17n-db/Manifest
index c99faed356c1..ea879b5bb301 100644
--- a/dev-db/m17n-db/Manifest
+++ b/dev-db/m17n-db/Manifest
@@ -1,2 +1,3 @@
 DIST glibc-2.39.tar.xz 18520988 BLAKE2B 
9d98459a2d58401e07c081e0d841935b23998da75a7eb5a7ebd23a1f9ebab99dee623fe166397c1b6c926960c570f62dbca5cb3b5ce84a918adff6b7a15e16bb
 SHA512 
818f58172a52815b4338ea9f2a69ecaa3335492b9f8f64cbf8afb24c0d737982341968ecd79631cae3d3074ab0ae4bc6056fc4ba3ffe790849dc374835cd57e2
+DIST m17n-db-1.8.10.tar.gz 2582328 BLAKE2B 
2b70d471a830ac6a71bddfe732ceb68a706c00bb633ba47954075c2ae68c05a194e45488aa24fa6a9fc595060f080d8eafecab491b0f48db9af9214c2db49749
 SHA512 
17e37bbde4a87eaaecdfb1a2dea3437b6fddd107c2a264ad606e081f1720d72496880e914eb1445ffd2f46d2e23a815df93a567bd43591a4b633251eec81d426
 DIST m17n-db-1.8.5.tar.gz 2492374 BLAKE2B 
306a86cb74735893f6aafb4869f785108af038c065fb2a51ee26402077d22ff23638176810b411bb23c13c4933d7536e23e48dafe07ab77700c7545d9c9ecf45
 SHA512 
6c3f42072b7e0a36870fd8143fb1ac7c3efc21c41869d984dfa0cbb87eb1f9958e429f1144a975b401791f0423386a03ab02531f162496531e303d9b0e049987

diff --git a/dev-db/m17n-db/m17n-db-1.8.10.ebuild 
b/dev-db/m17n-db/m17n-db-1.8.10.ebuild
new file mode 100644
index 000000000000..d54602da9d60
--- /dev/null
+++ b/dev-db/m17n-db/m17n-db-1.8.10.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+GLIBC_PV="2.39"
+GLIBC_P="glibc-${GLIBC_PV}"
+
+DESCRIPTION="Database for the m17n library"
+HOMEPAGE="https://www.nongnu.org/m17n/";
+SRC_URI="mirror://nongnu/m17n/${P}.tar.gz
+       elibc_musl? ( mirror://gnu/glibc/${GLIBC_P}.tar.xz )"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+IUSE=""
+
+RDEPEND="virtual/libintl"
+BDEPEND="sys-devel/gettext"
+
+CHARMAPS="${GLIBC_P}/localedata/charmaps"
+
+src_unpack() {
+       unpack ${P}.tar.gz
+
+       if use elibc_musl; then
+               tar xf "${DISTDIR}"/${GLIBC_P}.tar.xz ${CHARMAPS} || die
+       fi
+}
+
+src_configure() {
+       econf $(usex elibc_musl "--with-charmaps=${WORKDIR}/${CHARMAPS}" "")
+}
+
+src_install() {
+       default
+
+       docinto FORMATS
+       dodoc FORMATS/*
+
+       docinto UNIDATA
+       dodoc UNIDATA/*
+}

Reply via email to