diff options
author | 2022-06-17 20:03:58 +0530 | |
---|---|---|
committer | 2022-06-17 20:09:36 +0530 | |
commit | 26f5659b793eb574d48e6ffeee4506da98b3c39d (patch) | |
tree | e999a85110b8944d65e05f257aa2417d3d8b66ba | |
parent | 538d7d5db37edb952b9be4757f726dc6a9636b6e (diff) | |
download | whatsie-26f5659b793eb574d48e6ffeee4506da98b3c39d.tar.gz whatsie-26f5659b793eb574d48e6ffeee4506da98b3c39d.zip |
chore: version 4.4
-rw-r--r-- | snap/snapcraft.yaml | 10 | ||||
-rw-r--r-- | src/WhatsApp.pro | 2 |
2 files changed, 8 insertions, 4 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 diff --git a/src/WhatsApp.pro b/src/WhatsApp.pro index 2d1e907..765e0a7 100644 --- a/src/WhatsApp.pro +++ b/src/WhatsApp.pro @@ -45,7 +45,7 @@ BUILD_TIMESTAMP="\\\"$$system(date -u +\""%Y-%m-%dT%H:%M:%SUTC\"")\\\"" DEFINES += GIT_HASH=$$GIT_HASH GIT_BRANCH=$$GIT_BRANCH BUILD_TIMESTAMP=$$BUILD_TIMESTAMP # Set program version -VERSION = 4.3 +VERSION = 4.4 DEFINES += VERSIONSTR=\\\"$${VERSION}\\\" # You can also make your code fail to compile if you use deprecated APIs. |