[gnome-build-meta/ptomato/add-mozjs68] Add mozjs68
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/ptomato/add-mozjs68] Add mozjs68
- Date: Mon, 20 Jan 2020 17:27:59 +0000 (UTC)
commit 84e62b7d44a5d11486e1f989fa98f0af6370905a
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Jan 18 21:53:26 2020 -0800
Add mozjs68
GJS will soon depend on this.
See: GNOME/gjs#270
elements/sdk-platform.bst | 1 +
elements/sdk/mozjs68.bst | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
---
diff --git a/elements/sdk-platform.bst b/elements/sdk-platform.bst
index cfe98918..355ad0be 100644
--- a/elements/sdk-platform.bst
+++ b/elements/sdk-platform.bst
@@ -44,6 +44,7 @@ depends:
- sdk/libsoup.bst
- sdk/libwpe.bst
- sdk/mozjs60.bst
+- sdk/mozjs68.bst
- sdk/openjpeg.bst
- sdk/os-release.bst
- sdk/pango.bst
diff --git a/elements/sdk/mozjs68.bst b/elements/sdk/mozjs68.bst
new file mode 100644
index 00000000..db099ad5
--- /dev/null
+++ b/elements/sdk/mozjs68.bst
@@ -0,0 +1,31 @@
+kind: manual
+sources:
+- kind: tar
+ url: gnome_download:teams/releng/tarballs-needing-help/mozjs/mozjs-68.4.2.tar.bz2
+build-depends:
+- sdk/python2.bst
+- freedesktop-sdk.bst:components/autoconf.bst
+- freedesktop-sdk.bst:components/perl.bst
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:extensions/rust/rust.bst
+- freedesktop-sdk.bst:components/which.bst
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+variables:
+ mozjs_target: ''
+ (?):
+ - arch == "i686":
+ mozjs_target: --host=i686-unknown-linux-gnu
+ - arch == "arm":
+ mozjs_target: --host=armv7-unknown-linux-gnueabihf
+ command-subdir: _build
+environment:
+ PATH: /usr/bin:/usr/lib/sdk/rust/bin
+config:
+ configure-commands:
+ - ../js/src/configure --prefix=%{prefix} --libdir=%{libdir} --disable-jemalloc
--enable-unaligned-private-values AUTOCONF=autoconf %{mozjs_target}
+ build-commands:
+ - make
+ install-commands:
+ - make -j1 DESTDIR="%{install-root}" install
+ - rm %{install-root}%{libdir}/libjs_static.ajs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]