fcitx: normalise patch

This commit is contained in:
Đoàn Trần Công Danh 2021-06-19 11:00:04 +07:00
parent 6905f7a6a6
commit bc07a23b33
3 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,5 @@
--- CMakeLists.txt.bak 2017-12-02 13:38:52.784843265 +0100
+++ src/CMakeLists.txt 2017-12-02 13:39:15.028841808 +0100
--- a/src/CMakeLists.txt 2017-12-02 13:38:52.784843265 +0100
+++ b/src/CMakeLists.txt 2017-12-02 13:39:15.028841808 +0100
@@ -1,6 +1,8 @@
include_directories(${LIBINTL_INCLUDE_DIR})
include_directories(${LIBICONV_INCLUDE_DIR})

View file

@ -1,7 +1,7 @@
diff --git src/lib/fcitx-gclient/CMakeLists.txt src/lib/fcitx-gclient/CMakeLists.txt
index ea1d50f..20b2359 100644
--- src/lib/fcitx-gclient/CMakeLists.txt
+++ src/lib/fcitx-gclient/CMakeLists.txt
--- a/src/lib/fcitx-gclient/CMakeLists.txt
+++ b/src/lib/fcitx-gclient/CMakeLists.txt
@@ -65,6 +65,8 @@ install(FILES ${FCITX_GCLIENT_HEADERS}
if(ENABLE_GIR)

View file

@ -4,23 +4,23 @@ version=4.2.9.8
revision=4
build_style=cmake
build_helper=gir
configure_args="-DSYSCONFDIR=/etc -DFORCE_OPENCC=OFF -DFORCE_PRESAGE=OFF
-DENABLE_GTK2_IM_MODULE=ON -DENABLE_GTK3_IM_MODULE=ON -DENABLE_QT=OFF
-DFORCE_ENCHANT=ON -DENABLE_TEST=ON -DENABLE_GIR=$(vopt_if gir ON OFF)"
hostmakedepends="pkg-config doxygen extra-cmake-modules glib-devel"
makedepends="iso-codes gettext-devel enchant-devel libxml2-devel
json-c-devel opencc-devel
libxkbfile-devel icu-devel dbus-devel gtk+-devel gtk+3-devel"
depends="fcitx5-icons fcitx5-chinese-addons-icons"
short_desc="Flexible Context-aware Input Tool with eXtension"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, MIT"
homepage="https://fcitx-im.org/"
distfiles="http://download.fcitx-im.org/fcitx/fcitx-${version}_dict.tar.xz"
checksum=bc3515cba0561546fe02dae81391d4a03e0e79a2d668aa794cd3a377284033c6
hostmakedepends="pkg-config doxygen extra-cmake-modules glib-devel"
makedepends="iso-codes gettext-devel enchant-devel libxml2-devel
json-c-devel opencc-devel
libxkbfile-devel icu-devel dbus-devel gtk+-devel gtk+3-devel"
depends="fcitx5-icons fcitx5-chinese-addons-icons"
lib32disabled=yes
configure_args="-DCMAKE_BUILD_TYPE=None
-DSYSCONFDIR=/etc -DFORCE_OPENCC=OFF -DFORCE_PRESAGE=OFF
-DENABLE_GTK2_IM_MODULE=ON -DENABLE_GTK3_IM_MODULE=ON -DENABLE_QT=OFF
-DFORCE_ENCHANT=ON -DENABLE_TEST=ON -DENABLE_GIR=$(vopt_if gir ON OFF)"
patch_args=-Np1
# Warning: do NOT enable backtrace for musl, do NOT add libexecinfo-devel
case "$XBPS_TARGET_MACHINE" in