aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-30 23:21:01 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-30 23:21:01 +0200
commit046c27552bf53e3a9d9c41627078266eeab0086c (patch)
tree4ee10e4b1053231a1007b53e225b9f18f20d9a31
parentcheckout submodules globally (diff)
downloadlibrewolf-linux-046c27552bf53e3a9d9c41627078266eeab0086c.tar.gz
librewolf-linux-046c27552bf53e3a9d9c41627078266eeab0086c.tar.bz2
librewolf-linux-046c27552bf53e3a9d9c41627078266eeab0086c.zip
comment some ubuntu-specific options; fix flatpak json talk-variable
-rw-r--r--PKGBUILD13
-rwxr-xr-xbinary_tarball/scripts/3_Configure_Source_Code.sh1
-rwxr-xr-xbinary_tarball/scripts/4_Build_Binary_Tarball.sh1
-rw-r--r--flatpak/content/io.gitlab.LibreWolf.json2
4 files changed, 13 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a5dfbf8..cfc5972 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,9 +36,13 @@ sha256sums=('74589c2836d7c30134636823c3caefbcaed0ea7c3abb2def9e3ddd9f86d9440a'
if [[ $CARCH == 'aarch64' ]]; then
source+=(arm.patch
- https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/extra/firefox/build-arm-libopus.patch)
+ https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/extra/firefox/build-arm-libopus.patch
+ https://gitlab.com/librewolf-community/browser/linux/-/raw/master/deb_patches/fix-armhf-webrtc-build.patch
+ https://gitlab.com/librewolf-community/browser/linux/-/raw/master/deb_patches/webrtc-fix-compiler-flags-for-armhf.patch)
sha256sums+=('6ca87d2ac7dc48e6f595ca49ac8151936afced30d268a831c6a064b52037f6b7'
- '2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9')
+ '2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9'
+ '035c209c1a03d1ddd99016d2b5b6df035e3cd7ddfe78851f7376628aa1d8188a'
+ '3d8f6aa6d6602c765c640d9934c42bf627f9a77835908429c37cdcef4171d300')
fi
prepare() {
@@ -106,7 +110,7 @@ export CXXFLAGS+=" -g0"
export RUSTFLAGS="-Cdebuginfo=0"
# from ALARM
-ac_add_options --disable-webrtc
+# ac_add_options --disable-webrtc
END
@@ -115,6 +119,9 @@ END
LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
patch -p1 -i ../arm.patch
patch -p1 -i ../build-arm-libopus.patch
+ # do we need those for aarch64 as well?
+ patch -p1 -i ../fix-armhf-webrtc-build.patch
+ patch -p1 -i ../webrtc-fix-compiler-flags-for-armhf.patch
fi
diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh
index 5cfaf41..df98c85 100755
--- a/binary_tarball/scripts/3_Configure_Source_Code.sh
+++ b/binary_tarball/scripts/3_Configure_Source_Code.sh
@@ -105,6 +105,7 @@ END
else
cat >>${CI_PROJECT_DIR}/mozconfig <<END
+# ubuntu seems to recommend this
ac_add_options --disable-elf-hack
END
diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
index 6f4aa22..755bb1a 100755
--- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh
+++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
@@ -69,6 +69,7 @@ END
else
cat >.mozconfig ${CI_PROJECT_DIR}/mozconfig - <<END
+# seems to mess with the libstdc++-static patch
# ac_add_options --enable-linker=gold
END
diff --git a/flatpak/content/io.gitlab.LibreWolf.json b/flatpak/content/io.gitlab.LibreWolf.json
index b7af21a..b105a5e 100644
--- a/flatpak/content/io.gitlab.LibreWolf.json
+++ b/flatpak/content/io.gitlab.LibreWolf.json
@@ -33,7 +33,7 @@
"--talk-name=org.a11y.Bus",
"--talk-name=org.gnome.SessionManager",
"--talk-name=org.freedesktop.ScreenSaver",
- "--talk-name=\"org.gtk.vfs.*\"",
+ "--talk-name=org.gtk.vfs.*",
"--socket=wayland",
"--filesystem=home:rw",
"--share=network"
bgstack15