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.
This commit is contained in:
dota? =op 2016-05-11 19:06:35 -03:00
parent dfb7f65086
commit 065b4d23ac

View file

@ -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 <xtraeme@voidlinux.eu>"
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"
}
}