28 lines
1 KiB
Bash
28 lines
1 KiB
Bash
# Template file for 'qtox'
|
|
pkgname=qtox
|
|
version=1.17.0
|
|
revision=1
|
|
wrksrc="qTox-${version}"
|
|
build_style=cmake
|
|
configure_args="-DUPDATE_CHECK=OFF
|
|
$(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="Spencer Hill <spencernh77@gmail.com>"
|
|
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=1936b65854b3e16e2d620a62469b5033fdd4ea006ee061c2afcec7a028eab0e7
|
|
|
|
build_options="snorenotify"
|
|
build_options_default="snorenotify"
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|