mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-06 09:40:59 +01:00
227 lines
9 KiB
JSON
227 lines
9 KiB
JSON
{
|
|
"app-id": "com.github.bilelmoussaoui.AuthenticatorDevel",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "master",
|
|
"sdk": "org.gnome.Sdk",
|
|
"command": "authenticator",
|
|
"tags": ["devel", "development", "nightly"],
|
|
"desktop-file-name-prefix": "(Development) ",
|
|
"finish-args": [
|
|
/* X11 + XShm */
|
|
"--share=ipc", "--socket=x11",
|
|
/* Wayland */
|
|
"--socket=wayland",
|
|
/* Network */
|
|
"--share=network",
|
|
/* Keyring */
|
|
"--talk-name=org.freedesktop.secrets",
|
|
"--talk-name=org.freedesktop.Flatpak",
|
|
/* Screenshot (used to scan QR code)*/
|
|
"--talk-name=org.gnome.Shell.Screenshot",
|
|
/* dconf */
|
|
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
|
|
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
|
|
/* Pyzbar library path */
|
|
"--env=ZBAR_PATH=/app/lib/libzbar.so"
|
|
],
|
|
"modules": [{
|
|
"name": "zbar",
|
|
"config-opts": [
|
|
"--without-qt",
|
|
"--without-gtk",
|
|
"--without-xv",
|
|
"--without-imagemagick",
|
|
"--disable-video",
|
|
"--without-python",
|
|
"--enable-codes=qrcode"
|
|
],
|
|
"sources": [{
|
|
"type": "git",
|
|
"url": "git://git.linuxtv.org/zbar.git",
|
|
"commit": "14900c67eccfb97e152063296f20cd32aa787578"
|
|
},
|
|
{
|
|
"type": "script",
|
|
"dest-filename": "autogen.sh",
|
|
"commands": [
|
|
"autoreconf -vfi -W none"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "beautifulsoup4",
|
|
"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://www.crummy.com/software/BeautifulSoup/bs4/download/4.7/beautifulsoup4-4.7.0.tar.gz",
|
|
"sha256": "e394827904cc4923f443e8dd2e9968343669c8e1ad7a8d62d7541e780884acb8"
|
|
}],
|
|
"modules": [{
|
|
"name": "soupsieve",
|
|
"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://files.pythonhosted.org/packages/ad/30/4bed751373bef51a7a1897a31bfbd2df8a7e3a7e81e080aef118fe4fc486/soupsieve-1.6.1.tar.gz",
|
|
"sha256": "f7d99b41637be2f249dfcc06ae93c13fcbbdfa7bb68b15308cdd0734e58146f1"
|
|
}]
|
|
}]
|
|
},
|
|
{
|
|
"name": "python3-requests",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} requests"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/ad/13/eb56951b6f7950cadb579ca166e448ba77f9d24efc03edd7e55fa57d04b7/idna-2.8.tar.gz",
|
|
"sha256": "c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/52/2c/514e4ac25da2b08ca5a464c50463682126385c4272c18193876e91f4bc38/requests-2.21.0.tar.gz",
|
|
"sha256": "502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/55/54/3ce77783acba5979ce16674fc98b1920d00b01d337cfaaf5db22543505ed/certifi-2018.11.29.tar.gz",
|
|
"sha256": "47f9c83ef4c0c621eaef743f133f09fa8a74a9b75f037e8624f83bd1b6626cb7"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/b1/53/37d82ab391393565f2f831b8eedbffd57db5a718216f82f1a8b4d381a1c1/urllib3-1.24.1.tar.gz",
|
|
"sha256": "de9529817c93f27c8ccbfead6985011db27bd0ddfcdb2d86f3f663385c6a9c22"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"url": "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz",
|
|
"sha256": "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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.7.tar.gz",
|
|
"sha256": "4dbbece533650f2aeb6c8d1f41cf424614d2877d7331c48a9eed35ae9f949626"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "pyzbar.patch"
|
|
}]
|
|
},
|
|
{
|
|
"name": "libhandy",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dtests=false",
|
|
"-Dexamples=false",
|
|
"-Dglade_catalog=disabled",
|
|
"-Dvapi=false"
|
|
],
|
|
"sources": [{
|
|
"type": "git",
|
|
"url": "https://source.puri.sm/Librem5/libhandy.git"
|
|
}]
|
|
},
|
|
{
|
|
"name": "Authenticator",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dprofile=development"
|
|
],
|
|
"sources": [{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/World/Authenticator.git"
|
|
}]
|
|
}
|
|
]
|
|
}
|