{ "app-id": "com.github.bilelmoussaoui.Authenticator", "runtime": "org.gnome.Platform", "runtime-version": "3.28", "sdk": "org.gnome.Sdk", "command": "authenticator", "finish-args": [ /* X11 + XShm */ "--share=ipc", "--socket=x11", /* Wayland */ "--socket=wayland", /* Keyring */ "--talk-name=org.freedesktop.secrets", /* dconf */ "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf" ], "build-options": { "cflags": "-O2 -g", "cxxflags": "-O2 -g", "env": { "V": "1" } }, "modules": [{ "name": "zbar", "rm-configure": true, "config-opts": [ "--without-qt", "--without-gtk", "--without-xv", "--without-imagemagick", "--disable-video", "--enable-codes=qrcode" ], "sources": [{ "type": "archive", "url": "http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2", "sha256": "234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6" }, { "type": "script", "dest-filename": "autogen.sh", "commands": [ "autoreconf -vfi -W none" ] }, { "type": "patch", "path": "tools/zbar_configure.patch" } ] }, { "name": "pyotp", "buildsystem": "simple", "build-commands": [ "python3 setup.py install --prefix=/app" ], "ensure-writable": [ "/lib/python*/site-packages/easy-install.pth", "/lib/python*/site-packages/setuptools.pth", "/app/lib/python*/site-packages/easy-install.pth", "/app/lib/python*/site-packages/setuptools.pth" ], "sources": [{ "type": "archive", "url": "https://pypi.python.org/packages/ac/0c/bd96508e36956ae627e527a7a7fba486865a738b4682e7290cd0e7c34f52/pyotp-2.2.4.tar.gz#md5=16cb1a08d38777ca74b5e9c7803810b6", "sha256": "92c3973ba91273e7e4a7fd4a1020ae4b050ccd2e149b554911e1b45ca458ac2d" }] }, { "name": "python-pillow", "buildsystem": "simple", "build-options": { "arch": { "i386": { "env": { "MAX_CONCURRENCY": "1" } }, "arm": { "env": { "MAX_CONCURRENCY": "1" } } } }, "ensure-writable": [ "/lib/python*/site-packages/easy-install.pth", "/lib/python*/site-packages/setuptools.pth", "/app/lib/python*/site-packages/easy-install.pth", "/app/lib/python*/site-packages/setuptools.pth" ], "build-commands": [ "python3 setup.py install --prefix=/app" ], "sources": [{ "type": "archive", "url": "https://github.com/python-pillow/Pillow/archive/5.0.0.tar.gz", "sha256": "e85301adaa827b9f29ab518eff99d5719e572ca5f369866ebfe57a92e7135aec" }, { "type": "shell", "commands": [ "sed -i 's/if not platform_/if not dirs/' setup.py" ] } ] }, { "name": "pyzbar", "buildsystem": "simple", "build-commands": [ "python3 setup.py install --prefix=/app" ], "ensure-writable": [ "/lib/python*/site-packages/easy-install.pth", "/lib/python*/site-packages/setuptools.pth", "/app/lib/python*/site-packages/easy-install.pth", "/app/lib/python*/site-packages/setuptools.pth" ], "sources": [{ "type": "archive", "url": "https://github.com/NaturalHistoryMuseum/pyzbar/archive/v0.1.4.tar.gz", "sha256": "7387899656e4e9564b7e507b2c26729c4863b7a79bbaf29c80c956a5654d2ee0" }] }, { "name": "gnome-screenshot", "buildsystem": "meson", "sources": [{ "type": "archive", "url": "https://github.com/GNOME/gnome-screenshot/archive/3.26.0.tar.gz", "sha256": "7bb1462b4b14db574e270d5dddbcd4ec8bf2f5f45681c729b66ecdabae4abad4" }] }, { "name": "Authenticator", "buildsystem": "meson", "sources": [{ "type": "git", "url": "git@github.com:bilelmoussaoui/Authenticator.git", "branch": "master" }] } ] }