[arch-commits] Commit in xulrunner/trunk (PKGBUILD libvpx.patch)

Ionut Biru ibiru at archlinux.org
Sun Feb 5 14:39:58 EST 2012


    Date: Sunday, February 5, 2012 @ 14:39:58
  Author: ibiru
Revision: 149113

libvpx 1.0 rebuild

Added:
  xulrunner/trunk/libvpx.patch
Modified:
  xulrunner/trunk/PKGBUILD

--------------+
 PKGBUILD     |   11 +++++++----
 libvpx.patch |   12 ++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-05 19:02:18 UTC (rev 149112)
+++ PKGBUILD	2012-02-05 19:39:58 UTC (rev 149113)
@@ -3,21 +3,23 @@
 # Contributor: Alexander Baldeck <alexander at archlinux.org>
 pkgname=xulrunner
 pkgver=10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Mozilla Runtime Environment"
 arch=('i686' 'x86_64')
 license=('MPL' 'GPL' 'LGPL')
 depends=('gtk2' 'mozilla-common' 'nss>=3.13.1' 'libxt' 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify' 'libvpx' 'python2')
-makedepends=('zip' 'unzip' 'pkg-config' 'diffutils' 'wireless_tools' 'yasm' 'mesa')
+makedepends=('zip' 'unzip' 'pkg-config' 'diffutils' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13')
 url="http://wiki.mozilla.org/XUL:Xul_Runner"
 source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.bz2
         mozconfig
-        mozilla-pkgconfig.patch)
+        mozilla-pkgconfig.patch
+        libvpx.patch)
 options=('!emptydirs')
 replaces=('xulrunner-oss')
 md5sums=('13c61203ccfa583e5a54b4dc22f41233'
          '8dfb78c5bd0581c8cf4753813132bf0b'
-         '27271ce647a83906ef7a24605e840d61')
+         '27271ce647a83906ef7a24605e840d61'
+         '5d418ecdbdb9f40597df6b978b0b5ee5')
 
 build() {
   cd "$srcdir/mozilla-release"
@@ -25,6 +27,7 @@
 
   #fix libdir/sdkdir - fedora
   patch -Np1 -i "$srcdir/mozilla-pkgconfig.patch"
+  patch -Np1 -i "$srcdir/libvpx.patch"
 
 
   export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/xulrunner-$pkgver"

Added: libvpx.patch
===================================================================
--- libvpx.patch	                        (rev 0)
+++ libvpx.patch	2012-02-05 19:39:58 UTC (rev 149113)
@@ -0,0 +1,12 @@
+diff -Nur mozilla-release.orig/configure.in mozilla-release/configure.in
+--- mozilla-release.orig/configure.in	2012-02-05 16:01:35.722024142 +0000
++++ mozilla-release/configure.in	2012-02-05 16:03:34.871064547 +0000
+@@ -5629,7 +5629,7 @@
+             dnl v0.9.6 one to check for.
+             AC_TRY_COMPILE([
+                 #include <vpx/vpx_decoder.h>
+-                #if !defined(VPX_CODEC_USE_INPUT_PARTITION)
++                #if !defined(VPX_CODEC_USE_INPUT_FRAGMENTS)
+                     #error "test failed."
+                 #endif
+                 ],



More information about the arch-commits mailing list