void-packages/srcpkgs/nheko/template

27 lines
1.1 KiB
Bash

# Template file for 'nheko'
pkgname=nheko
version=0.9.1
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 cmark-devel olm-devel json-c++ lmdb++ coeurl-devel
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=f8261131ed10816bdae568e5d88f6f41adc6cc2564f2f57b07266103a4972776
case "$XBPS_TARGET_MACHINE" in
armv*-musl)
makedepends+=" libunwind-devel"
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lunwind" ;;
*) ;;
esac