libquotient, fix SUMMARY, adjust BUILD/INSTALL (#5921)

This commit is contained in:
Schrijvers Luc
2021-05-16 09:20:51 +02:00
committed by GitHub
parent fcf7ff4890
commit 9bef2dbaf9

View File

@@ -1,4 +1,4 @@
SUMMARY="Short description of ProjectX"
SUMMARY="A Qt5 library to write cross-platform clients for Matrix"
DESCRIPTION="The Quotient project aims to produce a Qt5-based SDK to develop \
applications for Matrix.
libQuotient is a library that enables client applications.
@@ -7,7 +7,7 @@ Versions 0.5.x and older use the previous name - libQMatrixClient."
HOMEPAGE="https://github.com/quotient-im/libQuotient"
COPYRIGHT="Quotient contributors"
LICENSE="GNU LGPL v2.1"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/quotient-im/libQuotient/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="33d3da5a7045bbe2611dd73104279986dd8356b24de339dd10874c1a9417bba7"
SOURCE_DIR="libQuotient-$portVersion"
@@ -50,16 +50,17 @@ BUILD_PREREQUIRES="
BUILD()
{
cmake $cmakeDirArgs \
cmake -B build \
$cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DQuotient_INSTALL_TESTS=OFF -L
cmake --build . --target all
-DQuotient_INSTALL_TESTS=OFF
cmake --build build --target all
}
INSTALL()
{
cmake --install .
cmake --install build
# get rid of share dir with Android.mk
rm -rf $prefix/share