void-packages/srcpkgs/nheko/template

27 lines
1.1 KiB
Bash

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