{ "app-id": "io.gitlab.craigbarnes.Showdown", "branch": "master", "runtime": "org.gnome.Platform", "runtime-version": "3.34", "sdk": "org.gnome.Sdk", "command": "showdown", "rename-icon": "showdown", "rename-appdata-file": "io.gitlab.craigbarnes.Showdown.appdata.xml", "finish-args": [ "--filesystem=host:ro", "--share=ipc", "--share=network", "--socket=x11", "--socket=fallback-x11", "--socket=wayland", "--device=dri" ], "build-options": { "cflags": "-O2 -g", "env": { "MAKEFLAGS": "-j$(mk/nproc.sh)", "V": "1" } }, "modules": [ { "name": "libmarkdown", "buildsystem": "simple", "sources": [{ "type": "archive", "url": "https://github.com/Orc/discount/archive/v2.2.6.tar.gz", "sha256": "0beb98a66a6e38ed125e2d0a161ff6b461f6a38538bb72498766f376c94a0ad3" }], "build-commands": [ "./configure.sh --prefix=/app --shared --pkg-config", "make -j1", "sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh", "make install", "install -m644 libmarkdown.pc /app/lib/pkgconfig/libmarkdown.pc" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig" ] }, { "name": "showdown", "buildsystem": "simple", "sources": [{ "type": "git", "url": "git://github.com/craigbarnes/showdown.git", "branch": "master", "disable-shallow-clone": true }], "build-commands": [ "make", "cat build/version.txt", "make install prefix=/app POSTINSTALL=:" ] } ] }