# Template file for 'ldacBT'
pkgname=ldacBT
version=2.0.2.3
revision=1
build_style=cmake
short_desc="LDAC Bluetooth encoder library"
maintainer="Florian Warzecha <liketechnik@disroot.org>"
license="Apache-2.0"
homepage="https://github.com/EHfive/ldacBT"
distfiles="https://github.com/EHfive/ldacBT/releases/download/v${version}/ldacBT-${version}.tar.gz"
checksum="4bd8eece78bb5c1361fab95743e7100506e2408a25c4a592a0f8d349746dc5b4"

if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
	broken="unsupported upstream"
fi

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