diff options
author | 2022-06-17 20:03:58 +0530 | |
---|---|---|
committer | 2022-06-17 20:09:36 +0530 | |
commit | 26f5659b793eb574d48e6ffeee4506da98b3c39d (patch) | |
tree | e999a85110b8944d65e05f257aa2417d3d8b66ba /snap/snapcraft.yaml | |
parent | 538d7d5db37edb952b9be4757f726dc6a9636b6e (diff) | |
download | whatsie-26f5659b793eb574d48e6ffeee4506da98b3c39d.tar.gz whatsie-26f5659b793eb574d48e6ffeee4506da98b3c39d.zip |
chore: version 4.4
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r-- | snap/snapcraft.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 85c7daf..ebf980c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: whatsie -version: '4.3' +adopt-info: whatsie-build-src summary: Qt Based WhatsApp Client description: | Fast Light weight WhatsApp Client based on Qt's WebEngine, With lots of settings and packed goodies. @@ -75,13 +75,17 @@ plugs: default-provider: qt515-core20 parts: - build-src: + whatsie-build-src: plugin: nil source: https://github.com/keshavbhatt/whatsie.git source-subdir: src/ override-build: | snapcraftctl build + version="$(printf %s.%s $(git describe --tags --abbrev=0) $(git rev-parse --short HEAD))" + + snapcraftctl set-version "$version" + apt install -y build-essential qt515base qt515tools qt515webengine qt515location qt515xmlpatterns libgl1-mesa-dev QT_BASE_DIR=/opt/qt515 @@ -113,7 +117,7 @@ parts: desktop-launch: plugin: nil source: https://github.com/keshavbhatt/qt515-core20.git - after: [build-src] + after: [whatsie-build-src] override-build: | snapcraftctl build |