From 065b4d23acce540a95d0b053d1c97658a21519a3 Mon Sep 17 00:00:00 2001 From: dota? =op Date: Wed, 11 May 2016 19:06:35 -0300 Subject: [PATCH] Fix SDL2_mixer MP3 support. Add static libraries. This fixes "Mixer not built with MP3 support", caused by SDL2_mixer being compiled against an old and incompatible version of smpeg. Also add static libraries to -devel package. --- srcpkgs/SDL2_mixer/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/SDL2_mixer/template b/srcpkgs/SDL2_mixer/template index 16c581a4e5b..663e671d8ad 100644 --- a/srcpkgs/SDL2_mixer/template +++ b/srcpkgs/SDL2_mixer/template @@ -1,13 +1,12 @@ # Template file for 'SDL2_mixer' pkgname=SDL2_mixer version=2.0.1 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--disable-static" hostmakedepends="pkg-config" -makedepends="SDL2-devel libvorbis-devel libmikmod-devel libflac-devel smpeg-devel fluidsynth-devel" +makedepends="SDL2-devel libvorbis-devel libmikmod-devel libflac-devel smpeg2-devel fluidsynth-devel" # The following deps are dlopen(3)ed at runtime. -depends="libvorbis libmikmod smpeg libflac" +depends="libvorbis libmikmod smpeg2 libflac" short_desc="Multi-channel audio mixer library (SDL 2.x)" maintainer="Juan RP " license="BSD" @@ -33,5 +32,6 @@ SDL2_mixer-devel_package() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" + vmove "usr/lib/*.a" } }