[gnome-build-meta/staging-3-30: 4/29] sdk: add fcitx
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/staging-3-30: 4/29] sdk: add fcitx
- Date: Sat, 22 Sep 2018 07:57:59 +0000 (UTC)
commit 4491b6ec842b842cfff2ee7cdba2743b2fd50869
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Wed Sep 5 16:15:46 2018 +0100
sdk: add fcitx
it was added to freedesktop-sdk and depends on gtk3
elements/sdk-platform.bst | 3 ++-
elements/sdk/fcitx.bst | 41 +++++++++++++++++++++++++++++++++++++++++
elements/sdk/sdl2.bst | 1 +
3 files changed, 44 insertions(+), 1 deletion(-)
---
diff --git a/elements/sdk-platform.bst b/elements/sdk-platform.bst
index a6eb328..a850e56 100644
--- a/elements/sdk-platform.bst
+++ b/elements/sdk-platform.bst
@@ -15,6 +15,7 @@ depends:
- sdk/dbus-glib.bst
- sdk/dconf.bst
- sdk/enchant-2.bst
+- sdk/fcitx.bst
- sdk/ffmpeg.bst
- sdk/gcab.bst
- sdk/gcr.bst
@@ -63,7 +64,7 @@ depends:
# update our reference to add any new elements.
# Currently, the elements we want to build ourselves, and not use from freedesktop-sdk are:
-# appstream-glib, at-spi2-*, atk, dconf, ffmpeg, gcab, gdk-pixbuf, geoclue2, glib-networking,
+# appstream-glib, at-spi2-*, atk, dconf, fcitx, ffmpeg, gcab, gdk-pixbuf, geoclue2, glib-networking,
# gobject-introspection, gstreamer-*, gtk3, ibus, json-glib, libcroco, librsvg,
# libsoup, os-release, pango, sdl2* and zenity.
diff --git a/elements/sdk/fcitx.bst b/elements/sdk/fcitx.bst
new file mode 100644
index 0000000..918fdaf
--- /dev/null
+++ b/elements/sdk/fcitx.bst
@@ -0,0 +1,41 @@
+kind: cmake
+sources:
+- kind: tar
+ url: https://download.fcitx-im.org/fcitx/fcitx-4.2.9.6.tar.xz
+depends:
+- sdk/gtk+-3.bst
+- filename: desktop/extra-cmake-modules.bst
+ junction: freedesktop-sdk.bst
+ type: build
+- filename: base.bst
+ junction: freedesktop-sdk.bst
+ type: build
+- filename: base-platform.bst
+ junction: freedesktop-sdk.bst
+ type: runtime
+variables:
+ cmake-local: |
+ -DLIB_INSTALL_DIR=%{libdir} \
+ -DSYSCONFDIR=%{sysconfdir} \
+ -DENABLE_QT=Off \
+ -DENABLE_PINYIN=Off \
+ -DENABLE_TABLE=Off \
+ -DENABLE_GIR=Off \
+ -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
+public:
+ bst:
+ split-rules:
+ devel:
+ (>):
+ - "%{libdir}/libfcitx-core.so"
+ - "%{libdir}/libfcitx-gclient.so"
+ - "%{libdir}/libfcitx-config.so"
+ - "%{libdir}/libfcitx-utils.so"
diff --git a/elements/sdk/sdl2.bst b/elements/sdk/sdl2.bst
index d06629a..a7666e8 100644
--- a/elements/sdk/sdl2.bst
+++ b/elements/sdk/sdl2.bst
@@ -5,6 +5,7 @@ sources:
- kind: patch
path: files/sdl2/sdl2-unity-fix.patch
depends:
+- sdk/fcitx.bst
- sdk/ibus.bst
- filename: desktop/dbus.bst
junction: freedesktop-sdk.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]