void-packages/srcpkgs/libkcddb6/template

32 lines
1.2 KiB
Bash

# Template file for 'libkcddb6'
pkgname=libkcddb6
version=24.02.2
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=608aa2101bdebf8ae1c23cf99cfc982c4e634945a91b3bf44990f86e01a9d5c1
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
}
}