mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
qtox: update to 1.17.0.
This commit is contained in:
parent
a0b9bfb174
commit
b7bd30b7c7
2 changed files with 13 additions and 28 deletions
|
@ -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")
|
|
|
@ -1,15 +1,16 @@
|
||||||
# Template file for 'qtox'
|
# Template file for 'qtox'
|
||||||
pkgname=qtox
|
pkgname=qtox
|
||||||
version=1.16.3
|
version=1.17.0
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="qTox-${version}"
|
wrksrc="qTox-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config qt5-host-tools qt5-qmake qt5-tools"
|
configure_args="-DUPDATE_CHECK=OFF
|
||||||
makedepends="ffmpeg-devel filter_audio-devel gtk+-devel libXScrnSaver-devel
|
$(vopt_if snorenotify -DDESKTOP_NOTIFICATIONS=ON)"
|
||||||
libexif-devel libopenal-devel libsodium-devel libvpx-devel opus-devel
|
hostmakedepends="pkg-config qt5-host-tools qt5-devel"
|
||||||
qrencode-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
|
makedepends="ffmpeg-devel libexif-devel libopenal-devel libsodium-devel
|
||||||
qt5-plugin-sqlite qt5-plugin-tds qt5-svg-devel qt5-tools-devel sqlcipher-devel
|
libvpx-devel opus-devel qrencode-devel qt5-svg-devel sonnet-devel
|
||||||
toxcore-devel"
|
sqlcipher-devel toxcore-devel
|
||||||
|
$(vopt_if snorenotify snorenotify-devel)"
|
||||||
depends="qt5-plugin-sqlite"
|
depends="qt5-plugin-sqlite"
|
||||||
short_desc="QT-based TOX instant messenger client"
|
short_desc="QT-based TOX instant messenger client"
|
||||||
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
||||||
|
@ -17,14 +18,11 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://wiki.tox.chat/clients/qtox"
|
homepage="https://wiki.tox.chat/clients/qtox"
|
||||||
changelog="https://raw.githubusercontent.com/qTox/qTox/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/qTox/qTox/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/qTox/qTox/archive/v${version}.tar.gz"
|
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
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
||||||
sed -i 's/${ALL_LIBRARIES})/atomic \0/' CMakeLists.txt
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue