81 lines
1.9 KiB
YAML
81 lines
1.9 KiB
YAML
|
version: 1
|
||
|
script:
|
||
|
# Remove any previous build
|
||
|
- rm -rf AppDir | true
|
||
|
- CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-gcc python setup.py install --prefix=/usr --root=AppDir
|
||
|
|
||
|
AppDir:
|
||
|
path: ./AppDir
|
||
|
|
||
|
app_info:
|
||
|
id: pybitmessage
|
||
|
name: PyBitmessage
|
||
|
icon: pybitmessage
|
||
|
version: 0.6.3.2
|
||
|
# Set the python executable as entry point
|
||
|
exec: usr/bin/python
|
||
|
# Set the application main script path as argument.
|
||
|
# Use '$@' to forward CLI parameters
|
||
|
exec_args: "$APPDIR/usr/bin/pybitmessage $@"
|
||
|
|
||
|
after_runtime:
|
||
|
- sed -i "s|GTK_.*||g" AppDir/AppRun.env
|
||
|
|
||
|
apt:
|
||
|
arch: armhf
|
||
|
sources:
|
||
|
- sourceline: 'deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ bionic main universe'
|
||
|
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
|
||
|
|
||
|
include:
|
||
|
- python-defusedxml
|
||
|
- python-jsonrpclib
|
||
|
- python-msgpack
|
||
|
- python-qrcode
|
||
|
- python-qt4
|
||
|
- python-setuptools
|
||
|
- python-sip
|
||
|
- python-six
|
||
|
- python-xdg
|
||
|
- sni-qt
|
||
|
exclude:
|
||
|
- libdb5.3
|
||
|
- libdbus-1-3
|
||
|
- libfontconfig1
|
||
|
- libfreetype6
|
||
|
- libglib2.0-0
|
||
|
- libice6
|
||
|
- libmng2
|
||
|
- libncursesw5
|
||
|
- libqt4-declarative
|
||
|
- libqt4-designer
|
||
|
- libqt4-help
|
||
|
- libqt4-script
|
||
|
- libqt4-scripttools
|
||
|
- libqt4-sql
|
||
|
- libqt4-test
|
||
|
- libqt4-xmlpatterns
|
||
|
- libqtassistantclient4
|
||
|
- libsm6
|
||
|
- libsystemd0
|
||
|
- libreadline7
|
||
|
|
||
|
files:
|
||
|
exclude:
|
||
|
- usr/lib/x86_64-linux-gnu/gconv
|
||
|
- usr/share/man
|
||
|
- usr/share/doc
|
||
|
|
||
|
runtime:
|
||
|
arch: [ gnueabihf ]
|
||
|
env:
|
||
|
# Set python home
|
||
|
# See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
|
||
|
PYTHONHOME: '${APPDIR}/usr'
|
||
|
# Path to the site-packages dir or other modules dirs
|
||
|
# See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
|
||
|
PYTHONPATH: '${APPDIR}/usr/lib/python2.7/site-packages'
|
||
|
|
||
|
AppImage:
|
||
|
arch: armhf
|