ZMusic: stop dlopening deps.

Force it to link against libfluidsynth and libsndfile (which fixes a
bug, because it only tried dlopening libfluidsynth.so.{1,2} and we ship .3).

Also add mpg123 as a bonus and remove the unused openal (not mentioned
at all) and gme (their version fixes bugs still present in upstream)
deps.
This commit is contained in:
Érico Nogueira 2021-04-25 01:29:15 -03:00 committed by Érico Nogueira Rolim
parent 2ca69e335b
commit c4ecb8adf5
1 changed files with 3 additions and 5 deletions

View File

@ -1,13 +1,11 @@
# Template file for 'ZMusic'
pkgname=ZMusic
version=1.1.6
revision=1
revision=2
build_style=cmake
configure_args="-DGME_INCLUDE_DIR=/usr/include -DGME_LIBRARIES=gme"
configure_args="-DDYN_SNDFILE=OFF -DDYN_FLUIDSYNTH=OFF -DDYN_MPG123=OFF"
hostmakedepends="pkg-config"
makedepends="zlib-devel alsa-lib-devel libgme-devel libopenal-devel libsndfile-devel"
# these are dlopened
depends="libfluidsynth libopenal libsndfile"
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"