summaryrefslogtreecommitdiff
path: root/waterfox-g/debian/mozconfig_LANG
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-08-19 17:18:07 -0400
committerB. Stack <bgstack15@gmail.com>2023-08-19 17:18:07 -0400
commitb2237bccba179e5483e083edf5ebbd313d240dfd (patch)
tree19d822c24051e2308c32c04a102547f4e5188679 /waterfox-g/debian/mozconfig_LANG
parentuse cgit url (diff)
downloadstackrpms-b2237bccba179e5483e083edf5ebbd313d240dfd.tar.gz
stackrpms-b2237bccba179e5483e083edf5ebbd313d240dfd.tar.bz2
stackrpms-b2237bccba179e5483e083edf5ebbd313d240dfd.zip
add waterfox-g
Diffstat (limited to 'waterfox-g/debian/mozconfig_LANG')
-rw-r--r--waterfox-g/debian/mozconfig_LANG31
1 files changed, 31 insertions, 0 deletions
diff --git a/waterfox-g/debian/mozconfig_LANG b/waterfox-g/debian/mozconfig_LANG
new file mode 100644
index 0000000..1af22f3
--- /dev/null
+++ b/waterfox-g/debian/mozconfig_LANG
@@ -0,0 +1,31 @@
+if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "focal" || test `lsb_release -sc` = "stretch" || test `lsb_release -sc` = "buster"; then
+export NODEJS=/usr/lib/nodejs-mozilla/bin/node
+fi
+
+if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "stretch"; then
+export NASM=/usr/lib/nasm-mozilla/bin/nasm
+fi
+
+# For successfull LTO build, we need to use matching LLVM version
+if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "focal" || test `lsb_release -sc` = "impish" || test `lsb_release -sc` = "stretch" || test `lsb_release -sc` = "buster" || test `lsb_release -sc` = "bullseye"; then
+export PATH=/usr/lib/llvm-12/bin/:$PATH
+fi
+
+if test `lsb_release -sc` = "kinetic"; then
+export PATH=/usr/lib/llvm-14/bin/:$PATH
+fi
+
+export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
+
+ac_add_options --enable-linker=lld
+
+ac_add_options --with-app-name=waterfox-g
+ac_add_options --with-app-basename=Waterfox
+ac_add_options --with-branding=waterfox/browser/branding
+mk_add_options MOZ_OBJDIR=$topsrcdir/../obj_LANG
+ac_add_options --prefix=/usr
+ac_add_options --with-l10n-base=$topsrcdir/waterfox/browser/locales
+ac_add_options --disable-updater
+ac_add_options --disable-bootstrap
+ac_add_options --without-wasm-sandboxed-libraries
+ac_add_options --with-version-file-path=$topsrcdir/debian/app_version
bgstack15