43 lines
1.4 KiB
Bash
43 lines
1.4 KiB
Bash
# Template file for 'libkcddb6'
|
|
pkgname=libkcddb6
|
|
version=24.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake -DQT_MAJOR_VERSION=6
|
|
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules gettext kf6-kconfig kf6-kcoreaddons
|
|
kf6-kdoctools qt6-base qt6-tools kf6-kcmutils"
|
|
makedepends="kf6-kcmutils-devel kf6-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"
|
|
changelog="https://kde.org/announcements/changelogs/gear/${version}/#libkcddb"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/libkcddb-${version}.tar.xz"
|
|
checksum=62cb6882bff4ce274bc5e98715decc8b8964f9809178219ef49cbd37d091941a
|
|
|
|
do_check() {
|
|
cd build
|
|
broken="musicbrainztest-severaldiscs"
|
|
broken+="|asynchttplookuptest"
|
|
broken+="|asynccddblookuptest"
|
|
broken+="|synccddblookuptest"
|
|
broken+="|synchttplookuptest"
|
|
broken+="|utf8test"
|
|
ctest -E "($broken)"
|
|
}
|
|
|
|
libkcddb6-devel_package() {
|
|
depends="${sourcepkg}>=${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/qt6/mkspecs
|
|
vlicense LICENSES/BSD-3-Clause.txt
|
|
}
|
|
}
|