From 00a5de7af52832c6c09dbe16d176664894baf7e9 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sat, 19 Mar 2022 05:35:54 +0100 Subject: [PATCH] testing/spotify-qt: set BUILD_TYPE=MinSizeRel and build with samurai --- testing/spotify-qt/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/spotify-qt/APKBUILD b/testing/spotify-qt/APKBUILD index 020f1eb17ee..5f5e7cf5eba 100644 --- a/testing/spotify-qt/APKBUILD +++ b/testing/spotify-qt/APKBUILD @@ -7,7 +7,7 @@ pkgdesc="Lightweight Spotify client using Qt" url="https://github.com/kraxarn/spotify-qt" arch="all" license="GPL-3.0-or-later" -makedepends="cmake qt5-qtbase-dev qt5-qtsvg-dev" +makedepends="cmake samurai qt5-qtbase-dev qt5-qtsvg-dev" source="https://github.com/kraxarn/spotify-qt/archive/v$pkgver/spotify-qt-$pkgver.tar.gz disable-crash-handler.patch " @@ -17,10 +17,10 @@ build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi - cmake -B build \ + cmake -G Ninja -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_VERBOSE_MAKEFILE=True \ $CMAKE_CROSSOPTS . cmake --build build