diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-10-23 11:00:19 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-10-23 11:00:19 -0700 |
commit | daed84af7a355ed33df6249c23408f418df79feb (patch) | |
tree | 8131689207117029876cbac653cb422a317ee697 | |
parent | Rebuild because broken for unknown reason (diff) | |
download | qtox-daed84af7a355ed33df6249c23408f418df79feb.tar.xz |
Rebuild for toxcore 1:0.2.12-3
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,7 +13,7 @@ _offline=0 pkgname=qtox _pkgname=qTox pkgver=1.17.3 -pkgrel=3.2 +pkgrel=4 _gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d' pkgdesc='a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol' arch=('x86_64' 'aarch64') @@ -51,6 +51,7 @@ validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44' # - sudden6 <sudden6@g prepare() { # disable -Werror for release packaging cd $_pkgname + sed -e 's|-Werror||' -i CMakeLists.txt sed -e 's|Enable automatic update check" ON|Enable automatic update check" OFF|' -i CMakeLists.txt } @@ -59,6 +60,7 @@ build() { cd $_pkgname mkdir -p build cd build + # gcc 10.2 + qt 5.15 + pie = segfault export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto" export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto" @@ -75,6 +77,7 @@ if [ "$_offline" == "0" ]; then check() { cd $_pkgname cd build + make test } fi @@ -82,5 +85,6 @@ fi package() { cd $_pkgname cd build + make DESTDIR="$pkgdir" install } |