void-packages/srcpkgs/qtox/template

30 lines
1.1 KiB
Bash

# Template file for 'qtox'
pkgname=qtox
version=1.17.6
revision=1
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=cd0781241b4ea536da90ce8c72ad9f2aa9bbdf9fbae5d38ee645e30d790fa7f2
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