mirror of
https://github.com/gryf/webbrowser-overlay.git
synced 2026-02-01 21:45:56 +01:00
www-client/webbrowser: Add support for PPC64
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
AUX icon/webbrowser.desktop 405 BLAKE2B 1e5222a0bf1cbd14fa2f1a9752a4c7203ee133cf4e5365528e046832efe71a63c8501c1830ff8617fc17374b67a0fbf4ceba3ff7e04508642d5fe0d6d52956b7 SHA512 9663f243084cffe1f44a2635d90176727258c8fa2ea62f8d9406c7d9b8ef4f89bb2e17f209c2c3b324e9e79f12e1054e968cda24d00655cb7207da56b68ccaca
|
||||
EBUILD webbrowser-29.2.0.ebuild 5873 BLAKE2B 169afd3aef50b6fb26a5c10e8821f485433728a21c3539de0a650b8506175911d47fb4350bd84493dbae4debe510069b9d182409d5691745b955eb095cb369ab SHA512 7b7dbcf7c94d0684da1783f3a080ae5c4d3184885184dc5f570eb21b755a00ec931aa8c6301deb8404d3bae49ed63bd70f383ebe5143123415ef944052cede7f
|
||||
EBUILD webbrowser-29.3.0.ebuild 5875 BLAKE2B 38ace832debaed73e9ce48df4fc12019af10eef95126606070c1823970a3727be2b69b9c2d71444aea5195d2dbdb657f6797ac1a318209f4398eecd51ae770b9 SHA512 1e3cc01054a67d8c398ad34b898e6b476852c52cf7a4be90cf28cf9dadddcb5a5d9e93e7ab19798f4659326811c9fc2f971a1d9faab0b543ab85884f49b01d26
|
||||
EBUILD webbrowser-29.3.1.ebuild 5875 BLAKE2B 38ace832debaed73e9ce48df4fc12019af10eef95126606070c1823970a3727be2b69b9c2d71444aea5195d2dbdb657f6797ac1a318209f4398eecd51ae770b9 SHA512 1e3cc01054a67d8c398ad34b898e6b476852c52cf7a4be90cf28cf9dadddcb5a5d9e93e7ab19798f4659326811c9fc2f971a1d9faab0b543ab85884f49b01d26
|
||||
EBUILD webbrowser-29.3.1.ebuild 6554 BLAKE2B 1b187eae888204c2c63df10f3e65a9599e4046f92d87bf00fd71b27a889140eeb2361784c6bd3b08a002aa979be376765099eded9a3980d97f816d369b36b748 SHA512 4104cba22c733ffc6c97e82112332909e0c4e37ea27c4474548c32ffe32df1b10a84c6c96f8b8d4536e072e6fecde78ac28947694e97f2bd11efa5daab4c13e2
|
||||
MISC metadata.xml 712 BLAKE2B abe743081a4b259fb0c5de8db0d69d22cce37f13d6dd5db2b87155ee51993925b9533b6c5af66a16571bf0b293a05deae1a0c2a0170d1f12d888ea985b91a4b5 SHA512 d44726d6209ee32c0e80ea55b9bd091bd3e37248cdfea60fb1274bfe0a1ee530793b34d5f821a3b58408b9623bbef8c3bfbc64302785e31b6f0296a6a1702932
|
||||
|
||||
@@ -2,9 +2,9 @@ EAPI=7
|
||||
|
||||
REQUIRED_BUILDSPACE='16G'
|
||||
|
||||
inherit webbrowser-1 git-r3 flag-o-matic pax-utils desktop
|
||||
inherit webbrowser-1 git-r3 flag-o-matic pax-utils desktop toolchain-funcs
|
||||
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
KEYWORDS="~x86 ~amd64 ~ppc64"
|
||||
DESCRIPTION="Webbrowser - fork of Pale Moon"
|
||||
HOMEPAGE="https://git.nuegia.net/webbrowser.git"
|
||||
|
||||
@@ -91,9 +91,22 @@ src_configure() {
|
||||
mozconfig_enable alsa
|
||||
|
||||
if use optimize; then
|
||||
O='-O2 -pipe -ftree-parallelize-loops=4 -lgomp -fopenmp -msse2 -mfpmath=sse'
|
||||
if use x86 || use amd64; then
|
||||
O='-O2 -pipe -ftree-parallelize-loops=4 -lgomp -fopenmp -msse2 -mfpmath=sse'
|
||||
elif use ppc64; then
|
||||
# Big endian ppc64 builds not tested, it is included here for completeness
|
||||
if [[ $(tc-endian) == "big" ]] ; then
|
||||
#970 is the lowest common denominator for 64 bit big endian PPC64
|
||||
O='-O2 -pipe -ftree-parallelize-loops=4 -lgomp -fopenmp -mcpu=970 -maltivec'
|
||||
else
|
||||
# POWER8 is the lowest common denominator for 64 bit little endian PPC64
|
||||
O='-O2 -pipe -ftree-parallelize-loops=4 -lgomp -fopenmp -mcpu=power8 -maltivec'
|
||||
fi
|
||||
fi
|
||||
|
||||
mozconfig_enable "optimize=\"${O}\""
|
||||
filter-flags '-O*' '-msse2' '-mfpmath=sse'
|
||||
|
||||
else
|
||||
mozconfig_disable optimize
|
||||
fi
|
||||
@@ -174,6 +187,11 @@ src_configure() {
|
||||
mozconfig_disable webrtc
|
||||
fi
|
||||
|
||||
# skia has no support for big-endian platforms
|
||||
if [[ $(tc-endian) == "big" ]] ; then
|
||||
mozconfig_annotate 'big endian target' --disable-skia
|
||||
fi
|
||||
|
||||
# Enabling this causes xpcshell to hang during the packaging process,
|
||||
# so disabling it until the cause can be tracked down. It most likely
|
||||
# has something to do with the sandbox since the issue goes away when
|
||||
|
||||
Reference in New Issue
Block a user