void-packages/srcpkgs/nheko/template

27 lines
1.1 KiB
Bash

# Template file for 'nheko'
pkgname=nheko
version=0.9.2
revision=1
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative asciidoc"
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++"
maintainer="Lorem <notloremipsum@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://nheko-reborn.github.io"
changelog="https://raw.githubusercontent.com/Nheko-Reborn/nheko/master/CHANGELOG.md"
distfiles="https://github.com/Nheko-Reborn/nheko/archive/v${version}.tar.gz"
checksum=207243e1c0d0e879066233488b766e30d1902a24fd8f848850567d88408ce8ce
case "$XBPS_TARGET_MACHINE" in
armv*-musl)
makedepends+=" libunwind-devel"
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lunwind" ;;
*) ;;
esac