2020-08-30 22:28:45 +02:00
|
|
|
# Template file for 'ZMusic'
|
|
|
|
pkgname=ZMusic
|
2021-06-17 05:21:35 +02:00
|
|
|
version=1.1.8
|
|
|
|
revision=1
|
2020-08-30 22:28:45 +02:00
|
|
|
build_style=cmake
|
2021-04-25 06:29:15 +02:00
|
|
|
configure_args="-DDYN_SNDFILE=OFF -DDYN_FLUIDSYNTH=OFF -DDYN_MPG123=OFF"
|
2020-08-30 22:28:45 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2021-04-25 06:29:15 +02:00
|
|
|
makedepends="zlib-devel alsa-lib-devel libsndfile-devel fluidsynth-devel mpg123-devel"
|
2020-08-30 22:28:45 +02:00
|
|
|
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="${homepage}/archive/${version}.tar.gz"
|
2021-06-17 05:21:35 +02:00
|
|
|
checksum=73082f661b7b0bb33348d1d186c132deec9132a1613480348a00172b49c9fd68
|
2020-08-30 22:28:45 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|