qtox: update to 1.17.0.

This commit is contained in:
Piraty 2020-04-22 16:14:17 +02:00
parent a0b9bfb174
commit b7bd30b7c7
2 changed files with 13 additions and 28 deletions

View file

@ -1,13 +0,0 @@
https://github.com/qTox/qTox/issues/4699
https://github.com/qTox/qTox/issues/4707
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -53,7 +53,6 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE -fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-overflow")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-aliasing")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
if (NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all")

View file

@ -1,15 +1,16 @@
# Template file for 'qtox'
pkgname=qtox
version=1.16.3
revision=3
version=1.17.0
revision=1
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"
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>"
@ -17,14 +18,11 @@ 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
checksum=1936b65854b3e16e2d620a62469b5033fdd4ea006ee061c2afcec7a028eab0e7
build_options="snorenotify"
build_options_default="snorenotify"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
pre_configure() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
sed -i 's/${ALL_LIBRARIES})/atomic \0/' CMakeLists.txt
fi
}