Files
horizon-packages/srcpkgs/libkcddb6/template
T
2026-05-12 11:05:03 +02:00

43 lines
1.4 KiB
Bash

# Template file for 'libkcddb6'
pkgname=libkcddb6
version=26.04.1
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=fa73b78a36e7467bf99f88f34c2bae868f5f4f71306f4bdbc226d70ad3071949
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
}
}