nheko: update to 0.6.2.
This commit is contained in:
parent
8dbec3aae1
commit
2b618f79ac
|
@ -1,22 +1,25 @@
|
||||||
# Template file for 'nheko'
|
# Template file for 'nheko'
|
||||||
pkgname=nheko
|
pkgname=nheko
|
||||||
version=0.4.3
|
version=0.6.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DTWEENY_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/tweeny
|
configure_args="-DTWEENY_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/tweeny
|
||||||
-DCMAKE_SKIP_RPATH=TRUE"
|
-DCMAKE_SKIP_RPATH=TRUE"
|
||||||
hostmakedepends="git qt5-host-tools qt5-qmake"
|
hostmakedepends="git qt5-host-tools qt5-qmake pkg-config"
|
||||||
makedepends="lmdb-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
|
makedepends="lmdb-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
|
||||||
tweeny"
|
tweeny spdlog mtxclient-devel boost-devel cmark-devel olm-devel json-c++
|
||||||
|
lmdb++ libsodium-devel"
|
||||||
short_desc="Desktop client for the Matrix protocol"
|
short_desc="Desktop client for the Matrix protocol"
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/mujx/nheko"
|
homepage="https://github.com/mujx/nheko"
|
||||||
distfiles="https://github.com/mujx/nheko/archive/v${version}.tar.gz"
|
distfiles="https://github.com/mujx/nheko/archive/v${version}.tar.gz"
|
||||||
checksum=17f2313a505eece0fb10da4b4c8aa604bf22791866ef908a2d56084126faf7cd
|
checksum=869dea68ad53258cbff4e41bb3e2894742ef90568779787d8eb5391112eb3d48
|
||||||
|
|
||||||
pre_configure() {
|
pre_build() {
|
||||||
sed -i 's/Werror/Wno-error/g' cmake/CompilerFlags.cmake
|
# Fix up includes to nlohmann json
|
||||||
|
grep -rl '#include <json.hpp>' | xargs sed -i 's|#include <json.hpp>|#include <nlohmann/json.hpp>|'
|
||||||
|
grep -rl '#include "json.hpp"' | xargs sed -i 's|#include "json.hpp"|#include <nlohmann/json.hpp>|'
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue