void-packages/srcpkgs/libopenaptx/template

24 lines
852 B
Bash

# Template file for 'libopenaptx'
pkgname=libopenaptx
# Version 0.2.1 changes the license to GPLv3 in order to make it incompatible
# with freedesktop.org projects including pipewire and other non-GPL projects.
version=0.2.0
revision=1
build_style=gnu-makefile
short_desc="Open Source implementation of Audio Processing Technology codec (aptX)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/pali/libopenaptx/"
distfiles="https://github.com/pali/libopenaptx/releases/download/${version}/libopenaptx-${version}.tar.gz"
checksum=51a13a34bb188a87ab1deb64a090ab42a4755d7b02c2bdaf3b8136f749b71b84
libopenaptx-devel_package() {
depends="libopenaptx>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}