summaryrefslogtreecommitdiff
path: root/community-testing/gnash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/gnash/PKGBUILD')
-rw-r--r--community-testing/gnash/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/community-testing/gnash/PKGBUILD b/community-testing/gnash/PKGBUILD
index 5088d73a0..381e16b29 100644
--- a/community-testing/gnash/PKGBUILD
+++ b/community-testing/gnash/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 73329 2012-07-06 15:22:43Z ibiru $
+# $Id: PKGBUILD 73757 2012-07-15 13:18:48Z ibiru $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=gnash
pkgname=(gnash-common gnash-gtk)
pkgver=0.8.10
-pkgrel=3
+pkgrel=4
arch=(i686 x86_64)
url="http://www.gnu.org/software/gnash/"
license=(GPL3)
@@ -15,16 +15,21 @@ makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa
pkgconfig boost)
options=(!libtool !emptydirs)
source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
- nodebug.patch)
+ nodebug.patch gnash-0.8.10-boost-1.50.patch)
sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
- '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551')
+ '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
+ 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c')
build() {
- cd "$srcdir/gnash-$pkgver"
+ cd gnash-$pkgver
# Disable very, very verbose debugging (gigabytes of logs)
- patch -Np1 -i "$srcdir/nodebug.patch"
+ patch -Np1 -i ../nodebug.patch
+ # Link to libboost_system.so
+ patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
+
+ ./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -48,7 +53,7 @@ package_gnash-common() {
boost-libs)
backup=(etc/gnashrc etc/gnashthumbnailrc)
- cd "$srcdir/gnash-$pkgver"
+ cd gnash-$pkgver
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
@@ -69,9 +74,9 @@ package_gnash-gtk() {
install=gnash-gtk.install
backup=(etc/gnashpluginrc)
- mv "$srcdir"/gtk/* "$pkgdir"
-
- cd "$srcdir/gnash-$pkgver"
+ mv gtk/* "$pkgdir"
+
+ cd gnash-$pkgver
make DESTDIR="$pkgdir" install-plugin
install -m755 -d "$pkgdir/usr/share/gconf/schemas"