summaryrefslogtreecommitdiff
path: root/community/gnash
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnash')
-rw-r--r--community/gnash/PKGBUILD25
-rw-r--r--community/gnash/gnash-0.8.10-boost-1.50.patch12
2 files changed, 27 insertions, 10 deletions
diff --git a/community/gnash/PKGBUILD b/community/gnash/PKGBUILD
index 9009029b6..029f0a37c 100644
--- a/community/gnash/PKGBUILD
+++ b/community/gnash/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 73473 2012-07-08 09:30:13Z ibiru $
+# $Id: PKGBUILD 73994 2012-07-18 01:07:03Z 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"
diff --git a/community/gnash/gnash-0.8.10-boost-1.50.patch b/community/gnash/gnash-0.8.10-boost-1.50.patch
new file mode 100644
index 000000000..a422ce932
--- /dev/null
+++ b/community/gnash/gnash-0.8.10-boost-1.50.patch
@@ -0,0 +1,12 @@
+diff -u -r gnash-0.8.10/macros/boost.m4 gnash-0.8.10-boost1.50/macros/boost.m4
+--- gnash-0.8.10/macros/boost.m4 2012-01-19 20:17:49.000000000 +0100
++++ gnash-0.8.10-boost-1.50/macros/boost.m4 2012-07-11 10:56:11.089137186 +0200
+@@ -37,7 +37,7 @@
+ boost_headers="detail/lightweight_mutex.hpp thread/thread.hpp multi_index_container.hpp multi_index/key_extractors.hpp thread/mutex.hpp program_options/options_description.hpp iostreams/stream.hpp"
+ dnl this is a list of *required* libraries. If any of these are missing, this
+ dnl test will return a failure, and Gnash won't build.
+- boost_libs="thread program_options iostreams"
++ boost_libs="thread program_options iostreams system"
+
+ dnl this is a list of *recommended* libraries. If any of these are missing, this
+ dnl test will return a warning, and Gnash will build, but testing won't work.