summaryrefslogtreecommitdiff
path: root/extra/sdl_sound/PKGBUILD
blob: 7eef843410526d1105bd296e4569de905c5c1a6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 170550 2012-11-08 15:28:40Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=sdl_sound
pkgver=1.0.3
pkgrel=4.1
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/SDL_sound/"
license=('LGPL')
depends=('sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
options=('!libtool')
source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz 
        flac.patch)
md5sums=('aa09cd52df85d29bee87a664424c94b5'
         '302aa9dc94cc71dd3339ca3177d36e1c')

build() {
  cd ${srcdir}/SDL_sound-${pkgver}

  CFLAGS="$CFLAGS -I/usr/include/smpeg" \
  CXXFLAGS="$CXXFLAGS -I/usr/include/smpeg" \
  ./configure --prefix=/usr --disable-static

  make
}

package() {
  cd ${srcdir}/SDL_sound-${pkgver}
  make DESTDIR=${pkgdir} install
}