2008-01-29 23:55:55 +11:00
|
|
|
# Description: Flash Rendering Library.
|
|
|
|
# URL: http://swfdec.freedesktop.org/wiki/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-01-29 23:55:55 +11:00
|
|
|
# Packager: Stefan Lohmaier noneus at noneus dor de
|
2008-03-20 07:52:38 +11:00
|
|
|
# Depends on: ffmpeg gtk libdca libmad libsoup gst-plugins-base
|
2008-03-20 06:58:45 +11:00
|
|
|
# Optional: gthread freetype libxml2 libpng gnutls
|
2008-01-29 23:55:55 +11:00
|
|
|
|
|
|
|
name=swfdec
|
2008-03-30 19:32:15 +10:00
|
|
|
version=0.6.2
|
2008-01-29 23:55:55 +11:00
|
|
|
release=1
|
|
|
|
source=(http://swfdec.freedesktop.org/download/swfdec/${version%.*}/swfdec-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd swfdec-$version
|
|
|
|
|
|
|
|
# yet another program that --disable-gtk-doc dosn't work
|
2008-03-14 21:14:10 +11:00
|
|
|
sed -i Makefile.in -e '/^@WITH_GTK_TRUE@ doc \\/d'
|
2008-01-29 23:55:55 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--disable-gtk-doc \
|
|
|
|
--disable-vivified \
|
|
|
|
--enable-gtk \
|
|
|
|
--enable-mad \
|
|
|
|
--enable-ffmpeg \
|
|
|
|
--enable-gstreamer \
|
|
|
|
--enable-soup \
|
|
|
|
--with-audio=alsa
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-03-30 19:32:15 +10:00
|
|
|
chmod a-x $PKG/usr/lib/*.so
|
2008-01-29 23:55:55 +11:00
|
|
|
}
|
|
|
|
|