Quaternion: use libqmatrixclient package

This commit is contained in:
Karol Kosek 2019-01-18 23:29:48 +01:00 committed by Helmut Pozimski
parent 58b2924989
commit 0a92acf7fe

View file

@ -1,26 +1,15 @@
# Template file for 'Quaternion'
pkgname=Quaternion
version=0.0.9.3
revision=1
_libqmatrix_version=0.4.0
create_wrksrc=yes
build_wrksrc="Quaternion-${version}"
revision=2
build_style=cmake
configure_args="-DUSE_INTREE_LIBQMC=1"
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols qt5-tools-devel"
makedepends="qt5-declarative-devel qt5-quickcontrols qt5-tools-devel
libqmatrixclient-devel"
depends="qt5-quickcontrols"
short_desc="Qt5-based IM client for the Matrix protocol"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
license="GPL-3.0-or-later, LGPL-2.1-or-later"
license="GPL-3.0-or-later"
homepage="https://github.com/QMatrixClient/Quaternion"
distfiles="
https://github.com/QMatrixClient/Quaternion/archive/v${version}.tar.gz
https://github.com/QMatrixClient/libqmatrixclient/archive/v${_libqmatrix_version}.tar.gz"
checksum="
7f92c3acc73bb7e44efe94bd1085ae9fd5b58efa51efc28a931cace131c22230
8c0a1e0c52e9be06a9883487893cff005287fb199e378033182b681949c521c3"
post_extract() {
mv libqmatrixclient-${_libqmatrix_version}/* ${build_wrksrc}/lib
}
distfiles="https://github.com/QMatrixClient/Quaternion/archive/v${version}.tar.gz"
checksum=7f92c3acc73bb7e44efe94bd1085ae9fd5b58efa51efc28a931cace131c22230