fcitx5-qt: update to 5.0.6.
This commit is contained in:
parent
21b96f2e4b
commit
b876ada4a3
7 changed files with 78 additions and 35 deletions
74
srcpkgs/fcitx5-qt/template
Normal file
74
srcpkgs/fcitx5-qt/template
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Template file for 'fcitx5-qt'
|
||||
pkgname=fcitx5-qt
|
||||
version=5.0.6
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_QT4=OFF -DENABLE_QT5=ON -DENABLE_QT6=ON
|
||||
-DQT_HOST_PATH=/usr"
|
||||
hostmakedepends="cldr-emoji-annotation pkg-config gettext doxygen
|
||||
extra-cmake-modules qt5-qmake qt5-host-tools qt6-base-devel"
|
||||
makedepends="libfcitx5-devel fmt-devel qt5-devel libxkbcommon-devel
|
||||
qt6-base-devel"
|
||||
short_desc="Flexible Context-aware Input Tool with eXtension v5 - Qt"
|
||||
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=c954d20bc4e332c0977639dc579bd641a6860926bfd0efe62bc13ee02b43e872
|
||||
lib32disabled=yes
|
||||
patch_args=-Np1
|
||||
|
||||
if [ "$XBPS_TARGET_NOATOMIC8" ]; then
|
||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
local _file
|
||||
for _file in $(grep -rl 'SPDX-License-Identifier: BSD-3-Clause' qt5 qt6)
|
||||
do
|
||||
sed -n '/SPDX-FileCopyrightText/s/.*:/Copyright/p' "$_file"
|
||||
done | sort -u >LICENSE
|
||||
cat LICENSES/BSD-3-Clause.txt >>LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
fcitx5-qt5_package() {
|
||||
depends="fcitx5-qt-${version}_${revision}"
|
||||
short_desc+="5"
|
||||
pkg_install() {
|
||||
vmove usr/lib/fcitx5/qt5
|
||||
vmove usr/lib/qt5
|
||||
vmove "usr/libexec/*qt5-*"
|
||||
vmove "usr/lib/*Qt5*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
fcitx5-qt5-devel_package() {
|
||||
depends="fcitx5-qt5>=${version}_${revision} qt5-devel"
|
||||
short_desc+="5 - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/Fcitx5Qt5
|
||||
vmove "usr/lib/cmake/Fcitx5Qt5*"
|
||||
vmove "usr/lib/*Qt5*.so"
|
||||
}
|
||||
}
|
||||
|
||||
fcitx5-qt6_package() {
|
||||
depends="fcitx5-qt-${version}_${revision}"
|
||||
short_desc+="6"
|
||||
pkg_install() {
|
||||
vmove usr/lib/qt6
|
||||
vmove "usr/lib/*Qt6*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
fcitx5-qt6-devel_package() {
|
||||
depends="fcitx5-qt6>=${version}_${revision} qt6-base-devel"
|
||||
short_desc+="6 - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/Fcitx5Qt6
|
||||
vmove "usr/lib/cmake/Fcitx5Qt6*"
|
||||
vmove "usr/lib/*Qt6*.so"
|
||||
}
|
||||
}
|
1
srcpkgs/fcitx5-qt5
Symbolic link
1
srcpkgs/fcitx5-qt5
Symbolic link
|
@ -0,0 +1 @@
|
|||
fcitx5-qt
|
|
@ -1 +1 @@
|
|||
fcitx5-qt5
|
||||
fcitx5-qt
|
|
@ -1,33 +0,0 @@
|
|||
# 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"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
pkgname=fcitx5-qt
|
1
srcpkgs/fcitx5-qt6
Symbolic link
1
srcpkgs/fcitx5-qt6
Symbolic link
|
@ -0,0 +1 @@
|
|||
fcitx5-qt
|
1
srcpkgs/fcitx5-qt6-devel
Symbolic link
1
srcpkgs/fcitx5-qt6-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
fcitx5-qt
|
Loading…
Reference in a new issue