commit:     449717a74f7cd188f511c36da3e436d636baec93
Author:     Brett A C Sheffield <bacs <AT> librecast <DOT> net>
AuthorDate: Fri Feb 27 08:41:48 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 12:26:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449717a7

app-text/groonga: add 16.0.0

Signed-off-by: Brett A C Sheffield <bacs <AT> librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/162
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/groonga/Manifest              |   1 +
 app-text/groonga/groonga-16.0.0.ebuild | 105 +++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/app-text/groonga/Manifest b/app-text/groonga/Manifest
index cedb22152c1b..cc14227444d8 100644
--- a/app-text/groonga/Manifest
+++ b/app-text/groonga/Manifest
@@ -2,3 +2,4 @@ DIST groonga-13.0.1.tar.gz 24694524 BLAKE2B 
326ca810bdf4634b778eb6efc7a6c56626b0
 DIST groonga-14.0.4.tar.gz 48878675 BLAKE2B 
9918331dbc043f3e89ec0be83de1587cf801f55fac6047f65ab825678b501ef2cd4ba230a73ab98bc879603f3f8aab053b1ca91de960e1a6f209796bc114ee93
 SHA512 
4aaeaaad801bf10626643434dc1eaacc86452876fcd33b0ad4e2e3c6d032ab5bfdf9fae108ce06bd93f7a94b8b2895a4ad5d38aaec4d8cdc52ec7ff96dfccff4
 DIST groonga-14.0.9.tar.gz 51609936 BLAKE2B 
a6e13ad780475d59b5b7b53fc1e9b74512afd91bc7b9b620ec1d8a4e46c46b5d9f14394cba68c1e394dd558708245536e2981d462dcf31e8e00e9cd50ad997e6
 SHA512 
58535c057b0dee0b8c92ff313968d83d6b82eb802b9fe5153c9f7b00a70e5419735873e3c0aeb61f82baf81f16d117198adf52dd7a6cf6de9d936b140f04727e
 DIST groonga-14.1.2.tar.gz 72666711 BLAKE2B 
cd1d95c1eb002a2426fc237322bdcd062ec7dd0bf60a7215a7a0bf7828693be75befb39d79ba653c9c7a8d7315b8ad39116de7711732ec94080e8a9d7ee092bf
 SHA512 
7db99384feb80dd0e1f8c42a2ed5b2271400ccae4b435f39a8116583322a3014467c0e5e0dbb61c2ae99f71475de909d810d9b458c04a8f0df7055c6ccb00da1
+DIST groonga-16.0.0.tar.gz 98489769 BLAKE2B 
3a6bf3e07640b0a42f6c1b9efd86ef83e97277559d91b0840de5855d02bc816fdefa2a728853f546e73ae453bcff18eec982755dd6b9a7e24ea30044920e5adc
 SHA512 
07302ae8b9be29a5a68c5d97e6e4967cfefc69938f1239a47e3d841f3cd94636825d1c93109b3d3194821177ad4b2e0f80d315090d8d956951ba5af88bb0affd

diff --git a/app-text/groonga/groonga-16.0.0.ebuild 
b/app-text/groonga/groonga-16.0.0.ebuild
new file mode 100644
index 000000000000..a8dd4a819e20
--- /dev/null
+++ b/app-text/groonga/groonga-16.0.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit libtool
+
+DESCRIPTION="An Embeddable Fulltext Search Engine"
+HOMEPAGE="https://groonga.org/";
+SRC_URI="https://packages.groonga.org/source/${PN}/${P}.tar.gz";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="benchmark debug doc +exact-alloc-count examples futex jemalloc libedit 
libevent lzo +mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib zstd"
+REQUIRED_USE="
+       sphinx? ( doc )
+"
+
+DEPEND="
+       acct-group/groonga
+       acct-user/groonga
+       >=dev-libs/onigmo-6.1.1:0=
+       dev-libs/rapidjson
+       dev-libs/xxhash
+       benchmark? ( >=dev-libs/glib-2.8 )
+       jemalloc? ( dev-libs/jemalloc:0= )
+       libedit? ( >=dev-libs/libedit-3 )
+       libevent? ( dev-libs/libevent:0= )
+       lzo? ( dev-libs/lzo )
+       mecab? ( >=app-text/mecab-0.80 )
+       msgpack? ( dev-libs/msgpack:= )
+       sphinx? ( >=dev-python/sphinx-1.0.1 )
+       zeromq? ( net-libs/zeromq:0= )
+       zlib? ( virtual/zlib:= )
+       zstd? ( app-arch/zstd:0= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+       sphinx? ( dev-python/sphinx )
+"
+
+src_prepare() {
+       default
+
+       elibtoolize
+}
+
+src_configure() {
+       # httpd is a bundled copy of nginx; disabled for security reasons
+       # prce only is used with httpd
+       # Apache arrow, kytea and libstemmer are not available in Gentoo repo
+       # ruby is only used for an http test
+       local econfopts=(
+               --disable-groonga-httpd
+               --without-pcre
+               --without-kytea
+               --without-libstemmer
+               --disable-arrow
+               --with-log-path="${EPREFIX}"/var/log/${PN}.log
+               --without-luajit
+               --without-ruby
+               --with-shared-onigmo
+               --with-onigmo=system
+               --with-xxhash
+               $(use_enable benchmark)
+               $(use_enable debug memory-debug)
+               $(use_enable doc document)
+               $(use_enable exact-alloc-count)
+               $(use_enable futex)
+               $(use_with jemalloc)
+               $(use_enable libedit)
+               $(use_with libevent)
+               $(use_with lzo)
+               $(use_with mecab)
+               $(use_enable msgpack message-pack)
+               $(use_with msgpack message-pack "${ESYSROOT}/usr")
+               $(use_enable nfkc)
+               $(use_with sphinx sphinx-build)
+               $(use_enable static-libs static)
+               $(use_enable uyield)
+               $(use_enable zeromq)
+               $(use_with zlib)
+               $(use_with zstd)
+       )
+
+       econf "${econfopts[@]}"
+}
+
+src_install() {
+       default
+
+       find "${ED}" -name '*.la' -delete || die
+
+       newinitd "${FILESDIR}/${PN}.initd" ${PN}
+       newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+       keepdir /var/{log,lib}/${PN}
+       fowners groonga:groonga /var/{log,lib}/${PN}
+
+       if ! use examples ; then
+               rm -r "${ED}/usr/share/${PN}" || die
+       fi
+}

Reply via email to