diff --git a/common/shlibs b/common/shlibs index 7e92e66185..0217a8d837 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3392,3 +3392,4 @@ libgaminggear.so.0 libgaminggear-0.15.1_1 libgaminggearfx.so.0 libgaminggear-0.15.1_1 libgaminggearwidget.so.0 libgaminggear-0.15.1_1 libopkg.so.1 libopkg-0.4.0_1 +libQMatrixClient.so.0.4 libqmatrixclient-0.4.2.1_1 diff --git a/srcpkgs/libqmatrixclient-devel b/srcpkgs/libqmatrixclient-devel new file mode 120000 index 0000000000..101819602c --- /dev/null +++ b/srcpkgs/libqmatrixclient-devel @@ -0,0 +1 @@ +libqmatrixclient \ No newline at end of file diff --git a/srcpkgs/libqmatrixclient/template b/srcpkgs/libqmatrixclient/template new file mode 100644 index 0000000000..20c4d6ef9f --- /dev/null +++ b/srcpkgs/libqmatrixclient/template @@ -0,0 +1,30 @@ +# Template file for 'libqmatrixclient' +pkgname=libqmatrixclient +version=0.4.2.1 +revision=1 +build_style=cmake +configure_args="-DBUILD_SHARED_LIBS=1" +hostmakedepends="qt5-qmake qt5-host-tools" +makedepends="qt5-devel" +short_desc="Qt5 library to write cross-platfrom clients for Matrix" +maintainer="Karol Kosek " +license="LGPL-2.1-or-later" +homepage="https://matrix.org/docs/projects/sdk/libqmatrixclient.html" +distfiles="https://github.com/QMatrixClient/libqmatrixclient/archive/v${version}.tar.gz" +checksum=0efe7050ba8b866b0bf6046a9c57779173cf3d68f546d8f082ce081e8e299bc8 + +libqmatrixclient-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +} + +post_install() { + # delete example application + rm -rf ${DESTDIR}/usr/bin +}