Compare commits

..

3 commits

6 changed files with 94 additions and 10 deletions

View file

@ -1,10 +1,10 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
LUA_COMPAT=( lua5-{1..4} ) LUA_COMPAT=( lua5-{1..4} )
PYTHON_COMPAT=( python3_{9..13} ) PYTHON_COMPAT=( python3_{10..13} )
CMAKE_REMOVE_MODULES_LIST=( FindLua ) CMAKE_REMOVE_MODULES_LIST=( FindLua )
inherit lua-single python-single-r1 cmake xdg inherit lua-single python-single-r1 cmake xdg
@ -28,16 +28,16 @@ RDEPEND="
app-text/hunspell:= app-text/hunspell:=
app-text/poppler[qt6] app-text/poppler[qt6]
dev-qt/qt5compat:6 dev-qt/qt5compat:6
dev-qt/qtbase:6[concurrent,gui,widgets] dev-qt/qtbase:6[concurrent,dbus,gui,widgets,xml]
dev-qt/qttools:6[widgets]
dev-qt/qtdeclarative:6
sys-libs/zlib sys-libs/zlib
lua? ( ${LUA_DEPS} ) lua? ( ${LUA_DEPS} )
python? ( ${PYTHON_DEPS} ) python? ( ${PYTHON_DEPS} )
" "
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND=" BDEPEND="
dev-qt/qttools[linguist] dev-qt/qttools:6[linguist]
virtual/pkgconfig virtual/pkgconfig
" "

View file

@ -0,0 +1 @@
DIST ibus-anthy-1.5.17.tar.gz 292242 BLAKE2B 5dd5fd5d10a7ee239e2f40bb4f31469f2fd024fdd5c3afc2d1ab6f8df54b23dc8b4c3494889ebdf4924e54a0ea61e92dbb109db3cf02628ceb3a9d4e5ce084e0 SHA512 c361452af73ef49278142e3eb63e7697bb6f4369fd26fdc94405aa976cb5b3a323cb67f31099d348cf3495160a1259b56c941cfb0facce1d3c050daa5264b3d2

View file

@ -0,0 +1,73 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
PYTHON_COMPAT=( python3_{10..13} )
inherit autotools gnome2-utils python-single-r1 xdg
DESCRIPTION="Japanese Anthy engine for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
SRC_URI="https://github.com/ibus/${PN}/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="nls"
RESTRICT="mirror"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
app-i18n/anthy
$(python_gen_cond_dep '
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
')
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/gettext
virtual/pkgconfig"
src_prepare() {
default
eautoreconf
gnome2_environment_reset
}
src_configure() {
econf \
$(use_enable nls) \
--enable-private-png \
--with-layout=default \
--with-python=${EPYTHON}
}
src_test() {
:
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
python_optimize
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
if ! has_version app-dicts/kasumi; then
elog "app-dicts/kasumi is not required but probably useful for you."
fi
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tenno@suij.in</email>
<name>Enno Tensing</name>
</maintainer>
<upstream>
<remote-id type="github">ibus/ibus-anthy</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1 @@
DIST ibus-1.5.32-beta2.tar.gz 4183779 BLAKE2B db4e5bcb3114c508481cb444304d7bb9708f2e446c4af9211d834761f0123d2d6cd171f1354ec380ae42d23356d43c43c0a3fbb767ed9c14df715d27977405d0 SHA512 fd315d94592111e0e63e6a5f9d6c563de6137c8ba90ed0e65786c549d256d1a1a0a574c0ff782845cf10e119b25ce750cf2ae172a0d6bf769d21473295f2d52e DIST ibus-1.5.32.tar.gz 4192999 BLAKE2B 6f69a92993e378c25473e51cdffd66b9180b163c2206a8256bb7c181fc2e54535d0254c62ac8fd8dd162f7d35aa32d7ae5982f7c786310b1327ba1f3ccd932e6 SHA512 2c63cab1fe553cb8f3ce00d22f3374e396f8cb3f9e66b81b8c8c59d141eb68d036549460ac0b836e93b0261c185a33aba0fc930178fd04d142344324e1562b9c

View file

@ -14,14 +14,13 @@ MY_PV=$(ver_rs 3 '-')
GENTOO_VER= GENTOO_VER=
[[ -n ${GENTOO_VER} ]] && \ [[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz" GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}-beta2/${PN}-${MY_PV}-beta2.tar.gz SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.gz
${GENTOO_PATCHSET_URI}" ${GENTOO_PATCHSET_URI}"
S="${S}-beta2"
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
KEYWORDS="amd64" KEYWORDS="amd64"
IUSE="X appindicator +emoji gtk2 +gtk3 +gtk4 +gui +introspection libnotify nls +python systemd test +unicode vala +wayland" IUSE="X appindicator +emoji gtk2 +gtk3 +gtk4 +gui +introspection libnotify nls +python systemd test +unicode vala wayland"
RESTRICT="!test? ( test ) mirror" RESTRICT="!test? ( test ) mirror"
REQUIRED_USE=" REQUIRED_USE="
appindicator? ( gtk3 ) appindicator? ( gtk3 )