From bca65e443b977a34e2b1ceace4c5ec9eb3d5ded5 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Wed, 24 Jul 2024 18:07:00 +0000 Subject: [PATCH] Update and fix the firefox-esr recipe --- recipes/wip/web/firefox-esr/mozconfig | 1 + recipes/wip/web/firefox-esr/recipe.toml | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 recipes/wip/web/firefox-esr/mozconfig diff --git a/recipes/wip/web/firefox-esr/mozconfig b/recipes/wip/web/firefox-esr/mozconfig new file mode 100644 index 000000000..4ad1810b7 --- /dev/null +++ b/recipes/wip/web/firefox-esr/mozconfig @@ -0,0 +1 @@ +ac_add_options --disable-tests diff --git a/recipes/wip/web/firefox-esr/recipe.toml b/recipes/wip/web/firefox-esr/recipe.toml index 6443e17ad..529741040 100644 --- a/recipes/wip/web/firefox-esr/recipe.toml +++ b/recipes/wip/web/firefox-esr/recipe.toml @@ -1,9 +1,12 @@ -#TODO probably wrong template, see https://firefox-source-docs.mozilla.org/setup/linux_build.html#build +#TODO finish the script with cross-compilaiton variables, see https://firefox-source-docs.mozilla.org/setup/linux_build.html #TODO make all dependencies work +# some libraries are bundled, maybe some need to use the redox recipes +# dependencies - https://packages.gentoo.org/packages/www-client/firefox/dependencies +# feature flags reference - https://wiki.gentoo.org/wiki/Firefox#USE_flags [source] -tar = "https://ftp.mozilla.org/pub/firefox/releases/115.4.0esr/linux-x86_64/en-US/firefox-115.4.0esr.tar.bz2" +tar = "https://ftp.mozilla.org/pub/firefox/releases/115.13.0esr/source/firefox-115.13.0esr.source.tar.xz" [build] -template = "configure" +template = "custom" dependencies = [ "fontconfig", "atk", @@ -19,6 +22,11 @@ dependencies = [ "nss-nspr", "startup-notification", "zlib", - "libvpx", "ffmpeg6", + "expat", + "libepoxy", + "pipewire", ] +script = """ +export MOZCONFIG="${COOKBOOK_RECIPE}/mozconfig" +""" -- GitLab