mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-27 06:47:07 -05:00
Start attempting to build Qt5 from source
This commit is contained in:
parent
b5f80601f5
commit
f406e147a3
@ -17,10 +17,7 @@ apps:
|
|||||||
onionshare-gui:
|
onionshare-gui:
|
||||||
common-id: org.onionshare.OnionShareGui
|
common-id: org.onionshare.OnionShareGui
|
||||||
command: onionshare-gui
|
command: onionshare-gui
|
||||||
extensions:
|
|
||||||
- kde-neon
|
|
||||||
plugs:
|
plugs:
|
||||||
- kde-frameworks-5-plug
|
|
||||||
- home
|
- home
|
||||||
- opengl
|
- opengl
|
||||||
- network
|
- network
|
||||||
@ -44,15 +41,50 @@ parts:
|
|||||||
python-version: python3
|
python-version: python3
|
||||||
python-packages:
|
python-packages:
|
||||||
- poetry
|
- poetry
|
||||||
build-packages:
|
|
||||||
- pyqt5-dev
|
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libatk-bridge2.0-0
|
- libatk-bridge2.0-0
|
||||||
- libatspi2.0-0
|
- libatspi2.0-0
|
||||||
- libgtk-3-0
|
- libgtk-3-0
|
||||||
- python3-pyqt5
|
- python3-pyqt5
|
||||||
after: [tor, obfs4]
|
after: [qt5, tor, obfs4]
|
||||||
|
|
||||||
|
# For building Qt5, see:
|
||||||
|
# https://doc.qt.io/qt-5/linux-building.html
|
||||||
|
# https://doc.qt.io/qt-5/linux-requirements.html
|
||||||
|
qt5:
|
||||||
|
source: https://download.qt.io/archive/qt/5.14/5.14.0/single/qt-everywhere-src-5.14.0.tar.xz
|
||||||
|
source-checksum: sha256/be9a77cd4e1f9d70b58621d0753be19ea498e6b0da0398753e5038426f76a8ba
|
||||||
|
source-type: tar
|
||||||
|
plugin: autotools
|
||||||
|
build-packages:
|
||||||
|
- python
|
||||||
|
- libfontconfig1-dev
|
||||||
|
- libfreetype6-dev
|
||||||
|
- libx11-dev
|
||||||
|
- libxext-dev
|
||||||
|
- libxfixes-dev
|
||||||
|
- libxi-dev
|
||||||
|
- libxrender-dev
|
||||||
|
- libxcb1-dev
|
||||||
|
- libx11-xcb-dev
|
||||||
|
- libxcb-glx0-dev
|
||||||
|
- libxkbcommon-x11-dev
|
||||||
|
- libxcb-keysyms1-dev
|
||||||
|
- libxcb-image0-dev
|
||||||
|
- libxcb-shm0-dev
|
||||||
|
- libxcb-icccm4-dev
|
||||||
|
- libxcb-sync0-dev
|
||||||
|
- libxcb-xfixes0-dev
|
||||||
|
- libxcb-shape0-dev
|
||||||
|
- libxcb-randr0-dev
|
||||||
|
- libxcb-render-util0-dev
|
||||||
|
# Using override-build instead of configflags to avoid problem where
|
||||||
|
# there's the `--prefix=` flag without any way to set the value
|
||||||
|
override-build: |
|
||||||
|
./configure -opensource -confirm-license -no-opengl -nomake examples -nomake tests
|
||||||
|
make
|
||||||
|
make install DESTDIR="${SNAPCRAFT_PART_INSTALL}"
|
||||||
|
|
||||||
tor:
|
tor:
|
||||||
source: https://dist.torproject.org/tor-0.4.2.7.tar.gz
|
source: https://dist.torproject.org/tor-0.4.2.7.tar.gz
|
||||||
source-checksum: sha256/06a1d835ddf382f6bca40a62e8fb40b71b2f73d56f0d53523c8bd5caf9b3026d
|
source-checksum: sha256/06a1d835ddf382f6bca40a62e8fb40b71b2f73d56f0d53523c8bd5caf9b3026d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user