Project

General

Profile

Bug #896 » PKGBUILD.iceweasel-1_46.0.1.deb1-1-armv7h.patch

https://projects.parabola.nu/abslibre.git/tree/libre/iceweasel/PKGBUILD?id=e7b03fe92e07984226e1bf0ca313b9a6ee2a932c - isacdaavid, 2016-06-19 06:17 PM

View differences:

PKGBUILD
31 31
pkgrel=1
32 32

  
33 33
pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox."
34
arch=(i686 x86_64)
34
arch=(i686 x86_64 armv7h)
35 35
license=(MPL GPL LGPL)
36 36
depends=(alsa-lib dbus-glib desktop-file-utils ffmpeg gtk2 gtk3 hunspell icu=57.1 libevent libvpx=1.5.0 libxt mime-types mozilla-common nss sqlite startup-notification ttf-font)
37 37
makedepends=(autoconf2.13 diffutils gconf imagemagick imake inetutils libidl2 libpulse librsvg-stable libxslt mesa mozilla-searchplugins pkg-config python2 quilt unzip yasm zip)
......
58 58
        vendor.js
59 59
        no-libnotify.patch
60 60
        $pkgname-gtk3-20.patch
61
        enable-object-directory-paths.patch)
61
        enable-object-directory-paths.patch
62
        no-neon.patch)
62 63
sha256sums=('c9e2231711250c2c6cacc50f73b3e7c2a6bf2a24d1cc4d35504bf98beae9a7ba'
63 64
            '6827eff8d132127ffe744a3e0ee9bd30c11995aebe7d0f34044bb1aca8341069'
64 65
            '69736106a9c96fdbca2fb82bd8fbceddf2ab87940ff42bc92cfaed716363310e'
......
69 70
            '56eba484179c7f498076f8dc603d8795e99dce8c6ea1da9736318c59d666bff6'
70 71
            '2257dc69886bd0b72c48675a27c3a88b9cf6b598252c9e9f1c99763180684fc3'
71 72
            '3aea6676f1e53a09673b6ae219d281fc28054beb6002b09973611c02f827651d'
72
            'e6e43c6b481891e33dbb95849865410a2a9e77165f7de2c2057d3a8bab990aec'
73
            '4ba5fd938cdce850c699963be8d53dffeba2c8c4acb32071c93e902138b93208'
73 74
            'e4ebdd14096d177d264a7993dbd5df46463605ff45f783732c26d30b9caa53a7'
74 75
            '440c3e22d98ecf8c44dcedbe90bbb302da3a059e3fc3fba205d89f0eca329cbf'
75
            'e260e555b261aabab1e48786dd514eeea056e4402af7cfd4dfd1d32858441484')
76
            'e260e555b261aabab1e48786dd514eeea056e4402af7cfd4dfd1d32858441484'
77
            '6d0c1c9ca28b20d206ce24ca84f4d4e3f5d062a2e9cb7445fcb6c2cfea959b4a')
76 78
validpgpkeys=(
77 79
              'C92BAA713B8D53D3CAE63FC9E6974752F9704456' # André Silva
78 80
              '684D54A189305A9CC95446D36B888913DDB59515' # Márcio Silva
......
122 124
  # Load our build config, disable SafeSearch
123 125
  cp "$srcdir/mozconfig" .mozconfig
124 126

  
127
  # Disable gold linker and SIMD for ARM build
128
  if [ "$CARCH" = "armv7h" ]; then
129
    sed -i '/ac_add_options --enable-gold/d' .mozconfig
130
    echo 'ac_add_options --disable-neon' >> .mozconfig
131
  fi
132

  
125 133
  mkdir "$srcdir/path"
126 134
  ln -s /usr/bin/python2 "$srcdir/path/python"
127 135

  
128 136
  # Load our searchplugins
129 137
  rm -rv browser/locales/en-US/searchplugins
130 138
  cp -av /usr/lib/mozilla/searchplugins browser/locales/en-US
139

  
140
  # Fix SIMD options in configure script during ARM build
141
  [ "$CARCH" = "armv7h" ] && patch -Np0 -i ../no-neon.patch
131 142
}
132 143

  
133 144
build() {
(3-3/5)