void-packages/srcpkgs/nheko/template
2020-04-20 20:00:53 +02:00

26 lines
1 KiB
Bash

# Template file for 'nheko'
pkgname=nheko
version=0.7.0
revision=1
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative"
makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
tweeny spdlog mtxclient-devel boost-devel cmark-devel olm-devel json-c++
libsodium-devel lmdb++ qt5-declarative-devel qt5-quickcontrols2-devel"
depends="hicolor-icon-theme qt5-quickcontrols2"
short_desc="Desktop client for Matrix using Qt and C++14"
maintainer="Lorem <notloremipsum@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/Nheko-Reborn/nheko"
changelog="https://github.com/Nheko-Reborn/nheko/blob/master/CHANGELOG.md"
distfiles="https://github.com/Nheko-Reborn/nheko/archive/v${version}.tar.gz"
checksum=74cf6aad2a09ef88f55444e81d6028e38dc3245dabce4d80d7d4d9d3e4776fe9
# this one is very memory hungry and can use as much as 3GB per cc1plus
# realistically, using any more than 8 jobs will easily lead to OOM
do_build() {
cd build
local njobs=${XBPS_MAKEJOBS}
[ "$njobs" -gt 8 ] && njobs=8
make -j${njobs}
}