PKGBUILDs/extra/swfdec/PKGBUILD

26 lines
995 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
#$Id: PKGBUILD 22140 2008-12-22 07:48:50Z andyrtr $
#Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=swfdec
pkgver=0.8.4
pkgrel=1
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
}