[gnome-build-meta/wengxt/fcitx5: 3/3] elements/sdk/fcitx.bst: replace fcitx im module with fcitx5 version.




commit 046123b90e122b12343022809f38df97c64da439
Author: Weng Xuetian <wengxt gmail com>
Date:   Wed Dec 8 12:01:34 2021 -0800

    elements/sdk/fcitx.bst: replace fcitx im module with fcitx5 version.
    
    1. better wayland support
    2. support gtk4
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1409>

 elements/sdk/fcitx.bst | 33 ++++-----------------------------
 1 file changed, 4 insertions(+), 29 deletions(-)
---
diff --git a/elements/sdk/fcitx.bst b/elements/sdk/fcitx.bst
index 1e5aa99ba..1d3d33c05 100644
--- a/elements/sdk/fcitx.bst
+++ b/elements/sdk/fcitx.bst
@@ -2,7 +2,7 @@ kind: cmake
 
 sources:
 - kind: tar
-  url: tar_github_com:fcitx/fcitx/archive/4.2.9.8.tar.gz
+  url: tar_github_com:fcitx/fcitx5-gtk/archive/5.0.10.tar.gz
 
 build-depends:
 - freedesktop-sdk.bst:components/extra-cmake-modules.bst
@@ -10,44 +10,19 @@ build-depends:
 
 depends:
 - sdk/gtk+-3.bst
+- sdk/gtk.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
   cmake-local: >-
-    -DLIB_INSTALL_DIR=%{libdir}
-    -DSYSCONFDIR=%{sysconfdir}
-    -DENABLE_XKB=Off
-    -DENABLE_QT=Off
-    -DENABLE_PINYIN=Off
-    -DENABLE_TABLE=Off
     -DENABLE_GIR=Off
+    -DENABLE_GTK4_IM_MODULE=On
     -DENABLE_GTK3_IM_MODULE=On
-    -DENABLE_OPENCC=Off
-    -DENABLE_CAIRO=Off
-    -DENABLE_SPELL=Off
     -DENABLE_GTK2_IM_MODULE=Off
-    -DENABLE_LIBXML2=Off
-    -DENABLE_X11=Off
-    -DENABLE_ENCHANT=Off
-    -DENABLE_PRESAGE=Off
-    -DENABLE_XDG_AUTOSTART=Off
 
 public:
   bst:
     split-rules:
       devel:
         (>):
-        - '%{bindir}/fcitx4-config'
-        - "%{libdir}/libfcitx-core.so"
-        - "%{libdir}/libfcitx-gclient.so"
-        - "%{libdir}/libfcitx-config.so"
-        - "%{libdir}/libfcitx-utils.so"
-        - '%{datadir}/cmake'
-        - '%{datadir}/cmake/**'
-
-config:
-  install-commands:
-    (>):
-    - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx-skin-installer.desktop"
-    - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx-configtool.desktop"
-    - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx.desktop"
+        - '%{libdir}/libFcitx5GClient.so'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]