mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 11:20:49 +08:00
snap: using system zxing-cpp for snap packaging
This commit is contained in:
parent
3c18bd19e9
commit
f894b86331
@ -1 +1 @@
|
||||
5527
|
||||
5528
|
||||
|
@ -57,6 +57,7 @@ parts:
|
||||
- libprotobuf-dev
|
||||
- protobuf-compiler-grpc
|
||||
- pkg-config
|
||||
- libzxingcore-dev
|
||||
stage-packages:
|
||||
- libgcc1
|
||||
- libstdc++6
|
||||
@ -68,11 +69,13 @@ parts:
|
||||
- libqt5network5
|
||||
- libqt5widgets5
|
||||
- libglib2.0-bin
|
||||
- libzxingcore1
|
||||
cmake-parameters:
|
||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DEMBED_TRANSLATIONS=ON
|
||||
- -DFALL_BACK_TO_XDG_OPEN=ON
|
||||
- -DQV2RAY_ZXING_PROVIDER=package
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
build_number=$(cat makespec/BUILDVERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user