Update with the new dependencies

master
Konstantinos Sideris 2018-06-17 20:09:01 +03:00
parent b0d3488973
commit a6bff6cde8
2 changed files with 10 additions and 4 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.4.0.r571.e032f293 pkgver = 0.4.3.r678.87042659
pkgrel = 1 pkgrel = 1
url = https://github.com/mujx/nheko url = https://github.com/mujx/nheko
arch = i686 arch = i686
@ -15,6 +15,9 @@ pkgbase = nheko-git
depends = lmdb depends = lmdb
depends = qt5-multimedia depends = qt5-multimedia
depends = qt5-svg depends = qt5-svg
depends = boost
depends = libsodium
depends = openssl
provides = nheko provides = nheko
conflicts = nheko conflicts = nheko
source = nheko-git::git://github.com/mujx/nheko.git source = nheko-git::git://github.com/mujx/nheko.git

View File

@ -1,7 +1,7 @@
# Maintainer: Konstantinos Sideris <siderisk at auth dot gr> # Maintainer: Konstantinos Sideris <siderisk at auth dot gr>
pkgname=nheko-git pkgname=nheko-git
pkgver=0.4.0.r571.e032f293 pkgver=0.4.3.r678.87042659
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")
@ -9,7 +9,7 @@ arch=("i686" "x86_64")
url="https://github.com/mujx/nheko" url="https://github.com/mujx/nheko"
license=("GPL3") license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg") depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg" "boost" "libsodium" "openssl")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools") makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools")
provides=("nheko") provides=("nheko")
@ -24,11 +24,14 @@ prepare() {
pkgver() { pkgver() {
cd "$pkgname" cd "$pkgname"
printf "0.4.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "0.4.3.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
build() { build() {
cd "$pkgname" cd "$pkgname"
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF
cmake --build .deps
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build cmake --build build
} }