33 lines
945 B
Bash
33 lines
945 B
Bash
# Template file for 'ZMusic'
|
|
pkgname=ZMusic
|
|
version=1.1.12
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DDYN_SNDFILE=OFF -DDYN_FLUIDSYNTH=OFF -DDYN_MPG123=OFF"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel alsa-lib-devel libsndfile-devel fluidsynth-devel mpg123-devel"
|
|
short_desc="GZDoom's music system"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/coelckers/ZMusic"
|
|
distfiles="https://github.com/coelckers/ZMusic/archive/${version}.tar.gz"
|
|
checksum=da818594b395aa9174561a36362332b0ab8e7906d2e556ec47669326e67613d4
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends+=" musl-fts-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vmkdir usr/share/licenses/${pkgname}
|
|
vcopy "licenses/*" usr/share/licenses/${pkgname}/
|
|
}
|
|
|
|
ZMusic-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|