summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-08-30 15:30:22 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-08-30 15:30:22 -0700
commit26eb9f943e5ca5ccb10c395bae63cf0200d92bbc (patch)
tree431a769355f88567946ab2f06be6f10affca21c1
parentEnable spellchecker depends (diff)
downloadqtox-26eb9f943e5ca5ccb10c395bae63cf0200d92bbc.tar.xz
Rebuild due to qt5.15
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 885e3a7..575e203 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,15 +6,14 @@
# # I maintain this because:
# Artix version uses emoticons
-# Artix version uses incorrect repo
# Artix version uses incorrect gpg fingerprints
pkgname=qtox
_pkgname=qTox
pkgver=1.17.2
-pkgrel=1.2
+pkgrel=2.2
_gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d'
-pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines'
+pkgdesc='a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol'
arch=('x86_64' 'aarch64')
url='https://github.com/qTox/qTox'
license=('GPL3')
@@ -55,9 +54,9 @@ prepare() {
build() {
mkdir -p build
cd build
- export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE"
- export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE"
- export LDFLAGS="$LDFLAGS,-pie"
+ # gcc 10.2 + qt 5.15 + pie = segfault
+ export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4"
+ export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4"
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DGIT_VERSION=$_gitver \
-DGIT_DESCRIBE=v$pkgver \