Created
March 25, 2018 19:27
-
-
Save ndarilek/aed3d727fd54a84c6ba17f92857f9af9 to your computer and use it in GitHub Desktop.
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": "com.danplanet.chirp.Chirp", | |
"runtime": "org.gnome.Platform", | |
"runtime-version": "3.28", | |
"sdk": "org.gnome.Sdk", | |
"command": "chirpw", | |
"rename-desktop-file": "chirp.desktop", | |
"cleanup": [ | |
"/include" | |
], | |
"finish-args": [ | |
"--socket=x11", | |
"--socket=wayland", | |
"--share=ipc", | |
"--device=all" | |
], | |
"modules": [ | |
{ | |
"name": "pyserial", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://pypi.python.org/packages/cc/74/11b04703ec416717b247d789103277269d567db575d2fd88f25d9767fe3d/pyserial-3.4.tar.gz#md5=ed6183b15519a0ae96675e9c3330c69b", | |
"sha256": "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" | |
} | |
], | |
"buildsystem": "simple", | |
"build-commands": [ | |
"python setup.py install --prefix=$FLATPAK_DEST" | |
] | |
}, | |
{ | |
"name": "pygobject", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-2.28.7.tar.xz", | |
"sha256": "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a" | |
} | |
], | |
"build-options": { | |
"config-opts": ["--disable-introspection"] | |
} | |
}, | |
{ | |
"name": "pycairo", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://pypi.python.org/packages/a4/95/e8cb30180a87653aa130a20d3cc91021833e2d0024b6880f197bf315fe09/pycairo-1.16.3.tar.gz", | |
"sha256": "5bb321e5d4f8b3a51f56fc6a35c143f1b72ce0d748b43d8b623596e8215f01f7" | |
} | |
], | |
"buildsystem": "simple", | |
"build-commands": [ | |
"python setup.py install --prefix=$FLATPAK_DEST" | |
] | |
}, | |
{ | |
"name": "pygtk", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-2.24.0.tar.gz", | |
"sha256": "6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8" | |
} | |
] | |
}, | |
{ | |
"name": "chirp", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://cjymrmo0qejeohpop2ef.nolan.sandcats.io/chirp-daily-20180324.tar.gz", | |
"sha256": "2f74462e22e3847e44567a04bd75a3629aa501ed380902293e9d2d3886e9d470" | |
} | |
], | |
"buildsystem": "simple", | |
"build-commands": [ | |
"python setup.py install --prefix=$FLATPAK_DEST", | |
"mkdir -p $FLATPAK_DEST/share/icons/hicolor/256x256/apps", | |
"cp $FLATPAK_DEST/share/pixmaps/chirp.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment