parent
ebb43eae99
commit
50fb3e5501
1 changed files with 15 additions and 2 deletions
|
@ -16,7 +16,7 @@ checksum=85f1c2eaf68ebedcbc0b78a342f6d16ef0865dedd426a1bba94b75c85f716f38
|
|||
|
||||
lib32disabled=yes
|
||||
hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm
|
||||
python3 cargo llvm clang rust cbindgen nasm nodejs"
|
||||
python3 cargo llvm clang rust cbindgen nasm nodejs-lts-10"
|
||||
makedepends="nss-devel libjpeg-turbo-devel gtk+-devel gtk+3-devel icu-devel
|
||||
pixman-devel sqlite-devel libevent-devel libnotify-devel libvpx5-devel
|
||||
libXrender-devel libXcomposite-devel libSM-devel libXt-devel rust-std
|
||||
|
@ -35,7 +35,10 @@ case $XBPS_TARGET_MACHINE in
|
|||
broken="required NEON extensions are not supported on armv6"
|
||||
;;
|
||||
ppc64*) ;;
|
||||
ppc*) broken="ftbfs in several places" ;;
|
||||
ppc*)
|
||||
makedepends+=" libatomic-devel"
|
||||
broken="xptcall bitrot"
|
||||
;;
|
||||
esac
|
||||
|
||||
# we need this because cargo verifies checksums of all files in vendor
|
||||
|
@ -82,6 +85,16 @@ do_build() {
|
|||
;;
|
||||
esac
|
||||
|
||||
# webrtc currently fails to build on 32-bit ppc...
|
||||
# also need explicit libatomic
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
ppc*)
|
||||
echo "ac_add_options --disable-webrtc" >>.mozconfig
|
||||
export LDFLAGS+=" -latomic"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
BINDGEN_INCLUDE_FLAGS=$( $CPP -x c++ -v /dev/null -o /dev/null 2>&1 | \
|
||||
sed -n '/#include <...> search starts here:/,/End of search list./p' | \
|
||||
|
|
Loading…
Reference in a new issue