void-packages/srcpkgs/qtox/template
2020-11-27 13:27:19 +01:00

30 lines
1.1 KiB
Bash

# Template file for 'qtox'
pkgname=qtox
version=1.17.3
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=2664940cedfc4d168995542f89a17d894c3d0675ac463eaf4bd4b55825d1787c
build_options="snorenotify"
build_options_default="snorenotify"
desc_option_snorenotify="Enable support for desktop notifications"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi