void-packages/srcpkgs/qtox/template

30 lines
1.0 KiB
Bash

# Template file for 'qtox'
pkgname=qtox
version=1.17.2
revision=1
wrksrc="qTox-${version}"
build_style=cmake
configure_args="-DUPDATE_CHECK=OFF
-DGIT_DESCRIBE=${version}
$(vopt_if snorenotify -DDESKTOP_NOTIFICATIONS=ON)"
hostmakedepends="pkg-config qt5-host-tools qt5-devel"
makedepends="ffmpeg-devel libexif-devel libopenal-devel libsodium-devel
libvpx-devel opus-devel qrencode-devel qt5-svg-devel sonnet-devel
sqlcipher-devel toxcore-devel
$(vopt_if snorenotify snorenotify-devel)"
depends="qt5-plugin-sqlite"
short_desc="QT-based TOX instant messenger client"
maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-3.0-or-later"
homepage="https://wiki.tox.chat/clients/qtox"
changelog="https://raw.githubusercontent.com/qTox/qTox/master/CHANGELOG.md"
distfiles="https://github.com/qTox/qTox/archive/v${version}.tar.gz"
checksum=23b60fc6d5ce5e45e7099ad606218d16203157ab87a2582377001d3241336aac
build_options="snorenotify"
build_options_default="snorenotify"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi