mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added extra/js128
This commit is contained in:
parent
4a2cb35b92
commit
8625c4f2fb
3 changed files with 227 additions and 0 deletions
31
extra/js128/.SRCINFO
Normal file
31
extra/js128/.SRCINFO
Normal file
|
@ -0,0 +1,31 @@
|
|||
pkgbase = js128
|
||||
pkgdesc = JavaScript interpreter and libraries - Version 128
|
||||
pkgver = 128.1.0
|
||||
pkgrel = 1
|
||||
url = https://spidermonkey.dev/
|
||||
arch = x86_64
|
||||
license = MPL-2.0
|
||||
checkdepends = git
|
||||
checkdepends = mercurial
|
||||
makedepends = cbindgen
|
||||
makedepends = clang
|
||||
makedepends = lld
|
||||
makedepends = llvm
|
||||
makedepends = python
|
||||
makedepends = rust
|
||||
makedepends = zip
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = readline
|
||||
depends = sh
|
||||
depends = zlib
|
||||
options = !lto
|
||||
source = https://archive.mozilla.org/pub/firefox/releases/128.1.0esr/source/firefox-128.1.0esr.source.tar.xz
|
||||
source = https://archive.mozilla.org/pub/firefox/releases/128.1.0esr/source/firefox-128.1.0esr.source.tar.xz.asc
|
||||
validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353
|
||||
sha256sums = ccdab622a395622abc6d80040a11715ad81a614f601db6672c05b98ac91fd9b5
|
||||
sha256sums = SKIP
|
||||
b2sums = 6d22bb17ad22d5e29008fd98f6b90bc6869f71c03b09e5b24a6a8a8304f303b316131aeee5d3e5f175a9194074d586a507ae121b9397aa371839dbdb1349f2bd
|
||||
b2sums = SKIP
|
||||
|
||||
pkgname = js128
|
132
extra/js128/PKGBUILD
Normal file
132
extra/js128/PKGBUILD
Normal file
|
@ -0,0 +1,132 @@
|
|||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - --disable-rust-simd, --disable-lto
|
||||
# - remove PGO build
|
||||
|
||||
pkgname=js128
|
||||
pkgver=128.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="JavaScript interpreter and libraries - Version 128"
|
||||
url="https://spidermonkey.dev/"
|
||||
arch=(x86_64)
|
||||
license=(MPL-2.0)
|
||||
depends=(
|
||||
gcc-libs
|
||||
glibc
|
||||
readline
|
||||
sh
|
||||
zlib
|
||||
)
|
||||
makedepends=(
|
||||
cbindgen
|
||||
clang
|
||||
lld
|
||||
llvm
|
||||
python
|
||||
rust
|
||||
zip
|
||||
)
|
||||
checkdepends=(
|
||||
git
|
||||
mercurial
|
||||
)
|
||||
options=(
|
||||
!lto
|
||||
)
|
||||
_relver=${pkgver}esr
|
||||
source=(
|
||||
https://archive.mozilla.org/pub/firefox/releases/$_relver/source/firefox-$_relver.source.tar.xz{,.asc}
|
||||
)
|
||||
validpgpkeys=(
|
||||
# Mozilla Software Releases <release@mozilla.com>
|
||||
# https://blog.mozilla.org/security/2023/05/11/updated-gpg-key-for-signing-firefox-releases/
|
||||
14F26682D0916CDD81E37B6D61B7B526D98F0353
|
||||
)
|
||||
sha256sums=('ccdab622a395622abc6d80040a11715ad81a614f601db6672c05b98ac91fd9b5'
|
||||
'SKIP')
|
||||
b2sums=('6d22bb17ad22d5e29008fd98f6b90bc6869f71c03b09e5b24a6a8a8304f303b316131aeee5d3e5f175a9194074d586a507ae121b9397aa371839dbdb1349f2bd'
|
||||
'SKIP')
|
||||
|
||||
# Make sure the duplication between bin and lib is found
|
||||
COMPRESSZST+=(--long)
|
||||
|
||||
prepare() {
|
||||
mkdir mozbuild
|
||||
cd firefox-$pkgver
|
||||
|
||||
cat >../mozconfig <<END
|
||||
ac_add_options --enable-application=js
|
||||
mk_add_options MOZ_OBJDIR=${PWD@Q}/obj
|
||||
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --disable-rust-simd
|
||||
ac_add_options --enable-linker=lld
|
||||
ac_add_options --disable-bootstrap
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-lto
|
||||
ac_add_options --disable-jemalloc
|
||||
ac_add_options --disable-strip
|
||||
|
||||
# System libraries
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --without-system-icu
|
||||
|
||||
# Features
|
||||
ac_add_options --enable-readline
|
||||
ac_add_options --enable-shared-js
|
||||
ac_add_options --enable-tests
|
||||
ac_add_options --with-intl-api
|
||||
END
|
||||
}
|
||||
|
||||
build() {
|
||||
cd firefox-$pkgver
|
||||
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip
|
||||
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
|
||||
export MOZ_BUILD_DATE="$(date -u${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH} +%Y%m%d%H%M%S)"
|
||||
export MOZ_NOSPAM=1
|
||||
|
||||
# malloc_usable_size is used in various parts of the codebase
|
||||
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
|
||||
# Breaks compilation since https://bugzilla.mozilla.org/show_bug.cgi?id=1896066
|
||||
CFLAGS="${CFLAGS/-fexceptions/}"
|
||||
CXXFLAGS="${CXXFLAGS/-fexceptions/}"
|
||||
|
||||
cat >.mozconfig ../mozconfig
|
||||
./mach build --priority normal
|
||||
}
|
||||
|
||||
check() {
|
||||
local jstests_extra_args=(
|
||||
--format=none
|
||||
--exclude-random
|
||||
--wpt=disabled
|
||||
) jittest_extra_args=(
|
||||
--format=none
|
||||
--timeout 300
|
||||
) jittest_test_args=(
|
||||
basic
|
||||
)
|
||||
|
||||
cd firefox-$pkgver/obj
|
||||
make -C js/src check-jstests check-jit-test \
|
||||
JSTESTS_EXTRA_ARGS="${jstests_extra_args[*]}" \
|
||||
JITTEST_EXTRA_ARGS="${jittest_extra_args[*]}" \
|
||||
JITTEST_TEST_ARGS="${jittest_test_args[*]}"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd firefox-$pkgver/obj
|
||||
make DESTDIR="$pkgdir" install
|
||||
rm "$pkgdir"/usr/lib/*.ajs
|
||||
find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -c a-x {} +
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
|
@ -0,0 +1,64 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFWpQAQBEAC+9wVlwGLy8ILCybLesuB3KkHHK+Yt1F1PJaI30X448ttGzxCz
|
||||
PQpH6BoA73uzcTReVjfCFGvM4ij6qVV2SNaTxmNBrL1uVeEUsCuGduDUQMQYRGxR
|
||||
tWq5rCH48LnltKPamPiEBzrgFL3i5bYEUHO7M0lATEknG7Iaz697K/ssHREZfuuc
|
||||
B4GNxXMgswZ7GTZO3VBDVEw5GwU3sUvww93TwMC29lIPCux445AxZPKr5sOVEsEn
|
||||
dUB2oDMsSAoS/dZcl8F4otqfR1pXg618cU06omvq5yguWLDRV327BLmezYK0prD3
|
||||
P+7qwEp8MTVmxlbkrClS5j5pR47FrJGdyupNKqLzK+7hok5kBxhsdMsdTZLd4tVR
|
||||
jXf04isVO3iFFf/GKuwscOi1+ZYeB3l3sAqgFUWnjbpbHxfslTmo7BgvmjZvAH5Z
|
||||
asaewF3wA06biCDJdcSkC9GmFPmN5DS5/Dkjwfj8+dZAttuSKfmQQnypUPaJ2sBu
|
||||
blnJ6INpvYgsEZjV6CFG1EiDJDPu2Zxap8ep0iRMbBBZnpfZTn7SKAcurDJptxin
|
||||
CRclTcdOdi1iSZ35LZW0R2FKNnGL33u1IhxU9HRLw3XuljXCOZ84RLn6M+PBc1eZ
|
||||
suv1TA+Mn111yD3uDv/u/edZ/xeJccF6bYcMvUgRRZh0sgZ0ZT4b0Q6YcQARAQAB
|
||||
tC9Nb3ppbGxhI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