void-packages/srcpkgs/libkcddb/template

29 lines
982 B
Bash

# Template file for 'libkcddb'
pkgname=libkcddb
version=22.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext kconfig kcoreaddons kdoctools
qt5-host-tools qt5-qmake"
makedepends="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=530a5e377bd55409c8fe789b8efb71510d49fe38a23241189235aaf51e057a1a
libkcddb-devel_package() {
depends="libkcddb>=${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/qt5/mkspecs
vlicense LICENSES/BSD-3-Clause.txt
}
}