testing/libkcompactdisc: new aport

This commit is contained in:
Bart Ribbers 2019-06-25 13:16:47 +02:00 committed by Leo
parent c51897f8c0
commit 72dba327e7

View File

@ -0,0 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkcompactdisc
pkgver=19.04.2
pkgrel=0
arch="all"
url="https://www.kde.org/applications/multimedia/"
pkgdesc="Library for interfacing with CDs"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev solid-dev ki18n-dev phonon-dev"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # No tests
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="b58cf81c436f30a1f3daa4a365978cf4fa411af89449daf1c299e29639dfa4a537d274b44800b822329805c1696599d8265048ccc4488cc290866730cffbcb00 libkcompactdisc-19.04.2.tar.xz"