diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-15 04:04:05 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-15 04:04:05 +0000 |
commit | 8cd8534c45f14c6dfea3f1f2228451d192c33b3e (patch) | |
tree | 8dc070d5ca8ecdac8bb23a37b793ecf92893c227 /community/gnash | |
parent | 4d799458274f83bcf13d49715eaa435045a719d7 (diff) |
Sat Mar 15 03:58:34 UTC 2014
Diffstat (limited to 'community/gnash')
-rw-r--r-- | community/gnash/PKGBUILD | 44 | ||||
-rw-r--r-- | community/gnash/gnash-0.8.10-boost-1.50.patch | 12 | ||||
-rw-r--r-- | community/gnash/gnucash-0.8.10-giflib-5.0.patch | 12 |
3 files changed, 19 insertions, 49 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" diff --git a/community/gnash/gnash-0.8.10-boost-1.50.patch b/community/gnash/gnash-0.8.10-boost-1.50.patch deleted file mode 100644 index a422ce932..000000000 --- a/community/gnash/gnash-0.8.10-boost-1.50.patch +++ /dev/null @@ -1,12 +0,0 @@ -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. diff --git a/community/gnash/gnucash-0.8.10-giflib-5.0.patch b/community/gnash/gnucash-0.8.10-giflib-5.0.patch deleted file mode 100644 index 2ca7032bb..000000000 --- a/community/gnash/gnucash-0.8.10-giflib-5.0.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp ---- a/libbase/GnashImageGif.cpp 2012-01-19 19:17:48.000000000 +0000 -+++ b/libbase/GnashImageGif.cpp 2013-07-30 09:08:37.707930583 +0000 -@@ -269,7 +269,7 @@ GifInput::processRecord(GifRecordType re - void - GifInput::read() - { -- _gif = DGifOpen(_inStream.get(), &readData); -+ _gif = DGifOpen(_inStream.get(), &readData, NULL); - - GifRecordType record; - |