void-packages/srcpkgs/qtox/template
2019-06-30 15:19:47 +02:00

30 lines
1.1 KiB
Bash

# Template file for 'qtox'
pkgname=qtox
version=1.16.3
revision=3
wrksrc="qTox-${version}"
build_style=cmake
hostmakedepends="pkg-config qt5-host-tools qt5-qmake qt5-tools"
makedepends="ffmpeg-devel filter_audio-devel gtk+-devel libXScrnSaver-devel
libexif-devel libopenal-devel libsodium-devel libvpx-devel opus-devel
qrencode-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds qt5-svg-devel qt5-tools-devel sqlcipher-devel
toxcore-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=b842e2e7cbfa356da32dd7afc7628d55ce35d046ed72a468b211ab9ef863c382
case "$XBPS_TARGET_MACHINE" in
armv6*) makedepends+=" libatomic-devel"
esac
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
armv6*) sed -i 's/${ALL_LIBRARIES})/atomic \0/' CMakeLists.txt
esac
}