summaryrefslogtreecommitdiff
path: root/extra/swfdec/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/swfdec/PKGBUILD')
-rw-r--r--extra/swfdec/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/swfdec/PKGBUILD b/extra/swfdec/PKGBUILD
new file mode 100644
index 000000000..974c85aa9
--- /dev/null
+++ b/extra/swfdec/PKGBUILD
@@ -0,0 +1,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
+}