summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-02 23:57:28 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-02 23:57:28 (GMT)
commit62806a62a4ca74e49948c3b8c070a4a8e61d72f2 (patch)
treef82ce0d4a0494acd3fef0fed68822028a13c9e87
parentc76221ba1d158462f18e48be788bb5758754b58a (diff)
downloadlinhes_pkgbuild-62806a62a4ca74e49948c3b8c070a4a8e61d72f2.zip
linhes_pkgbuild-62806a62a4ca74e49948c3b8c070a4a8e61d72f2.tar.gz
linhes_pkgbuild-62806a62a4ca74e49948c3b8c070a4a8e61d72f2.tar.bz2
gnash: upgrade
-rw-r--r--abs/extra/community/gnash/PKGBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/abs/extra/community/gnash/PKGBUILD b/abs/extra/community/gnash/PKGBUILD
new file mode 100644
index 0000000..daed440
--- /dev/null
+++ b/abs/extra/community/gnash/PKGBUILD
@@ -0,0 +1,59 @@
+# $Id: PKGBUILD 82896 2010-06-18 18:30:20Z ibiru $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgbase=gnash
+pkgname=(gnash-common gnash-gtk)
+pkgver=0.8.8
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gnash/"
+license=(GPL3)
+makedepends=(curl giflib boost-libs libldap sdl agg libjpeg libpng libtool
+ speex fontconfig libva ffmpeg libxinerama
+ gstreamer0.10-base gstreamer0.10-ffmpeg
+ gtk2 libldap
+ pkgconfig boost)
+options=(!libtool !emptydirs)
+source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2)
+md5sums=('ce57f66e222f7eb1adf7f7b4a1274612')
+
+build() {
+ cd "$srcdir/gnash-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-plugins-install=system \
+ --with-npapi-plugindir=/usr/lib/mozilla/plugins \
+ --enable-gui=sdl,gtk \
+ --enable-renderer=agg \
+ --enable-media=gst,ffmpeg \
+ --enable-hwaccel=vaapi
+
+ make
+}
+
+package_gnash-common() {
+ pkgdesc="A GNU Flash movie player"
+ depends=(curl giflib boost-libs libldap ffmpeg sdl agg libjpeg libpng
+ speex fontconfig libva libxinerama
+ gstreamer0.10-base gstreamer0.10-ffmpeg)
+ backup=(etc/gnashrc etc/gnashpluginrc)
+
+ cd "$srcdir/gnash-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ mv "$pkgdir/usr/bin/gtk-gnash" "$srcdir"
+}
+
+package_gnash-gtk() {
+ pkgdesc="A GNU Flash movie player"
+ depends=("gnash-common=$pkgver" gtk2 libldap)
+
+ cd "$srcdir/gnash-$pkgver"
+
+ make DESTDIR="$pkgdir" install-plugin
+
+ install -D "$srcdir/gtk-gnash" "$pkgdir/usr/bin/gtk-gnash"
+}