aboutsummaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml36
1 files changed, 34 insertions, 2 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index e339168a..e3147532 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -44,7 +44,6 @@ parts:
python-version: python3
python-packages:
- psutil
- - pyside2 == 5.15.2
- qrcode
stage-packages:
- libasound2
@@ -108,7 +107,7 @@ parts:
- libxslt1.1
- libxtst6
- qtwayland5
- after: [onionshare-cli]
+ after: [onionshare-cli, pyside2]
onionshare-cli:
source: ./cli
@@ -139,6 +138,39 @@ parts:
- -usr/share/doc/libssl1.1/changelog.Debian.gz
after: [tor, obfs4]
+ qt5:
+ source: git://code.qt.io/qt/qt5.git
+ source-type: git
+ source-tag: v5.15.2
+ plugin: autotools
+ build-packages:
+ - python3
+ - libwayland-dev
+ - libwayland-egl1
+ - libgl1-mesa-dev
+ - libglu1-mesa-dev
+ override-build: |
+ perl init-repository -f
+ mkdir build
+ cd build
+ ../configure -opensource -confirm-license -nomake examples -nomake tests -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtdocgallery -skip qtfeedback -skip qtgamepad -skip qtlocation -skip qtlottie -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtspeech -skip qtwebengine -skip qtwebglplugin -skip qtwebview
+ make -j$(nproc)
+ make install
+
+ pyside2:
+ source: https://code.qt.io/pyside/pyside-setup.git
+ source-type: git
+ source-tag: "5.15.2"
+ build-packages:
+ - cmake
+ plugin: python
+ python-version: python3
+ python-packages:
+ - packaging
+ - setuptools
+ - wheel
+ after: [qt5]
+
tor:
source: https://dist.torproject.org/tor-0.4.6.7.tar.gz
source-checksum: sha256/ff665ce121b2952110bd98b9c8741b5593bf6c01ac09033ad848ed92c2510f9a