# Template file for 'libsidplayfp'
# the version is usually in sync with sidplayfp, keep in sync!
pkgname=libsidplayfp
version=2.16.1
revision=1
build_style=gnu-configure
hostmakedepends="autoconf"
short_desc="Library to play Commodore 64 SID music"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/libsidplayfp/libsidplayfp"
changelog="https://raw.githubusercontent.com/libsidplayfp/libsidplayfp/refs/heads/master/NEWS.md"
distfiles="https://github.com/libsidplayfp/libsidplayfp/releases/download/v${version}/libsidplayfp-${version}.tar.gz"
checksum=ace0f73c2ef8645ab069ce1b298b10e31e36af7b5996109983b2b67ad60ff3ca

libsidplayfp-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
