summaryrefslogtreecommitdiff
path: root/libre/icedove/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-04-22 23:34:24 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-04-22 23:34:24 -0300
commit28dc8d322e636f0c582f680e6df69ae5d08e5851 (patch)
tree47ce5e0c9855ff0120378140c8a928547b4e31e2 /libre/icedove/PKGBUILD
parent57f89ff5812e10e60a8ddf03bb33185862b02ace (diff)
icedove-1:31.6.0.deb1-2{,.nonprism1}: rebuild against libvpx 1.4.0
Diffstat (limited to 'libre/icedove/PKGBUILD')
-rw-r--r--libre/icedove/PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/libre/icedove/PKGBUILD b/libre/icedove/PKGBUILD
index 3ef3bb3e3..0f2f95f04 100644
--- a/libre/icedove/PKGBUILD
+++ b/libre/icedove/PKGBUILD
@@ -11,12 +11,12 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
pkgname=${_debname}
epoch=1
pkgver=${_debver}.${_debrel}
-pkgrel=1
+pkgrel=2
pkgdesc="A libre version of Debian Icedove, the standalone mail/news reader based on Mozilla Thunderbird."
arch=('i686' 'x86_64' 'mips64el')
license=('MPL' 'GPL' 'LGPL')
url="http://packages.debian.org/sid/${pkgname}"
-depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification')
+depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libvpx=1.4.0' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification')
makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'libpulse' 'autoconf2.13' 'quilt' 'jquery-ui')
optdepends=('libcanberra: for sound support')
replaces=('thunderbird' "${pkgname}-libre")
@@ -102,6 +102,15 @@ prepare() {
# Add symlinks to use jquery files built for us
ln -s /usr/share/javascript/jquery/jquery.min.js mail/jquery
ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js mail/jquery
+
+ # Fixing for libvpx >= 1.4.0
+ sed -i 's|IMG_FMT_I420|VPX_IMG_FMT_I420|;
+ s|PLANE_U|VPX_PLANE_U|;
+ s|PLANE_V|VPX_PLANE_V|;
+ s|PLANE_Y|VPX_PLANE_Y|;
+ s|VPX_VPX_PLANE_|VPX_PLANE_|;
+ ' mozilla/content/media/encoder/VP8TrackEncoder.cpp \
+ mozilla/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
}
build() {