# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=audiocd-kio pkgver=19.12.2 pkgrel=1 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=None \ -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="2420bc90cedcfd50b4c0d1dd0e442c8c55b014ffdf050880c2f85b15bfbca03ae8cf039ff7736042c72bc209441c44d29a0abd8f534a52838060693b967c3688 audiocd-kio-19.12.2.tar.xz"