void-packages/srcpkgs/fcitx5-qt5/template

34 lines
1.1 KiB
Bash

# Template file for 'fcitx5-qt5'
pkgname=fcitx5-qt5
version=5.0.5
revision=1
wrksrc=fcitx5-qt-$version
build_style=cmake
configure_args="-DENABLE_QT4=OFF -DENABLE_QT5=ON -DENABLE_QT6=OFF"
hostmakedepends="cldr-emoji-annotation pkg-config gettext doxygen
extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="libfcitx5-devel fmt-devel qt5-devel libxkbcommon-devel"
short_desc="Flexible Context-aware Input Tool with eXtension v5 - Qt5"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later, BSD-3-Clause"
homepage="https://fcitx-im.org/wiki/Fcitx"
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-qt/fcitx5-qt-${version}.tar.xz"
checksum=4b3b79abd2daae70255c098252e79928bb8d0ab966035b7e76378805b6cb5b6f
lib32disabled=yes
post_install() {
sed -e 's/<year.*owner>/2012-2021 CSSlayer <wengxt@gmail.com>/' \
LICENSES/BSD-3-Clause.txt >LICENSE
vlicense LICENSE
}
fcitx5-qt5-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt5-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}