fcitx: drop qt4 support
This commit is contained in:
parent
ec5c7fda2b
commit
a639d1431d
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'fcitx'
|
||||
pkgname=fcitx
|
||||
version=4.2.9.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
short_desc="Flexible Context-aware Input Tool with eXtension"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
|
@ -10,13 +10,13 @@ homepage="https://fcitx-im.org/"
|
|||
distfiles="http://download.fcitx-im.org/fcitx/fcitx-${version}_dict.tar.xz"
|
||||
checksum=bc3515cba0561546fe02dae81391d4a03e0e79a2d668aa794cd3a377284033c6
|
||||
|
||||
hostmakedepends="pkg-config doxygen gobject-introspection extra-cmake-modules qt-qmake"
|
||||
hostmakedepends="pkg-config doxygen gobject-introspection extra-cmake-modules"
|
||||
makedepends="iso-codes gettext-devel enchant-devel libxml2-devel
|
||||
json-c-devel opencc-devel
|
||||
libxkbfile-devel icu-devel qt-devel dbus-devel gtk+-devel gtk+3-devel"
|
||||
libxkbfile-devel icu-devel dbus-devel gtk+-devel gtk+3-devel"
|
||||
lib32disabled=yes
|
||||
configure_args="-DSYSCONFDIR=/etc -DFORCE_OPENCC=OFF -DFORCE_PRESAGE=OFF
|
||||
-DENABLE_GTK2_IM_MODULE=ON -DENABLE_GTK3_IM_MODULE=ON -DENABLE_QT_IM_MODULE=ON
|
||||
-DENABLE_GTK2_IM_MODULE=ON -DENABLE_GTK3_IM_MODULE=ON -DENABLE_QT=OFF
|
||||
-DFORCE_ENCHANT=ON -DENABLE_TEST=ON"
|
||||
|
||||
# Warning: do NOT enable backtrace for musl, do NOT add libexecinfo-devel
|
||||
|
@ -26,7 +26,7 @@ esac
|
|||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" -DENABLE_GIR=OFF"
|
||||
hostmakedepends+=" glib-devel qt-host-tools fcitx"
|
||||
hostmakedepends+=" glib-devel fcitx"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
|
@ -94,20 +94,3 @@ libfcitx-gtk3_package() {
|
|||
vmove usr/lib/gtk-3.0
|
||||
}
|
||||
}
|
||||
libfcitx-qt_package() {
|
||||
short_desc+=" - Qt4 IM module"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libfcitx-qt.so.*"
|
||||
vmove usr/lib/fcitx/libexec/fcitx-qt-gui-wrapper
|
||||
vmove usr/lib/qt
|
||||
}
|
||||
}
|
||||
libfcitx-qt-devel_package() {
|
||||
short_desc+=" - Qt4 IM module development files"
|
||||
depends="fcitx-${version}_${revision} qt-devel"
|
||||
pkg_install() {
|
||||
vmove usr/include/fcitx-qt
|
||||
vmove usr/lib/libfcitx-qt.so
|
||||
vmove usr/lib/pkgconfig/fcitx-qt.pc
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
fcitx
|
|
@ -1 +0,0 @@
|
|||
fcitx
|
Loading…
Reference in New Issue