From c4ecb8adf50cf7e875e0d22745a304364c0bcdab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Sun, 25 Apr 2021 01:29:15 -0300 Subject: [PATCH] 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. --- srcpkgs/ZMusic/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/ZMusic/template b/srcpkgs/ZMusic/template index 3eb79a261c0..5d630d1aa3f 100644 --- a/srcpkgs/ZMusic/template +++ b/srcpkgs/ZMusic/template @@ -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 " license="GPL-3.0-or-later"