diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2024-08-03 18:26:37 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2024-08-03 18:26:37 -0700 |
commit | 7773f7f9bae66cc481125f0c492645555f2cdb43 (patch) | |
tree | fed252a1a6904c9c18459b8ee2c8848eb1140310 | |
parent | Another rebuild for toxcore (diff) | |
download | qtox-7773f7f9bae66cc481125f0c492645555f2cdb43.tar.xz |
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -13,7 +13,7 @@ _offline=0 pkgname=qtox _pkgname=qTox pkgver=1.17.6 -pkgrel=4.3 +pkgrel=4.5 _gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d' pkgdesc='A Qt5 chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol' arch=('x86_64' 'aarch64') @@ -23,7 +23,7 @@ options=('lto') depends=('desktop-file-utils' 'libxss' 'openal' - 'ffmpeg' + 'ffmpeg4.4' 'qrencode' 'qt5-svg' 'sqlcipher' @@ -57,6 +57,8 @@ prepare() { sed -e 's|-Werror||' -i CMakeLists.txt sed -e 's|Enable automatic update check" ON|Enable automatic update check" OFF|' -i CMakeLists.txt + + sed -s 's|${CMAKE_SOURCE_DIR}/libs/lib/pkgconfig:/opt/ffmpeg/lib/pkgconfig:$ENV{PKG_CONFIG_PATH})|${CMAKE_SOURCE_DIR}/libs/lib/pkgconfig:/usr/lib/ffmpeg4.4/pkgconfig:$ENV{PKG_CONFIG_PATH})|' -i CMakeLists.txt } build() { @@ -68,6 +70,7 @@ build() { # gcc 10.2 + qt 5.15 + pie = segfault export CFLAGS="$CFLAGS -O3 -fstack-protector-all" export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all" + cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DDESKTOP_NOTIFICATIONS=ON \ -DGIT_VERSION=$_gitver \ |