summaryrefslogtreecommitdiff
path: root/extra/sdl_mixer/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-12 01:31:01 -0800
committerroot <root@rshg054.dnsready.net>2012-11-12 01:31:01 -0800
commitb863c91c6c9218e2ad9458231b24385be177ed08 (patch)
treeda88c798b067fd2af9ad0c2237917826cef02c8e /extra/sdl_mixer/PKGBUILD
parentc1c596c922f0dc8622339011db936c531647203d (diff)
Mon Nov 12 01:30:54 PST 2012
Diffstat (limited to 'extra/sdl_mixer/PKGBUILD')
-rw-r--r--extra/sdl_mixer/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/extra/sdl_mixer/PKGBUILD b/extra/sdl_mixer/PKGBUILD
index 897875491..626d40169 100644
--- a/extra/sdl_mixer/PKGBUILD
+++ b/extra/sdl_mixer/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 146688 2012-01-16 11:35:40Z heftig $
+# $Id: PKGBUILD 170804 2012-11-12 02:00:36Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
@@ -6,7 +6,7 @@
pkgname=sdl_mixer
pkgver=1.2.12
-pkgrel=1
+pkgrel=3
pkgdesc="A simple multi-channel audio mixer"
arch=('i686' 'x86_64')
url="http://www.libsdl.org/projects/SDL_mixer/"
@@ -15,12 +15,22 @@ depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
makedepends=('fluidsynth')
optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
options=('!libtool')
-source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz)
-md5sums=('e03ff73d77a55e3572ad0217131dc4a1')
+source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz
+ mikmod1.patch mikmod2.patch fluidsynth-volume.patch double-free-crash.patch)
+md5sums=('e03ff73d77a55e3572ad0217131dc4a1'
+ '95a6d58686fe3017d58c39e3e1dd40f7'
+ 'd823994c3961f2ff48644478f27a27d1'
+ 'eed8b61defde36ac2077ef96d868ea3e'
+ '4b4835c63297f016a198cacb7dd68ec1')
build() {
cd "$srcdir/SDL_mixer-$pkgver"
+ patch -Np1 -i ../mikmod1.patch
+ patch -Np1 -i ../mikmod2.patch
+ patch -Np1 -i ../fluidsynth-volume.patch
+ patch -Np1 -i ../double-free-crash.patch
+
sed -e "/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|" \
-e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
-e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \