summaryrefslogtreecommitdiff
path: root/community/gnash/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnash/PKGBUILD')
-rw-r--r--community/gnash/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/gnash/PKGBUILD b/community/gnash/PKGBUILD
index dbb756e2c..68f826412 100644
--- a/community/gnash/PKGBUILD
+++ b/community/gnash/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=gnash
pkgname=(gnash-common gnash-gtk)
pkgver=0.8.9
-pkgrel=4
+pkgrel=5
arch=(i686 x86_64)
url="http://www.gnu.org/software/gnash/"
license=(GPL3)
@@ -14,14 +14,17 @@ makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool
gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils
pkgconfig boost)
options=(!libtool !emptydirs)
-source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2)
-md5sums=('5b2be6b04a1bcc5fb404cc377034499e')
+source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
+ gentoo-ffmpeg-0.8.patch)
+md5sums=('5b2be6b04a1bcc5fb404cc377034499e'
+ '98dec9a5c1b1084245a3f46b4022a6e2')
build() {
cd "$srcdir/gnash-$pkgver"
- # Version is now in version.h
- sed -i 's/avcodec\.h/version.h/' macros/ffmpeg.m4
+ # Consolidated gentoo patches for ffmpeg compatibility
+ # as of 2011-10-31
+ patch -Np1 -i "$srcdir/gentoo-ffmpeg-0.8.patch"
./autogen.sh
./configure \