From 3a6601db2d6d363427ec022a0c828f3fb4350316 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 28 Aug 2024 15:16:08 -0400 Subject: [PATCH] user/zotero: minimize Firefox build --- user/zotero/APKBUILD | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/user/zotero/APKBUILD b/user/zotero/APKBUILD index f6c9803..08272a6 100644 --- a/user/zotero/APKBUILD +++ b/user/zotero/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Antoine Martin (ayakael) pkgname=zotero pkgver=7.0.3 -pkgrel=0 +pkgrel=1 _fxver=115.9.1 _gittag=$pkgver # Date of release, YY-MM-DD for metainfo file (see package()) @@ -222,17 +222,40 @@ prepare() { ac_add_options --disable-tests ac_add_options --disable-updater + # zotero changes + ac_add_options --disable-dbus + ac_add_options --disable-av1 + ac_add_options --disable-jxl + ac_add_options --disable-fmp4 + ac_add_options --disable-printing + ac_add_options --disable-synth-speechd + ac_add_options --disable-webspeech + ac_add_options --disable-webdriver + ac_add_options --disable-webrtc + ac_add_options --disable-accessibility + ac_add_options --disable-backgroundtasks + ac_add_options --disable-pref-extensions + ac_add_options --disable-startupcache + ac_add_options --disable-negotiateauth + ac_add_options --disable-parental-controls + ac_add_options --disable-system-extension-dirs + ac_add_options --disable-zipwriter + ac_add_options --disable-univerchardet + ac_add_options --disable-legacy-profile-creation + ac_add_options --disable-zipwriter + ac_add_options --disable-zipwriter + ac_add_options --disable-zipwriter + ac_add_options --disable-zipwriter + ac_add_options --disable-zipwriter + ac_add_options --disable-ffmpeg + ac_add_options --disable-necko-wifi + # features - ac_add_options --enable-alsa - ac_add_options --enable-dbus ac_add_options --enable-default-toolkit=cairo-gtk3-wayland - ac_add_options --enable-ffmpeg ac_add_options --enable-hardening ac_add_options --enable-linker=lld - ac_add_options --enable-necko-wifi ac_add_options --enable-official-branding ac_add_options --enable-optimize="$CFLAGS" - ac_add_options --enable-pulseaudio ac_add_options --enable-release ac_add_options --enable-update-channel=release