commit:     ac58a08309ca937a3bd589dd50b41d64ff49cee4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 11 07:26:25 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 07:26:25 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac58a083

dev-libs/libdatrie: drop keywords except for ~amd64 in -r1

We agreed to do this dance to help out ::guru to avoid leaving it
temporarily broken because of keywords: add -r0 with everything it
had before, and -r1 w/ them dropped for proper rekeywording.

Bug: https://bugs.gentoo.org/969891
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild | 45 +++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild 
b/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild
new file mode 100644
index 000000000000..340e7ad7d078
--- /dev/null
+++ b/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Double-Array Trie Library"
+HOMEPAGE="
+       https://linux.thai.net/projects/datrie
+       https://github.com/tlwg/libdatrie
+"
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/tlwg/${PN}.git";
+else
+       
SRC_URI="https://github.com/tlwg/${PN}/releases/download/v${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1+"
+# Subslot: LT_CURRENT - LT_AGE from configure.ac (5 - 4 = 1)
+SLOT="0/1"
+IUSE="doc"
+
+BDEPEND="doc? ( >=app-text/doxygen-1.9.8 )"
+
+src_prepare() {
+       default
+       # Fixed version if in non git project
+       echo ${PV} > VERSION
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable doc doxygen-doc) \
+               --with-html-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to