Commit aac96f77 authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/qps: move from testing

parent 92b97041
......@@ -7,10 +7,10 @@ url="https://github.com/lxqt/qps"
arch="all !armhf !riscv64" # limited by lxqt-config
license="LGPL-2.0-or-later"
makedepends="
cmake lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev
cmake samurai lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev
libqtxdg-dev liblxqt-dev kwindowsystem-dev
"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No testsuite
source="https://github.com/lxqt/qps/releases/download/$pkgver/qps-$pkgver.tar.xz"
......@@ -18,7 +18,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
......@@ -31,6 +31,11 @@ package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/$pkgname/translations
}
sha512sums="
58e8473eb9266a102e5df68025a2beb496a32e6c5cac54232242253abaede5adbf693a8b9f089693990687b53e20c1e23cc800b7928fe68e18f05e3b3d344dca qps-2.5.0.tar.xz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment