31 lines
956 B
Bash
31 lines
956 B
Bash
# Template file for 'libkcddb'
|
|
pkgname=libkcddb
|
|
version=20.04.3
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext kconfig kcoreaddons kdoctools
|
|
qt5-host-tools qt5-qmake"
|
|
makedepends="kio-devel libmusicbrainz5-devel"
|
|
short_desc="KDE CDDB library"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later, BSD-3-Clause, GFDL-1.2-only"
|
|
homepage="https://projects.kde.org/projects/kde/kdemultimedia/libkcddb"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/libkcddb-${version}.tar.xz"
|
|
checksum=d205d3a458c0d54d7118e36006710fe2d2993de5b417c9d8936762fa710634b4
|
|
|
|
pre_check() {
|
|
export QT_QPA_PLATFORM=offscreen
|
|
}
|
|
|
|
libkcddb-devel_package() {
|
|
depends="libkcddb>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/lib/cmake
|
|
vmove usr/share/doc
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/qt5/mkspecs
|
|
vlicense cmake/COPYING-CMAKE-SCRIPTS
|
|
}
|
|
}
|