mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mtxclient: remove
This commit is contained in:
parent
c73cabd3cd
commit
24191ee705
4 changed files with 6 additions and 34 deletions
|
@ -3322,7 +3322,6 @@ libmanette-0.2.so.0 libmanette-0.2.1_1
|
||||||
libfmt.so.5 fmt-5.2.1_1
|
libfmt.so.5 fmt-5.2.1_1
|
||||||
libelementary-calendar.so.0 libio.elementary.calendar-4.2.3_1
|
libelementary-calendar.so.0 libio.elementary.calendar-4.2.3_1
|
||||||
libolm.so.2 olm-2.3.0_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
|
libcrypto.so.44 libcrypto44-2.8.2_1
|
||||||
libtls.so.18 libtls18-2.8.2_1
|
libtls.so.18 libtls18-2.8.2_1
|
||||||
libssl.so.46 libssl46-2.8.2_1
|
libssl.so.46 libssl46-2.8.2_1
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
mtxclient
|
|
1
srcpkgs/mtxclient/INSTALL.msg
Normal file
1
srcpkgs/mtxclient/INSTALL.msg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
mtxclient is no longer provided by Void Linux, and will be fully removed from the repos on 2019/02/17
|
|
@ -1,36 +1,9 @@
|
||||||
# Template file for 'mtxclient'
|
# Template file for 'mtxclient'
|
||||||
pkgname=mtxclient
|
pkgname=mtxclient
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
noarch=yes
|
||||||
configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF
|
build_style=meta
|
||||||
-DBUILD_SHARED_LIBS=ON"
|
short_desc="Client API library for the Matrix protocol (removed package)"
|
||||||
hostmakedepends="pkg-config"
|
license="metapackage"
|
||||||
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"
|
|
||||||
homepage="https://github.com/mujx/mtxclient"
|
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"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue