Files
horizon-packages/srcpkgs/libkcddb6/template
T
2026-08-24 23:36:14 +02:00

44 lines
1.4 KiB
Bash

# Template file for 'libkcddb6'
# group=kde-gear
pkgname=libkcddb6
version=26.08.0
revision=1
build_style=cmake
configure_args="-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=ca7e25cffb5d37e4a1e256d85bb954577bd1ef6440711b0ffd0fc760d64842ba
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
}
}