# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmediaplayer pkgver=5.69.0 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" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kmediaplayer-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build # viewtest requires X11 to be running CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="d151086ed0f62a144d5682890eefb8866b5223021da0f32133460019470b7af61a2a979097b6ff1e013380056d4f7e6a0090688e9477482eb639e52cbfc442d1 kmediaplayer-5.69.0.tar.xz"