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

community/mpvqt: don't try to run non-existing tests

parent cf325e50
No related branches found
No related tags found
1 merge request!73998community/mpvqt: don't try to run non-existing tests
Pipeline #267752 skipped
# Contributor: Bart Ribbers <bribbers@disroot.org> # Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation # The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-other # group=kde-other
maintainer="team/kde <bribbers@disroot.org>"
pkgname=mpvqt pkgname=mpvqt
pkgver=1.0.1 pkgver=1.0.1
pkgrel=0 pkgrel=1
pkgdesc="A libmpv wrapper for QtQuick2 and QML" pkgdesc="A libmpv wrapper for QtQuick2 and QML"
# armhf blocked by extra-cmake-modules # armhf blocked by qt6-qtdeclarative
arch="all !armhf" arch="all !armhf"
url="https://invent.kde.org/libraries/mpvqt" url="https://invent.kde.org/libraries/mpvqt"
license="(BSD-2-Clause OR BSD-3-Clause) AND CC-BY-SA-4.0 AND CC0-1.0 AND (LGPL-2.1-only OR LGPL-3.0-only)" license="(BSD-2-Clause OR BSD-3-Clause) AND CC-BY-SA-4.0 AND CC0-1.0 AND (LGPL-2.1-only OR LGPL-3.0-only)"
...@@ -23,19 +23,16 @@ makedepends="$depends_dev ...@@ -23,19 +23,16 @@ makedepends="$depends_dev
subpackages="$pkgname-dev" subpackages="$pkgname-dev"
_repo_url="https://invent.kde.org/libraries/mpvqt.git" _repo_url="https://invent.kde.org/libraries/mpvqt.git"
source="https://download.kde.org/stable/mpvqt/mpvqt-$pkgver.tar.xz" source="https://download.kde.org/stable/mpvqt/mpvqt-$pkgver.tar.xz"
options="!check" # No tests
build() { build() {
cmake -B build -DBUILD_WITH_QT6=ON -G Ninja \ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_LIBDIR=lib
cmake --build build cmake --build build
} }
check() {
ctest --test-dir build --output-on-failure
}
package() { package() {
DESTDIR="$pkgdir" cmake --install build DESTDIR="$pkgdir" cmake --install build
} }
......
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