mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/firefox to 104.0.2-1
This commit is contained in:
parent
252979d4b3
commit
ad442ba640
1 changed files with 8 additions and 11 deletions
|
@ -10,7 +10,7 @@
|
||||||
highmem=1
|
highmem=1
|
||||||
|
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
pkgver=104.0.1
|
pkgver=104.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Standalone web browser from mozilla.org"
|
pkgdesc="Standalone web browser from mozilla.org"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -18,8 +18,9 @@ license=(MPL GPL LGPL)
|
||||||
url="https://www.mozilla.org/firefox/"
|
url="https://www.mozilla.org/firefox/"
|
||||||
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
|
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
|
||||||
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
|
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
|
||||||
autoconf2.13 rust clang llvm jack nodejs cbindgen nasm
|
autoconf2.13 rust clang llvm jack nodejs cbindgen nasm python
|
||||||
python-setuptools python-zstandard lld dump_syms)
|
lld dump_syms
|
||||||
|
)
|
||||||
optdepends=('networkmanager: Location detection via available WiFi networks'
|
optdepends=('networkmanager: Location detection via available WiFi networks'
|
||||||
'libnotify: Notification integration'
|
'libnotify: Notification integration'
|
||||||
'pulseaudio: Audio support'
|
'pulseaudio: Audio support'
|
||||||
|
@ -28,12 +29,11 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
|
||||||
'xdg-desktop-portal: Screensharing with Wayland')
|
'xdg-desktop-portal: Screensharing with Wayland')
|
||||||
options=(!emptydirs !makeflags !strip !lto !debug)
|
options=(!emptydirs !makeflags !strip !lto !debug)
|
||||||
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
|
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
|
||||||
zstandard-0.18.0.diff arc4random.diff
|
arc4random.diff
|
||||||
build-arm-libopus.patch
|
build-arm-libopus.patch
|
||||||
$pkgname.desktop identity-icons-brand.svg)
|
$pkgname.desktop identity-icons-brand.svg)
|
||||||
sha256sums=('f23f4198bd9ba1bbb7420a622080301adb924fafbd6d83b00b1e6cc687e75f4e'
|
sha256sums=('72bba06f04e7745f6b02951906413eb1c15a7e253e06e373302162c6219f286a'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'a6857ad2f2e2091c6c4fdcde21a59fbeb0138914c0e126df64b50a5af5ff63be'
|
|
||||||
'714ca50b2ce0cac470dbd5a60e9a0101b28072f08a5e7a9bba94fef2058321c4'
|
'714ca50b2ce0cac470dbd5a60e9a0101b28072f08a5e7a9bba94fef2058321c4'
|
||||||
'2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9'
|
'2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9'
|
||||||
'298eae9de76ec53182f38d5c549d0379569916eebf62149f9d7f4a7edef36abf'
|
'298eae9de76ec53182f38d5c549d0379569916eebf62149f9d7f4a7edef36abf'
|
||||||
|
@ -57,11 +57,8 @@ prepare() {
|
||||||
mkdir mozbuild
|
mkdir mozbuild
|
||||||
cd firefox-$pkgver
|
cd firefox-$pkgver
|
||||||
|
|
||||||
# Unbreak build with python-zstandard 0.18.0
|
|
||||||
patch -Np1 -i ../zstandard-0.18.0.diff
|
|
||||||
|
|
||||||
# Unbreak build with glibc 2.36
|
# Unbreak build with glibc 2.36
|
||||||
patch -Np1 -i ../arc4random.diff
|
#patch -Np1 -i ../arc4random.diff
|
||||||
|
|
||||||
echo -n "$_google_api_key" >google-api-key
|
echo -n "$_google_api_key" >google-api-key
|
||||||
echo -n "$_mozilla_api_key" >mozilla-api-key
|
echo -n "$_mozilla_api_key" >mozilla-api-key
|
||||||
|
@ -139,7 +136,7 @@ build() {
|
||||||
export MOZ_NOSPAM=1
|
export MOZ_NOSPAM=1
|
||||||
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
|
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
|
||||||
export MOZ_ENABLE_FULL_SYMBOLS=1
|
export MOZ_ENABLE_FULL_SYMBOLS=1
|
||||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
|
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip
|
||||||
|
|
||||||
# LTO needs more open files
|
# LTO needs more open files
|
||||||
ulimit -n 4096
|
ulimit -n 4096
|
||||||
|
|
Loading…
Reference in a new issue