fcitx: normalise patch
This commit is contained in:
parent
6905f7a6a6
commit
bc07a23b33
|
@ -1,5 +1,5 @@
|
||||||
--- CMakeLists.txt.bak 2017-12-02 13:38:52.784843265 +0100
|
--- a/src/CMakeLists.txt 2017-12-02 13:38:52.784843265 +0100
|
||||||
+++ src/CMakeLists.txt 2017-12-02 13:39:15.028841808 +0100
|
+++ b/src/CMakeLists.txt 2017-12-02 13:39:15.028841808 +0100
|
||||||
@@ -1,6 +1,8 @@
|
@@ -1,6 +1,8 @@
|
||||||
include_directories(${LIBINTL_INCLUDE_DIR})
|
include_directories(${LIBINTL_INCLUDE_DIR})
|
||||||
include_directories(${LIBICONV_INCLUDE_DIR})
|
include_directories(${LIBICONV_INCLUDE_DIR})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
diff --git src/lib/fcitx-gclient/CMakeLists.txt src/lib/fcitx-gclient/CMakeLists.txt
|
diff --git src/lib/fcitx-gclient/CMakeLists.txt src/lib/fcitx-gclient/CMakeLists.txt
|
||||||
index ea1d50f..20b2359 100644
|
index ea1d50f..20b2359 100644
|
||||||
--- src/lib/fcitx-gclient/CMakeLists.txt
|
--- a/src/lib/fcitx-gclient/CMakeLists.txt
|
||||||
+++ src/lib/fcitx-gclient/CMakeLists.txt
|
+++ b/src/lib/fcitx-gclient/CMakeLists.txt
|
||||||
@@ -65,6 +65,8 @@ install(FILES ${FCITX_GCLIENT_HEADERS}
|
@@ -65,6 +65,8 @@ install(FILES ${FCITX_GCLIENT_HEADERS}
|
||||||
|
|
||||||
if(ENABLE_GIR)
|
if(ENABLE_GIR)
|
||||||
|
|
|
@ -4,23 +4,23 @@ version=4.2.9.8
|
||||||
revision=4
|
revision=4
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=gir
|
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"
|
short_desc="Flexible Context-aware Input Tool with eXtension"
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="GPL-2.0-or-later, LGPL-2.1-or-later, MIT"
|
license="GPL-2.0-or-later, LGPL-2.1-or-later, MIT"
|
||||||
homepage="https://fcitx-im.org/"
|
homepage="https://fcitx-im.org/"
|
||||||
distfiles="http://download.fcitx-im.org/fcitx/fcitx-${version}_dict.tar.xz"
|
distfiles="http://download.fcitx-im.org/fcitx/fcitx-${version}_dict.tar.xz"
|
||||||
checksum=bc3515cba0561546fe02dae81391d4a03e0e79a2d668aa794cd3a377284033c6
|
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
|
lib32disabled=yes
|
||||||
configure_args="-DCMAKE_BUILD_TYPE=None
|
|
||||||
-DSYSCONFDIR=/etc -DFORCE_OPENCC=OFF -DFORCE_PRESAGE=OFF
|
patch_args=-Np1
|
||||||
-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)"
|
|
||||||
|
|
||||||
# Warning: do NOT enable backtrace for musl, do NOT add libexecinfo-devel
|
# Warning: do NOT enable backtrace for musl, do NOT add libexecinfo-devel
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Reference in New Issue