void-packages/srcpkgs/libkcddb6/template

37 lines
1.2 KiB
Bash

# Template file for 'libkcddb6'
pkgname=libkcddb6
version=24.05.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=71b72b19b70f428980c7e3487a9e94e67d4537eba56834e9a2c0a0f07b4e2aff
do_check() {
cd build
ctest -E "musicbrainztest-severaldiscs"
}
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
}
}