mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
app-i18n/fcitx-gtk: add 5.1.4
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
d23ca8c99d
commit
59d7ca24fd
@ -1 +1,2 @@
|
||||
DIST fcitx-gtk-5.1.3.tar.zst 67927 BLAKE2B 0019500e2dc8beb716b16c4a37461e45c4b14fbd1485afd1367a6dad56f2f6d363b3415b3923aceeebe576e47f93680d806a74750ef730fc0046f5eb815d4f94 SHA512 e19ba77e9e3d37947871b2c90ecec9089840a5639c2f0dc1a2b11efeda8291c2ee28809a2b4dd69d12f1e5988a13fbd7826cf15c88ce595fa287c81b3efc7f0e
|
||||
DIST fcitx-gtk-5.1.4.tar.zst 68454 BLAKE2B 01f3a854fea6fde4d7de3ca7c6b159fc9c9554c94fb4c0f4503fd8fc6baf081e65fef59394b62dc1d681c4666ec7f8eff7ec89c7877f0bff6d0447feb750188c SHA512 901e00a167f835bb56e7450eb4ab409998643f10c5a93ea12e111161478b0a1127554a70d7d31930e5ea91a836883c7205735f9e25a3a5ec83d4d4942910669c
|
||||
|
||||
60
app-i18n/fcitx-gtk/fcitx-gtk-5.1.4.ebuild
Normal file
60
app-i18n/fcitx-gtk/fcitx-gtk-5.1.4.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="fcitx5-gtk"
|
||||
|
||||
inherit cmake gnome2-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Gtk im module for fcitx5 and glib based dbus client library"
|
||||
HOMEPAGE="https://github.com/fcitx/fcitx5-gtk"
|
||||
SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst -> ${P}.tar.zst"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||||
IUSE="gtk2 +gtk3 +gtk4 +introspection +snooper onlyplugin wayland +X"
|
||||
REQUIRED_USE="|| ( gtk2 gtk3 gtk4 )"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/fcitx:5
|
||||
>=dev-libs/glib-2.56
|
||||
x11-libs/libxkbcommon
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3[wayland?,X?] )
|
||||
gtk4? ( gui-libs/gtk:4[wayland?,X?] )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
X? ( x11-libs/libX11 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
kde-frameworks/extra-cmake-modules:0
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_GTK2_IM_MODULE=$(usex gtk2)
|
||||
-DENABLE_GTK3_IM_MODULE=$(usex gtk3)
|
||||
-DENABLE_GTK4_IM_MODULE=$(usex gtk4)
|
||||
-DENABLE_SNOOPER=$(usex snooper)
|
||||
-DENABLE_GIR=$(usex introspection)
|
||||
-DBUILD_ONLY_PLUGIN=$(usex onlyplugin)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user