Skip to content

Commit d793b16

Browse files
committed
New package: fcitx5-lotus-6.0.3
1 parent d95dfc3 commit d793b16

3 files changed

Lines changed: 52 additions & 0 deletions

File tree

‎srcpkgs/fcitx5-lotus-settings‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fcitx5-lotus
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
fcitx5-lotus - Service Management
2+
3+
This package does not automatically install the runit service into /etc/sv.
4+
5+
To enable the service for your current user:
6+
cp -r /usr/share/examples/sv/fcitx5-lotus /etc/sv/fcitx5-lotus.$(whoami)
7+
ln -s /etc/sv/fcitx5-lotus.$(whoami) /var/service/fcitx5-lotus.$(whoami)
8+
9+
To remove the service:
10+
rm -f /var/service/fcitx5-lotus.*
11+
rm -rf /etc/sv/fcitx5-lotus.*

‎srcpkgs/fcitx5-lotus/template‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Template file for 'fcitx5-lotus'
2+
pkgname=fcitx5-lotus
3+
version=6.0.0
4+
revision=1
5+
build_style=cmake
6+
configure_args="-DLOTUS_UINPUT_PROXY_USER=_uinput_proxy -DINSTALL_RUNIT=ON -DRUNIT_SV_DIR=/usr/share/examples/sv -DLOTUS_BYTECOMPILE_PYTHON=OFF"
7+
hostmakedepends="extra-cmake-modules pkgconf gettext"
8+
makedepends="libfcitx5-devel libinput-devel eudev-libudev-devel libevdev-devel libnotify-devel"
9+
depends="fcitx5 acl-progs"
10+
short_desc="Fcitx5 - Vietnamese IME"
11+
maintainer="Coolllyn <leanhduc673@gmail.com>"
12+
license="GPL-3.0-or-later AND MIT"
13+
homepage="https://github.com/LotusInputMethod/fcitx5-lotus"
14+
changelog="https://github.com/LotusInputMethod/fcitx5-lotus/releases"
15+
distfiles="https://github.com/LotusInputMethod/fcitx5-lotus/archive/refs/tags/v${version}.tar.gz>fcitx5-lotus-${version}.tar.gz"
16+
checksum="c08b1af2154ef4c4a67300d033d34b50b1b7fa1826af9dcb637414a57b6b1cd7"
17+
system_accounts="_uinput_proxy"
18+
_uinput_proxy_groups="input"
19+
20+
if [ "$XBPS_CHECK_PKGS" ]; then
21+
configure_args+=" -DBUILD_TESTING=ON"
22+
fi
23+
24+
post_install() {
25+
vlicense lotus/LICENSE.bamboo-core
26+
vdoc ${FILESDIR}/README.voidlinux
27+
}
28+
29+
fcitx5-lotus-settings_package() {
30+
short_desc+=" - Settings"
31+
depends="${sourcepkg}>=${version}_${revision} python3 python3-QtPy
32+
python3-pyqt6 python3-dbus python3-pyqt6-widgets python3-pyqt6-gui"
33+
pycompile_dirs="usr/share/${sourcepkg}/settings-gui"
34+
python_version=3
35+
pkg_install() {
36+
vmove usr/bin/fcitx5-lotus-settings
37+
vmove usr/share/fcitx5-lotus/settings-gui
38+
vmove usr/share/applications/org.fcitx.Fcitx5.Addon.Lotus.Settings.desktop
39+
}
40+
}

0 commit comments

Comments
 (0)