# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=audiocd-kio pkgver=19.12.1 pkgrel=0 arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org/applications/multimedia/" pkgdesc="Kioslave for accessing audio CDs" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev ki18n-dev kdoctools-dev kio-dev kcmutils-dev libkcddb-dev libkcompactdisc-dev cdparanoia-dev flac-dev libvorbis-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/audiocd-kio-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests 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 ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="57d4dda06e807d517f1212f3f52986800e3edf891ef32447a4bf0ac7370df180212401022d97c8a6f028070d61134a8fb66e3a39d6563e7665db09b5f59a2e51 audiocd-kio-19.12.1.tar.xz"