Created
October 27, 2017 16:40
-
-
Save wengxt/892c83833b73fed26de4bb0f23c924d1 to your computer and use it in GitHub Desktop.
fcitx in flatpak test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app-id": "org.test.Fcitx", | |
"runtime": "org.gnome.Platform", | |
"runtime-version": "3.24", | |
"sdk": "org.gnome.Sdk", | |
"command": "/usr/bin/zenity", | |
"finish-args": [ | |
"--share=ipc", "--socket=x11", | |
"--env=GTK_IM_MODULE_FILE=/app/lib/gtk-3.0/3.0.0/immodules.cache" | |
], | |
"build-options" : { | |
"cflags": "-O2 -g", | |
"cxxflags": "-O2 -g", | |
"env": { | |
"V": "1" | |
} | |
}, | |
"cleanup": ["/include", "/lib/pkgconfig", | |
"/share/pkgconfig", "/share/aclocal", | |
"/man", "/share/man", "/share/gtk-doc", | |
"/share/vala", | |
"*.la", "*.a"], | |
"modules": [ | |
{ | |
"name": "extra-cmake-modules", | |
"cleanup-platform": ["*"], | |
"buildsystem": "cmake-ninja", | |
"config-opts": ["-DENABLE_TESTING=OFF", "-DCMAKE_INSTALL_LIBDIR=lib"], | |
"sources": [ { "type": "git", "url": "git://anongit.kde.org/extra-cmake-modules.git", "branch": "v5.39.0" } ] | |
}, | |
{ | |
"name": "libxkbfile", | |
"config-opts": [ "--disable-static", "--enable-x11" ], | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://xorg.freedesktop.org/releases/individual/lib/libxkbfile-1.0.9.tar.gz", | |
"sha256": "95df50570f38e720fb79976f603761ae6eff761613eb56f258c3cb6bab4fd5e3" | |
} | |
] | |
}, | |
{ | |
"name": "fcitx", | |
"sources": [ | |
{ | |
"type": "git", | |
"url": "https://github.com/fcitx/fcitx", | |
"branch": "master" | |
} | |
], | |
"buildsystem": "cmake", | |
"config-opts": ["-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"], | |
"post-install": ["gtk-query-immodules-3.0 /app/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so > /app/lib/gtk-3.0/3.0.0/immodules.cache"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment