void-packages/srcpkgs/nheko/template

27 lines
1.1 KiB
Bash

# Template file for 'nheko'
pkgname=nheko
version=0.11.1
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 re2-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=a84d6f3a6d17ff0b6ffd07804804bbebb1191e4243f00b9b49b00891e8023b6a
case "$XBPS_TARGET_MACHINE" in
armv*-musl)
makedepends+=" libunwind-devel"
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lunwind" ;;
*) ;;
esac