1{ 2 "app-id": "org.test2.IBus", 3 "runtime": "org.freedesktop.Platform", 4 "runtime-version": "18.08", 5 "sdk": "org.freedesktop.Sdk", 6 "command": "/usr/bin/zenity", 7 "finish-args": [ 8 /* X11 + XShm access */ 9 "--share=ipc", "--socket=x11", 10 /* Wayland access */ 11 "--socket=wayland", 12 /* Needed for dconf to work */ 13 "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", 14 "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", 15 "--env=GTK_IM_MODULE_FILE=/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache" 16 ], 17 "build-options" : { 18 "cflags": "-O2 -g", 19 "cxxflags": "-O2 -g", 20 "env": { 21 "V": "1" 22 } 23 }, 24 "cleanup": ["/include", "/lib/pkgconfig", 25 "/share/pkgconfig", "/share/aclocal", 26 "/man", "/share/man", "/share/gtk-doc", 27 "/share/vala", 28 "*.la", "*.a"], 29 "modules": [ 30 { 31 "name": "ibus", 32 "sources": [ 33 { 34 "type": "git", 35 "url": "https://github.com/ibus/ibus.git", 36 "branch": "master" 37 } 38 ], 39 "config-opts": ["--disable-emoji-dict", "--disable-dconf", "--disable-gtk2", "--disable-libnotify", "--disable-unicode-dict", "--disable-ui"], 40 "post-install": ["gtk-query-immodules-3.0 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so > /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache"] 41 } 42 ] 43} 44