mtxclient: remove

This commit is contained in:
maxice8 2018-11-17 07:18:14 -02:00 committed by maxice8
parent c73cabd3cd
commit 24191ee705
4 changed files with 6 additions and 34 deletions

View file

@ -3322,7 +3322,6 @@ libmanette-0.2.so.0 libmanette-0.2.1_1
libfmt.so.5 fmt-5.2.1_1
libelementary-calendar.so.0 libio.elementary.calendar-4.2.3_1
libolm.so.2 olm-2.3.0_1
libmatrix_client.so.0.2.0 mtxclient-0.2.0_1
libcrypto.so.44 libcrypto44-2.8.2_1
libtls.so.18 libtls18-2.8.2_1
libssl.so.46 libssl46-2.8.2_1

View file

@ -1 +0,0 @@
mtxclient

View file

@ -0,0 +1 @@
mtxclient is no longer provided by Void Linux, and will be fully removed from the repos on 2019/02/17

View file

@ -1,36 +1,9 @@
# Template file for 'mtxclient'
pkgname=mtxclient
version=0.2.0
revision=2
build_style=cmake
configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF
-DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config"
makedepends="boost-devel zlib-devel libsodium-devel libressl-devel olm-devel
json-c++"
short_desc="Client API library for the Matrix protocol"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3.0-or-later"
revision=3
noarch=yes
build_style=meta
short_desc="Client API library for the Matrix protocol (removed package)"
license="metapackage"
homepage="https://github.com/mujx/mtxclient"
distfiles="https://github.com/mujx/mtxclient/archive/v${version}.tar.gz"
checksum=e7638d4a8233c0c763d48111fd13e8ad1dcd5f34e3e641b46eaf1bb920b73482
pre_configure() {
sed -i '/-Werror/d' CMakeLists.txt
}
pre_build() {
# 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>|'
}
mtxclient-devel_package() {
depends="mtxclient-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}