void-packages/srcpkgs/nheko/template
2021-08-15 19:17:07 -03:00

26 lines
1.1 KiB
Bash

# Template file for 'nheko'
pkgname=nheko
version=0.8.2
revision=2
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative"
makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel fmt-devel
spdlog mtxclient-devel boost-devel cmark-devel olm-devel json-c++ lmdb++
qt5-declarative-devel qt5-quickcontrols2-devel qtkeychain-qt5-devel
gst-plugins-bad1-devel gst-plugins-base1-devel xcb-util-wm-devel"
depends="hicolor-icon-theme qt5-quickcontrols2 qt5-graphicaleffects
qt5-multimedia gst-plugins-good1 gst-plugins-good1-qt5"
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=df4575c47daab47d418637a4637b599e3848dd749132ca1e92f981d9212eabb2
case "$XBPS_TARGET_MACHINE" in
armv*-musl)
makedepends+=" libunwind-devel"
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lunwind" ;;
*) ;;
esac