Update to 0.7.2 and fix build deps, Change to release build

main
Joseph Donofry 2020-06-16 17:47:53 -04:00
parent 0ebd9ed5b9
commit 6cf0d10bb1
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
pkgbase = nheko-git pkgbase = nheko-git
pkgdesc = Desktop client for the Matrix protocol pkgdesc = Desktop client for the Matrix protocol
pkgver = 0.7.1.r1647.eb4b02e pkgver = 0.7.2.r1745.887ad25
pkgrel = 1 pkgrel = 1
url = https://github.com/Nheko-Reborn/nheko url = https://github.com/Nheko-Reborn/nheko
arch = i686 arch = i686
@ -12,6 +12,7 @@ pkgbase = nheko-git
makedepends = fontconfig makedepends = fontconfig
makedepends = qt5-tools makedepends = qt5-tools
makedepends = nlohmann-json makedepends = nlohmann-json
makedepends = boost
depends = qt5-base depends = qt5-base
depends = lmdb depends = lmdb
depends = qt5-graphicaleffects depends = qt5-graphicaleffects

View File

@ -2,7 +2,7 @@
# Maintainer: Joseph Donofry <joe at joedonofry dot com> # Maintainer: Joseph Donofry <joe at joedonofry dot com>
pkgname=nheko-git pkgname=nheko-git
pkgver=0.7.1.r1647.eb4b02e pkgver=0.7.2.r1745.887ad25
pkgrel=1 pkgrel=1
pkgdesc="Desktop client for the Matrix protocol" pkgdesc="Desktop client for the Matrix protocol"
arch=("i686" "x86_64") arch=("i686" "x86_64")
@ -11,7 +11,7 @@ url="https://github.com/Nheko-Reborn/nheko"
license=("GPL3") license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "boost-libs" "libsodium" "cmark" "openssl" "hicolor-icon-theme") depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "boost-libs" "libsodium" "cmark" "openssl" "hicolor-icon-theme")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json") makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json" "boost")
provides=("nheko") provides=("nheko")
conflicts=("nheko") conflicts=("nheko")
@ -25,7 +25,7 @@ prepare() {
pkgver() { pkgver() {
cd "$pkgname" cd "$pkgname"
printf "0.7.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "0.7.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
build() { build() {
@ -36,7 +36,7 @@ build() {
# build with more cores than the default # build with more cores than the default
export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l) export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
cmake -H. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF -DUSE_BUNDLED_JSON=OFF \ cmake -H. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF -DUSE_BUNDLED_JSON=OFF \
-DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release cmake --build build --config Release
} }