forked from pool/rusty_v8
0.44.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/rusty_v8?expand=0&rev=31
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: rusty_v8
|
||||
Version: 0.44.1
|
||||
Version: 0.44.2
|
||||
Release: 0
|
||||
Summary: Build tooling for Deno (do not install or use!)
|
||||
License: MIT
|
||||
@@ -32,8 +32,7 @@ BuildRequires: lld
|
||||
BuildRequires: llvm
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gmodule-2.0)
|
||||
@@ -54,6 +53,13 @@ Chromium, etc.
|
||||
%{cargo_prep}
|
||||
|
||||
%build
|
||||
# workaround to use python3
|
||||
# where "python" is invoked
|
||||
mkdir -p "$(pwd)/bin"
|
||||
ln -sf %{_bindir}/python3 "$(pwd)/bin/python"
|
||||
export PATH="$PATH:$(pwd)/bin"
|
||||
|
||||
|
||||
#https://github.com/denoland/rusty_v8/#build-v8-from-source
|
||||
export V8_FROM_SOURCE=1
|
||||
export CLANG_BASE_PATH=%{_prefix}
|
||||
|
Reference in New Issue
Block a user