void-packages/srcpkgs/libkcddb/template

34 lines
1.1 KiB
Bash

# Template file for 'libkcddb'
pkgname=libkcddb
version=24.05.1
revision=1
build_style=cmake
configure_args="-DKF5_HOST_TOOLING=/usr/lib/cmake -DQT_MAJOR_VERSION=5"
hostmakedepends="extra-cmake-modules gettext kconfig kcoreaddons kdoctools
qt5-host-tools qt5-qmake kcmutils-devel"
makedepends="kcmutils-devel kio-devel libmusicbrainz5-devel"
depends="libkcddb6"
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
post_install() {
rm -rf "$DESTDIR/usr/share"
}
libkcddb-devel_package() {
depends="libkcddb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/qt5/mkspecs
vlicense LICENSES/BSD-3-Clause.txt
}
}