diff options
Diffstat (limited to 'unmaintained/swfdec/APKBUILD')
-rw-r--r-- | unmaintained/swfdec/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/swfdec/APKBUILD b/unmaintained/swfdec/APKBUILD new file mode 100644 index 0000000000..eb0d1cb086 --- /dev/null +++ b/unmaintained/swfdec/APKBUILD @@ -0,0 +1,44 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=swfdec +pkgver=0.9.2 +pkgrel=0 +pkgdesc="free library for decoding and rendering Flash animations" +url="http://swfdec.freedesktop.org" +arch="all" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends_dev="glib-dev liboil-dev cairo-dev pango-dev gtk+2.0-dev libsoup-dev + gstreamer0.10-dev gst-plugins-base0.10-dev alsa-lib-dev" +makedepends="$depends_dev" +depends= +source="http://$pkgname.freedesktop.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + --enable-gtk \ + --enable-gstreamer \ + --enable-soup \ + --with-audio=alsa \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="7be5e39236e2d6efa61a18e83e5ab73d swfdec-0.9.2.tar.gz" +sha256sums="7d56a3044c19e7ca4b492f3739d9aa6f6bdb6e51ecf4daa5d29c035ae430f1ef swfdec-0.9.2.tar.gz" +sha512sums="8904379b17b2e9582fe01d28d66c8ead20830b8588acf4c29d43cf984d653fb8f8246a01518206bb82a9c04e7adeb91bc4db8488e331194452cb1bc7c5ba072a swfdec-0.9.2.tar.gz" |