void-packages/srcpkgs/SDL2_mixer/template

32 lines
1.0 KiB
Bash

# Template file for 'SDL2_mixer'
pkgname=SDL2_mixer
version=2.6.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="SDL2-devel libvorbis-devel libmikmod-devel libflac-devel
libmodplug-devel mpg123-devel smpeg2-devel fluidsynth-devel opusfile-devel"
# The following deps are dlopen(3)ed at runtime.
depends="libvorbis libmikmod libmpg123 libmodplug libflac smpeg2 opusfile"
short_desc="Multi-channel audio mixer library (SDL 2.x)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.libsdl.org/projects/SDL_mixer/"
distfiles="https://www.libsdl.org/projects/SDL_mixer/release/${pkgname}-${version}.tar.gz"
checksum=7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f
post_install() {
vlicense LICENSE.txt
}
SDL2_mixer-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}