summaryrefslogtreecommitdiff
path: root/extra/swfdec/PKGBUILD
blob: 974c85aa954ecfd5ffdaafdc07c6b0bb5da136fd (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
#$Id: PKGBUILD 64546 2010-01-21 03:43:49Z eric $
#Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=swfdec
pkgver=0.8.4
pkgrel=2
pkgdesc="free library for decoding and rendering Flash animations"
arch=('i686' 'x86_64')
url="http://swfdec.freedesktop.org"
license=('LGPL')
depends=('alsa-lib>=1.0.18' 'liboil>=0.3.15' 'gtk2>=2.14.6' 'libsoup>=2.24.2.1-1')
makedepends=('pkgconfig' 'gstreamer0.10-ffmpeg>=0.10.6-1')
optdepends=('gstreamer0.10-base:	required for various audio and video formats'
            'gstreamer0.10-ffmpeg:	most common audio/video format for internet flash')
source=(http://swfdec.freedesktop.org/download/swfdec/0.8/${pkgname}-${pkgver}.tar.gz)
md5sums=('aece501d0e73f3e564200a44ec03c385')
options=('!libtool' '!emptydirs')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static --enable-gtk \
	--enable-gstreamer --enable-soup --with-audio=alsa
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}