mirror of
https://aur.archlinux.org/firedragon.git
synced 2025-07-06 21:14:33 +00:00
Release 90.0.1
This commit is contained in:
56
PKGBUILD
56
PKGBUILD
@ -4,7 +4,7 @@
|
||||
|
||||
pkgname=firedragon
|
||||
_pkgname=FireDragon
|
||||
pkgver=90.0
|
||||
pkgver=90.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
|
||||
arch=(x86_64 aarch64)
|
||||
@ -16,7 +16,7 @@ depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss nspr ttf-font libpulse
|
||||
libwebp libvpx libjpeg zlib icu libevent libpipewire02 aom harfbuzz
|
||||
graphite dav1d kfiredragonhelper)
|
||||
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
|
||||
rust ccache autoconf2.13 clang llvm jack gtk2 nodejs cbindgen nasm
|
||||
rust ccache autoconf2.13 clang llvm jack nodejs cbindgen nasm
|
||||
python-setuptools python-psutil python-zstandard git binutils lld dump_syms)
|
||||
optdepends=('firejail-git: Sandboxing the browser using the included profiles'
|
||||
'profile-sync-daemon: Load the browser profile into RAM'
|
||||
@ -33,18 +33,12 @@ optdepends=('firejail-git: Sandboxing the browser using the included profiles'
|
||||
options=(!emptydirs !makeflags !strip)
|
||||
conflicts=('firedragon-hg')
|
||||
install=$pkgname.install
|
||||
_arch_svn=https://git.archlinux.org/svntogit/packages.git/plain/trunk
|
||||
_settings_commit=c78c50fbefe2fcf830611e21dcc0fe79180d1e01
|
||||
_mbrev=2389
|
||||
_patchrevsuse=aedbca44a8a2958947bed31f28e3083ac0496f4a
|
||||
_pfdate=20210531
|
||||
_patchurl=https://raw.githubusercontent.com/openSUSE/firefox-maintenance/$_patchrevsuse
|
||||
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
|
||||
$pkgname.desktop
|
||||
"git+https://gitlab.com/dr460nf1r3/common.git"
|
||||
"git+https://gitlab.com/dr460nf1r3/settings.git")
|
||||
|
||||
sha256sums=('43a943e7d7660c6d7f5b41c95b344b7fd6a4a88ad0bb45dbd844b372ea60d58b'
|
||||
sha256sums=('85796ca5857e2196c8722719423d3f164396efdefb2988d3efd6d5c399dc0a87'
|
||||
'158152bdb9ef6a83bad62ae03a3d9bc8ae693b34926e53cc8c4de07df20ab22d'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
@ -65,10 +59,10 @@ prepare() {
|
||||
patch -Np1 -i ${_patches_dir}/arch/0001-Use-remoting-name-for-GDK-application-names.patch
|
||||
|
||||
# KDE patches (W. Rosenauer)
|
||||
echo "---- Patching for KDE"
|
||||
patch -Np1 -i ${_patches_dir}/kde/mozilla-nongnome-proxies.patch
|
||||
patch -Np1 -i ${_patches_dir}/kde/mozilla-kde.patch
|
||||
patch -Np1 -i ${_patches_dir}/kde/firefox-kde.patch
|
||||
echo "---- Patching for KDE ----- currently broken"
|
||||
#patch -Np1 -i ${_patches_dir}/kde/mozilla-nongnome-proxies.patch
|
||||
#patch -Np1 -i ${_patches_dir}/kde/mozilla-kde.patch
|
||||
#patch -Np1 -i ${_patches_dir}/kde/firefox-kde.patch
|
||||
|
||||
# Ubuntu patches
|
||||
echo "---- Misc patches"
|
||||
@ -127,9 +121,8 @@ ac_add_options --enable-release
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --with-ccache
|
||||
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
|
||||
export CC='clang --target=x86_64-pc-linux-gnu'
|
||||
export CXX='clang++ --target=x86_64-pc-linux-gnu'
|
||||
export CC='clang'
|
||||
export CXX='clang++'
|
||||
export RANLIB=llvm-ranlib
|
||||
export STRIP=llvm-strip
|
||||
export AR=llvm-ar
|
||||
@ -145,10 +138,10 @@ ac_add_options --with-distribution-id=org.garudalinux
|
||||
ac_add_options --with-unsigned-addon-scopes=app,system
|
||||
ac_add_options --allow-addon-sideload
|
||||
|
||||
export STRIP_FLAGS="--strip-debug --strip-unneeded"
|
||||
#export STRIP_FLAGS="--strip-debug --strip-unneeded"
|
||||
|
||||
# System libraries
|
||||
ac_add_options --disable-libproxy
|
||||
#ac_add_options --disable-libproxy
|
||||
ac_add_options --enable-system-pixman
|
||||
ac_add_options --with-system-av1
|
||||
ac_add_options --with-system-ffi
|
||||
@ -165,20 +158,20 @@ ac_add_options --with-system-zlib
|
||||
|
||||
# Features
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-debug-js-modules
|
||||
ac_add_options --disable-debug-symbols
|
||||
#ac_add_options --disable-debug
|
||||
#ac_add_options --disable-debug-js-modules
|
||||
#ac_add_options --disable-debug-symbols
|
||||
ac_add_options --disable-gpsd
|
||||
ac_add_options --disable-ipdl-tests
|
||||
ac_add_options --disable-necko-wifi
|
||||
ac_add_options --disable-rust-tests
|
||||
ac_add_options --disable-synth-speechd
|
||||
#ac_add_options --disable-ipdl-tests
|
||||
#ac_add_options --disable-necko-wifi
|
||||
#ac_add_options --disable-rust-tests
|
||||
#ac_add_options --disable-synth-speechd
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-trace-logging
|
||||
#ac_add_options --disable-trace-logging
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-warnings-as-errors
|
||||
ac_add_options --disable-webspeech
|
||||
ac_add_options --disable-webspeechtestbackend
|
||||
#ac_add_options --disable-warnings-as-errors
|
||||
#ac_add_options --disable-webspeech
|
||||
#ac_add_options --disable-webspeechtestbackend
|
||||
ac_add_options --enable-alsa
|
||||
ac_add_options --enable-jack
|
||||
ac_add_options --enable-pulseaudio
|
||||
@ -281,8 +274,6 @@ fi
|
||||
|
||||
echo "Building optimized browser..."
|
||||
|
||||
echo "Building optimized browser..."
|
||||
|
||||
if [[ $CARCH == 'aarch64' ]]; then
|
||||
|
||||
cat >.mozconfig ../mozconfig - <<END
|
||||
@ -300,6 +291,9 @@ ac_add_options --enable-lto=cross
|
||||
ac_add_options --enable-profile-use=cross
|
||||
ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata
|
||||
ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog
|
||||
ac_add_options --enable-linker=lld
|
||||
ac_add_options --disable-elf-hack
|
||||
ac_add_options --disable-bootstrap
|
||||
END
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user