# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmediaplayer pkgver=9999_git1688827457 pkgrel=0 pkgdesc="Media player framework for KDE 5" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="X11 AND LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kparts-dev kxmlgui-dev" makedepends="$depends_dev extra-cmake-modules samurai" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kmediaplayer-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # viewtest requires X11 to be running CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" f100ea99b902de31f24dff145a3a5d608aec8a30c5fdd3cb1c8929aa5569989ce8509bf5bb1358bd5edde70304ef10a7990260ec5eee774e49374949ad908fea kmediaplayer-5.108.0.tar.xz " options="$options !strip"