mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 15:58:56 -04:00
app-i18n/fcitx-gtk: drop 5.1.0
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
This commit is contained in:
parent
0c17acb63c
commit
a3b4fd6b38
@ -1 +0,0 @@
|
|||||||
DIST fcitx-gtk-5.1.0.tar.xz 54128 BLAKE2B d6c4f6607067955b260a3a53b29bad210b6358151ae0542ff5d414e8fd75aebc51c9d616f845e4c47e28bd7f18874e0bfb62a8a288a7ae66d0bab9d2c54ba9d6 SHA512 6b042714a4facb253d0e5cce119239e923511b809681909b63a2c1d47ecfc403672522c24f9ac91c12ed3e0b61c5023ec9e340d51f6aefc3f61fa1a1fbe39dfc
|
|
@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit cmake gnome2-utils xdg
|
|
||||||
|
|
||||||
MY_PN="fcitx5-gtk"
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.xz -> ${P}.tar.xz"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
|
||||||
|
|
||||||
DESCRIPTION="Gtk im module for fcitx5 and glib based dbus client library"
|
|
||||||
HOMEPAGE="https://github.com/fcitx/fcitx5-gtk"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="5"
|
|
||||||
IUSE="gtk2 +gtk3 +gtk4 +introspection +snooper onlyplugin wayland"
|
|
||||||
REQUIRED_USE="|| ( gtk2 gtk3 gtk4 )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-i18n/fcitx:5
|
|
||||||
kde-frameworks/extra-cmake-modules:0
|
|
||||||
gtk2? ( x11-libs/gtk+:2 )
|
|
||||||
gtk3? ( x11-libs/gtk+:3[wayland?] )
|
|
||||||
gtk4? ( gui-libs/gtk:4[wayland?] )
|
|
||||||
introspection? ( dev-libs/gobject-introspection )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
|
||||||
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
-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