mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-08 18:58:59 -05:00
Fix onionshare-cli and onionshare snapcraft packaging
This commit is contained in:
parent
a9416a97da
commit
dd3a5484a2
@ -46,13 +46,10 @@ parts:
|
|||||||
source: ./desktop
|
source: ./desktop
|
||||||
plugin: python
|
plugin: python
|
||||||
python-packages:
|
python-packages:
|
||||||
- setuptools
|
|
||||||
- qrcode
|
- qrcode
|
||||||
- pyside2 == 5.15.2.1
|
- pyside2 == 5.15.2.1
|
||||||
# Force using setup.py, prevent using setup-freeze.py or poetry
|
|
||||||
override-build: |
|
override-build: |
|
||||||
rm setup-freeze.py pyproject.toml poetry.lock || true
|
python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL
|
||||||
snapcraftctl build
|
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libasound2
|
- libasound2
|
||||||
- libatk1.0-0
|
- libatk1.0-0
|
||||||
@ -68,7 +65,7 @@ parts:
|
|||||||
- libglx0
|
- libglx0
|
||||||
- libgtk-3-0
|
- libgtk-3-0
|
||||||
- libharfbuzz0b
|
- libharfbuzz0b
|
||||||
- libicu60
|
- libicu66
|
||||||
- libjpeg8
|
- libjpeg8
|
||||||
- liblcms2-2
|
- liblcms2-2
|
||||||
- libnspr4
|
- libnspr4
|
||||||
@ -127,10 +124,12 @@ parts:
|
|||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libffi-dev
|
- libffi-dev
|
||||||
- python3-dev
|
- python3-dev
|
||||||
|
- python3-pip
|
||||||
- cargo
|
- cargo
|
||||||
stage:
|
override-build: |
|
||||||
- -usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
|
poetry install
|
||||||
- -usr/share/doc/libssl1.1/changelog.Debian.gz
|
poetry build
|
||||||
|
pip3 install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
|
||||||
after: [tor, obfs4, snowflake-client, meek-client]
|
after: [tor, obfs4, snowflake-client, meek-client]
|
||||||
|
|
||||||
tor:
|
tor:
|
||||||
@ -138,6 +137,8 @@ parts:
|
|||||||
source-checksum: sha256/9e9a5c67ad2acdd5f0f8be14ed591fed076b1708abf8344066990a0fa66fe195
|
source-checksum: sha256/9e9a5c67ad2acdd5f0f8be14ed591fed076b1708abf8344066990a0fa66fe195
|
||||||
source-type: tar
|
source-type: tar
|
||||||
plugin: autotools
|
plugin: autotools
|
||||||
|
autotools-configure-parameters:
|
||||||
|
- "--with-libevent-dir=/root/parts/libevent/install/usr/local"
|
||||||
build-packages:
|
build-packages:
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
|
Loading…
x
Reference in New Issue
Block a user