mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/spotify-qt: set BUILD_TYPE=MinSizeRel and build with samurai
This commit is contained in:
parent
2157d14e6a
commit
00a5de7af5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user