Integration with matrix structs

patch-6ee5522513d8ef3f2bb53d8fc09b93876f919a8a
Konstantinos Sideris 2017-12-04 21:43:10 +02:00
parent 84d47a215f
commit af34b08c17
2 changed files with 11 additions and 13 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.1.0.r174.c428ef4b pkgver = 0.1.0.r340.b9c4a819
pkgrel = 1 pkgrel = 1
url = https://github.com/mujx/nheko url = https://github.com/mujx/nheko
arch = i686 arch = i686
@ -11,11 +11,11 @@ pkgbase = nheko-git
makedepends = gcc makedepends = gcc
makedepends = fontconfig makedepends = fontconfig
makedepends = qt5-tools makedepends = qt5-tools
makedepends = ninja
depends = qt5-base depends = qt5-base
depends = lmdb depends = lmdb
depends = qt5-multimedia
source = nheko-git::git://github.com/mujx/nheko.git source = nheko-git::git://github.com/mujx/nheko.git
source = git://github.com/bendiken/lmdbxx.git
md5sums = SKIP
md5sums = SKIP md5sums = SKIP
pkgname = nheko-git pkgname = 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.1.0.r174.c428ef4b pkgver=0.1.0.r340.b9c4a819
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,17 +9,15 @@ arch=("i686" "x86_64")
url="https://github.com/mujx/nheko" url="https://github.com/mujx/nheko"
license=("GPL3") license=("GPL3")
depends=("qt5-base" "lmdb") depends=("qt5-base" "lmdb" "qt5-multimedia")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools") makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "ninja")
source=($pkgname::git://github.com/mujx/nheko.git git://github.com/bendiken/lmdbxx.git) source=($pkgname::git://github.com/mujx/nheko.git)
md5sums=("SKIP" "SKIP") md5sums=("SKIP")
prepare() { prepare() {
cd "$pkgname" cd "$pkgname"
git submodule init git submodule update --init --recursive
git config submodule.lmdbxx.url $srcdir/libs/lmdbxx
git submodule update
} }
pkgver() { pkgver() {
@ -29,8 +27,8 @@ pkgver() {
build() { build() {
cd "$pkgname" cd "$pkgname"
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release cmake -H. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release
make -C build -j2 cmake --build build
} }
package() { package() {