Update Dependencies

mtxclient no longer depends on boost and instead uses a custom library
(coeurl) built on top of curl.  As such, curl and libevent are now
required.
This commit is contained in:
Joseph Donofry 2021-07-01 20:29:46 -04:00
parent fad8f206cc
commit ab0e72ae9e
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Joseph Donofry <joe at joedonofry dot com>
pkgname=nheko-git
pkgver=0.8.2.r156.gfddc558b
pkgver=0.8.2.r169.g5b016cbc
pkgrel=1
pkgdesc="Desktop client for the Matrix protocol"
arch=("i686" "x86_64")
@ -10,8 +10,8 @@ arch=("i686" "x86_64")
url="https://github.com/Nheko-Reborn/nheko"
license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "qtkeychain-qt5" "boost-libs" "cmark" "openssl" "hicolor-icon-theme" "gstreamer" "gst-plugins-base" "gst-plugins-good" "gst-plugins-bad" "libnice" "libolm" "spdlog" )
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json" "boost")
depends=("qt5-base" "lmdb" "qt5-graphicaleffects" "qt5-multimedia" "qt5-svg" "qt5-quickcontrols2" "qt5-declarative" "qtkeychain-qt5" "cmark" "openssl" "hicolor-icon-theme" "gstreamer" "gst-plugins-base" "gst-plugins-good" "gst-plugins-bad" "libnice" "libolm" "spdlog" "curl" "libevent")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools" "nlohmann-json")
provides=("nheko")
conflicts=("nheko")
@ -35,7 +35,7 @@ build() {
# build with more cores than the default
export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
cmake -H. -Bbuild -DHUNTER_ENABLED=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_MTXCLIENT=ON -DUSE_BUNDLED_LMDBXX=ON -DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_BUILD_TYPE=Release
cmake -H. -Bbuild -DHUNTER_ENABLED=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_MTXCLIENT=ON -DUSE_BUNDLED_COEURL=ON -DUSE_BUNDLED_LMDBXX=ON -DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
}