# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmediaplayer pkgver=5.59.0 pkgrel=0 pkgdesc="Media player framework for KDE 5" arch="all" 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/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { # viewtest requires X11 to be running CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="4253e7fcb477ac6657844c90854584aa2b8a029ddde87ef6a588a3850cc7573db28a9b01174d4872a451c5bbf0388c42dc579a46726f9054e74d0da358b651c7 kmediaplayer-5.59.0.tar.xz"