# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=dragon pkgver=20.08.2 pkgrel=0 arch="all !armhf" url="https://kde.org/applications/multimedia/org.kde.dragonplayer" pkgdesc="A multimedia player where the focus is on simplicity, instead of features" license="GPL-2.0-only OR GPL-3.0-only" depends="phonon-backend-gstreamer" makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kjobwidgets-dev kio-dev kparts-dev solid-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev knotifications-dev phonon-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/dragon-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="eaf577de58ede3a9a06cbdd012d9644666bc86100857f513ac0487a84b3fa80acc47e30427578fdb574fb5b48c85590e73f4d7194c65d2a7c1e908851a219e0b dragon-20.08.2.tar.xz"