[gnome-build-meta/ptomato/add-mozjs68] Add mozjs68



commit 3eeb84055af4d5291c2c343f273c3657cbf6f84f
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  | 27 +++++++++++++++++++++++++++
 2 files changed, 28 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..e49a1fff
--- /dev/null
+++ b/elements/sdk/mozjs68.bst
@@ -0,0 +1,27 @@
+kind: manual
+sources:
+- kind: tar
+  url: gnome_download:teams/releng/tarballs-needing-help/mozjs/mozjs-68.4.2.tar.bz2
+build-depends:
+- 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
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+variables:
+  mozjs_target: ''
+  (?):
+  - arch == "i686":
+      mozjs_target: --host=i686-unknown-linux-gnu
+  - arch == "arm":
+      mozjs_target: --host=arm-unknown-linux-gnueabi
+  command-subdir: _build
+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]