# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=elisa pkgver=19.12.1 pkgrel=0 arch="all !s390x !armhf" # missing vlc-dev url="https://kde.org/applications/multimedia/org.kde.elisa" pkgdesc="A simple music player aiming to provide a nice experience for its users" license="LGPL-3.0-or-later" depends="kirigami2" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev ki18n-dev kdeclarative-dev kcoreaddons-dev baloo-dev kfilemetadata-dev kdoctools-dev kxmlgui-dev kconfig-dev kconfigwidgets-dev kcrash-dev kdbusaddons-dev kcmutils-dev kpackage-dev kio-dev vlc-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/elisa-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="5ce68c523ae6406dda0e8a04c520a7b4a0c7c8085fec95e24a69021eddd5d57a62cb300e22416d0e0184a52d7000328da072c640f867bb8ad1612adf12b32d2f elisa-19.12.1.tar.xz"