mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
firefox-esr: unconditionally add ppc64 jit files
The build system references them even on non-ppc64 platforms.
This commit is contained in:
parent
4bd737cd80
commit
d86d29fd6e
1 changed files with 10 additions and 18 deletions
|
@ -11,8 +11,10 @@ short_desc="Mozilla Firefox web browser - Extended Support Release"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://www.mozilla.org/firefox/"
|
homepage="https://www.mozilla.org/firefox/"
|
||||||
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"
|
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz
|
||||||
checksum=75e98daf53c5aea19d711a625d5d5e6dfdc8335965d3a19567c62f9d2961fc75
|
https://github.com/chmeeedalf/gecko-dev/files/7729086/esrppcjit.tar.gz"
|
||||||
|
checksum="75e98daf53c5aea19d711a625d5d5e6dfdc8335965d3a19567c62f9d2961fc75
|
||||||
|
5e926a8be5d6d4949c3bc3eb98e2103692eaa26a98928db432b1d44b535f7241"
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
|
@ -37,14 +39,6 @@ case $XBPS_TARGET_MACHINE in
|
||||||
ppc*) broken="xptcall bitrot" ;;
|
ppc*) broken="xptcall bitrot" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# ppc64le jit, see --enable-jit later
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
ppc64le*)
|
|
||||||
distfiles+=" https://github.com/chmeeedalf/gecko-dev/files/7729086/esrppcjit.tar.gz"
|
|
||||||
checksum+=" 5e926a8be5d6d4949c3bc3eb98e2103692eaa26a98928db432b1d44b535f7241"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
fi
|
fi
|
||||||
|
@ -70,12 +64,7 @@ post_extract() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# ppc64le jit, see --enable-jit later
|
# ppc64le jit, see --enable-jit later
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
mv ../js/src/jit/ppc64 js/src/jit
|
||||||
ppc64le*)
|
|
||||||
mv ../js/src/jit/ppc64 js/src/jit
|
|
||||||
rm -rf ../js
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Mozilla API keys (see https://location.services.mozilla.com/api)
|
# Mozilla API keys (see https://location.services.mozilla.com/api)
|
||||||
# Note: This is for Void Linux use ONLY.
|
# Note: This is for Void Linux use ONLY.
|
||||||
|
@ -107,8 +96,11 @@ do_build() {
|
||||||
# https://www.talospace.com/2021/12/91esr-with-baseline-compilerbaseline.html
|
# https://www.talospace.com/2021/12/91esr-with-baseline-compilerbaseline.html
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc64le*) echo "ac_add_options --enable-jit" >>.mozconfig ;;
|
ppc64le*) echo "ac_add_options --enable-jit" >>.mozconfig ;;
|
||||||
ppc64*) ;;
|
ppc64*) echo "ac_add_options --disable-jit" >>.mozconfig ;;
|
||||||
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
|
ppc*)
|
||||||
|
echo "ac_add_options --disable-jit" >>.mozconfig
|
||||||
|
echo "ac_add_options --disable-webrtc" >>.mozconfig
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue