Install this version:
emerge -a =app-text/tika-server-standard-3.3.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-text/tika-server-standard-3.3.1
Or alternatively:
emerge --autounmask-write -a =app-text/tika-server-standard-3.3.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.3.1 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="Apache Tika - a content analysis toolkit"
HOMEPAGE="https://tika.apache.org/"
SRC_URI="https://dlcdn.apache.org/tika/${PV}/${PF}.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="acct-group/tika
acct-user/tika
virtual/jre
"
RDEPEND="${DEPEND}"
src_unpack() {
mkdir "${WORKDIR}/${PF}"
cp "${DISTDIR}/${PF}.jar" "${WORKDIR}/${PF}/"
}
src_install() {
insinto /usr/share/tika-server-standard/
newins ${PF}.jar ${PN}.jar
systemd_dounit "${FILESDIR}/tika.service"
}
acct-group/tika acct-user/tika virtual/jre
acct-group/tika acct-user/tika virtual/jre