summaryrefslogtreecommitdiff
path: root/community/gnash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnash/PKGBUILD')
-rw-r--r--community/gnash/PKGBUILD44
1 files changed, 19 insertions, 25 deletions
diff --git a/community/gnash/PKGBUILD b/community/gnash/PKGBUILD
index a29530d85..dedb8d94b 100644
--- a/community/gnash/PKGBUILD
+++ b/community/gnash/PKGBUILD
@@ -1,45 +1,41 @@
-# $Id: PKGBUILD 102250 2013-12-07 10:36:34Z bpiotrowski $
+# $Id: PKGBUILD 107173 2014-03-14 00:16:07Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=gnash
pkgname=(gnash-common gnash-gtk)
-pkgver=0.8.10
-pkgrel=11
+pkgver=0.8.11dev
+pkgrel=1
arch=(i686 x86_64)
url="http://www.gnu.org/software/gnash/"
license=(GPL3)
makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa glu
- speex fontconfig
- gstreamer0.10-base
+ speex fontconfig ffmpeg jemalloc
gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils gconf gtkglext
- pkgconfig boost)
+ pkgconfig boost git)
options=(!emptydirs)
-source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
- nodebug.patch gnash-0.8.10-boost-1.50.patch gnucash-0.8.10-giflib-5.0.patch)
-sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
- '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
- 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c'
- 'd1597ce496d95913a7d5873a0a3c58e4f40fa4ec6e3fc7ae939a66f1362b3e57')
+source=('gnash::git://git.sv.gnu.org/gnash.git#commit=a3180f2'
+ nodebug.patch)
+sha256sums=('SKIP'
+ '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551')
-build() {
- cd gnash-$pkgver
+prepare() {
+ cd gnash
# Disable very, very verbose debugging (gigabytes of logs)
patch -Np1 -i ../nodebug.patch
- # Link to libboost_system.so
- patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
-
- patch -Np1 -i ../gnucash-0.8.10-giflib-5.0.patch
-
./autogen.sh
+}
+
+build() {
+ cd gnash
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-plugins-install=system \
--with-npapi-plugindir=/usr/lib/mozilla/plugins \
--enable-gui=sdl,gtk,dump \
- --enable-media=gst \
+ --enable-media=ffmpeg \
--enable-renderer=all \
--enable-device=x11
@@ -51,13 +47,11 @@ build() {
package_gnash-common() {
pkgdesc="A GNU Flash movie player"
depends=(curl giflib sdl agg libjpeg libpng libltdl libgl glu
- speex fontconfig cairo
- gstreamer0.10-base
+ speex fontconfig cairo ffmpeg jemalloc
boost-libs)
backup=(etc/gnashrc etc/gnashthumbnailrc)
- cd gnash-$pkgver
-
+ cd gnash
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
# Split gnash-gtk
@@ -79,7 +73,7 @@ package_gnash-gtk() {
mv gtk/* "$pkgdir"
- cd gnash-$pkgver
+ cd gnash
make DESTDIR="$pkgdir" install-plugin
install -m755 -d "$pkgdir/usr/share/gconf/schemas"