Skip to content
Snippets Groups Projects
Commit e1100c3c authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/mellowplayer: disable on riscv64

parent a1b84f3d
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,10 @@ pkgver=3.6.8
pkgrel=0
pkgdesc="QT based cloud music integration for your desktop"
url="https://colinduquesnoy.gitlab.io/MellowPlayer/"
arch="all !ppc64le !s390x !mips !mips64" # blocked by qt5-qtwebengine
arch="$arch !armhf" # blocked by qt5-qtdeclarative
arch="$arch !aarch64" # all tests fail with segfault
# armhf blocked by qt5-qtdeclarative
# aarch64 tests fail with segfault
# ppc64le, s390x, mips64 and riscv64 blocked by qt5-qtwebengine
arch="all !armhf !ppc64le !s390x !mips64 !riscv64 !aarch64"
license="GPL-2.0-or-later"
depends="qt5-qtgraphicaleffects qt5-qtquickcontrols qt5-qtsvg qt5-qtwayland"
makedepends="cmake qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtbase-mysql
......@@ -19,27 +20,22 @@ source="https://gitlab.com/ColinDuquesnoy/MellowPlayer/-/archive/$pkgver/MellowP
builddir="$srcdir/MellowPlayer-$pkgver"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_TESTS=ON \
$CMAKE_CROSSOPTS
make -C build
-DBUILD_TESTS=ON
cmake --build build
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run make -C build test
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
make -C build DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="d8779d4fa09e053a06c500586fbdbf7a869c2a89f06b181971e7a14b96ccef948761b5e9094333ebc9de241aac2ce065da94dd89b508ba62d4ffc23699e1228b MellowPlayer-3.6.8.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment