Project

General

Profile

Bug #2803 ยป abslibre-iceweasel-system-libs.diff

GNUtoo, 2020-06-12 10:06 PM

View differences:

libre/iceweasel/PKGBUILD
35 35
# technical:
36 36
#  - build i686 with GCC instead of clang
37 37
#  - disable rust-SIMD, LTO, PGO, and skip profiling build for armv7h and i686
38
# 
38
#
39 39
# privacy:
40 40
#  - Remove Google API keys and usage
41 41
#  - Disable Mozilla telemetry and crash reporting (good manners
......
49 49
epoch=1
50 50
pkgver=75.0
51 51
pkgrel=1
52
pkgrel+=.parabola2
52
pkgrel+=.parabola4
53 53
_brandingver=75.0
54 54
_brandingrel=1
55 55
pkgdesc="Standalone web browser derived from Mozilla Firefox"
......
59 59
url="https://wiki.parabola.nu/Iceweasel"
60 60
depends=(gtk3 libxt startup-notification mime-types dbus-glib ffmpeg nss
61 61
         ttf-font libpulse)
62
depends+=(sqlite icu)
62
depends+=(libicui18n.so libicuuc.so libvpx)
63 63
makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils
64 64
             xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2 python
65 65
             nodejs python2-psutil cbindgen nasm)
......
135 135
ac_add_options --with-system-nspr
136 136
ac_add_options --with-system-nss
137 137

  
138
# even more system libraries
139
ac_add_options --enable-system-ffi
140
ac_add_options --with-system-bz2
141
ac_add_options --with-system-icu
142
ac_add_options --with-system-jpeg
143
ac_add_options --with-system-libvpx
144
ac_add_options --with-system-zlib
145

  
138 146
# Features
139 147
ac_add_options --enable-alsa
140 148
ac_add_options --enable-jack
......
392 400
}
393 401

  
394 402
package() {
395
  local _icu_ver
396
  _icu_ver=$(pacman -S --print-format='%v' icu)
397
  depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))")
398

  
399 403
  cd firefox-$pkgver
400 404
  DESTDIR="$pkgdir" ./mach install
401 405

  
    (1-1/1)