# Template file for 'libkdegames'
pkgname=libkdegames
version=22.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools
 kcoreaddons kdoctools kpackage gettext"
makedepends="qt5-svg-devel knewstuff-devel kdnssd-devel kdeclarative-devel libopenal-devel libsndfile-devel"
short_desc="Common code and data for many KDE games"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://kde.org/applications/games"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#libkdegames"
distfiles="${KDE_SITE}/release-service/${version}/src/libkdegames-${version}.tar.xz"
checksum=9c8f6e92902d9e231c37f3db8f20321c46d0fbb66f50178840dd687dee525f1c

libkdegames-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
