mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/fcitx-qt: add 5.1.14
Part-of: https://github.com/gentoo/gentoo/pull/46548 Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
54bc4d2361
commit
fd9dde2bb4
@@ -1,2 +1,3 @@
|
||||
DIST fcitx-qt-5.1.12.tar.zst 130569 BLAKE2B dd5d1b4b286b507c9b0c7bf6f269a9a1278550bfd31ee7995f122cc83626b8ead86d394c7a490c57b364d58c00d9a9574e994f27b6fb711a4876db8e8c37670e SHA512 c708d1c993ecbcb5b38f41e39269c880f7f8a720bc9ff62230d955e1ef8067c67db6a929c203a98fdee8a4f6e9ca19c6bb687230547c7a15ccf4adc9c6008e09
|
||||
DIST fcitx-qt-5.1.13.tar.zst 131573 BLAKE2B 11f69c1d7d5136f2b3ddcf8ca4b0b8a1ddf92543a5c1d7c3a8894c1436043461f00c4ea00b6f28ca4e878bada2b16c31d09477ffc5b36668d36ac321ae34ff3b SHA512 5a2c92fb35fc3015257ad367a9df0be2895c7b9317d801d2c0f973122340792acfa489fb97a664426f3522e967fb6a4e2b127cd3b74a84220d24149f92714e49
|
||||
DIST fcitx-qt-5.1.14.tar.zst 131702 BLAKE2B 14c9fa7eff8f99a8c26f7193c7e2d5bb86b2dc8669f1263f7e1e962d4ddcbe16181ff2bff96caa04e44d5bef3fb16c45af13280467722725ea08cf352392eda7 SHA512 97c600af3d5b2d3657f1249f12f3795d7cef61a687b90a1a0f77c27e971ace17b589faf6c56cf31874ad41942dd968b0c458180f88cc6e6c4539809a96f81c5e
|
||||
|
||||
71
app-i18n/fcitx-qt/fcitx-qt-5.1.14.ebuild
Normal file
71
app-i18n/fcitx-qt/fcitx-qt-5.1.14.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 2023-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="fcitx5-qt"
|
||||
|
||||
inherit cmake dot-a unpacker
|
||||
|
||||
DESCRIPTION="Qt library and IM module for fcitx5"
|
||||
HOMEPAGE="https://github.com/fcitx/fcitx5-qt"
|
||||
SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.zst -> ${P}.tar.zst"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
LICENSE="BSD LGPL-2.1+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||||
IUSE="qt5 onlyplugin staticplugin +qt6 +X wayland"
|
||||
REQUIRED_USE="
|
||||
|| ( qt5 qt6 )
|
||||
qt5? ( X )
|
||||
staticplugin? ( onlyplugin )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
!onlyplugin? (
|
||||
>=app-i18n/fcitx-5.1.13:5
|
||||
qt5? ( dev-qt/qtconcurrent:5 )
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtwidgets:5
|
||||
wayland? ( dev-qt/qtwayland:5 )
|
||||
)
|
||||
qt6? (
|
||||
dev-qt/qtbase:6=[dbus,gui,widgets,wayland?]
|
||||
wayland? ( dev-qt/qtwayland:6 )
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
kde-frameworks/extra-cmake-modules:0
|
||||
virtual/pkgconfig
|
||||
!onlyplugin? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
use staticplugin && lto-guarantee-fat
|
||||
local mycmakeargs=(
|
||||
-DENABLE_QT4=no
|
||||
-DENABLE_QT5=$(usex qt5)
|
||||
-DENABLE_QT6=$(usex qt6)
|
||||
-DENABLE_QT6_WAYLAND_WORKAROUND=$(usex qt6 $(usex wayland))
|
||||
-DENABLE_X11=$(usex X)
|
||||
-DBUILD_ONLY_PLUGIN=$(usex onlyplugin)
|
||||
-DBUILD_STATIC_PLUGIN=$(usex staticplugin)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use staticplugin && strip-lto-bytecode
|
||||
}
|
||||
Reference in New Issue
Block a user