summaryrefslogtreecommitdiff
path: root/community-staging/gnash/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-13 00:01:54 +0000
committerroot <root@rshg054.dnsready.net>2012-07-13 00:01:54 +0000
commit2a74527ad522ac7c1d467688eee81a7a3f895031 (patch)
tree5ce8592b2ac3b6e90fc73039d5ce30aa2a8891dc /community-staging/gnash/PKGBUILD
parent00d32b0938eebfa45f0543cae655abf5233eb99c (diff)
Fri Jul 13 00:01:54 UTC 2012
Diffstat (limited to 'community-staging/gnash/PKGBUILD')
-rw-r--r--community-staging/gnash/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/community-staging/gnash/PKGBUILD b/community-staging/gnash/PKGBUILD
index ef02d4658..3ef2282bb 100644
--- a/community-staging/gnash/PKGBUILD
+++ b/community-staging/gnash/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 71943 2012-06-03 22:41:22Z heftig $
+# $Id: PKGBUILD 73602 2012-07-11 09:20:26Z heftig $
# 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"