diff --git a/common/shlibs b/common/shlibs index 5033d3537bb..75431657f20 100644 --- a/common/shlibs +++ b/common/shlibs @@ -425,6 +425,7 @@ libFLAC.so.8 libflac-1.2.1_1 libFLAC++.so.6 libflac-1.2.1_1 libmad.so.0 libmad-0.15.1b_1 libmatroska.so.6 libmatroska-1.4.1_5 +libmatrix_client.so.0.2.1 mtxclient-0.2.1_1 libebml.so.4 libebml-1.3.0_5 libdvdread.so.4 libdvdread-4.1.3_1 libdvdnav.so.4 libdvdnav-4.1.3_1 diff --git a/srcpkgs/mtxclient-devel b/srcpkgs/mtxclient-devel new file mode 120000 index 00000000000..d810425a433 --- /dev/null +++ b/srcpkgs/mtxclient-devel @@ -0,0 +1 @@ +mtxclient \ No newline at end of file diff --git a/srcpkgs/mtxclient/template b/srcpkgs/mtxclient/template new file mode 100644 index 00000000000..011a3043cb4 --- /dev/null +++ b/srcpkgs/mtxclient/template @@ -0,0 +1,28 @@ +# Template file for 'mtxclient' +pkgname=mtxclient +version=0.2.1 +revision=1 +build_style=cmake +configure_args="-DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON" +hostmakedepends="pkg-config" +makedepends="boost-devel json-c++ zlib-devel olm-devel libressl-devel libsodium-devel" +short_desc="Client API library for the Matrix protocol" +maintainer="Lorem " +license="MIT" +homepage="https://github.com/Nheko-Reborn/mtxclient" +distfiles="https://github.com/Nheko-Reborn/mtxclient/archive/v${version}.tar.gz" +checksum=859217f3ed8fbe5479a6cf77dc15f164c76e593f588990c2acce3fe13c9f845a + +post_install() { + vlicense LICENSE +} + +mtxclient-devel_package() { + depends="mtxclient-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +}