forked from pool/deno
- Add ./rusty_v8-0.106.0.tar.gz. This will be applied with a patch before compilation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=240
This commit is contained in:
committed by
Git OBS Bridge
parent
ba297e4714
commit
dc2e2e669e
@@ -1,4 +1,4 @@
|
|||||||
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
|
diff --git a/v8-0.106.0/build/config/clang/BUILD.gn b/v8-0.106.0/build/config/clang/BUILD.gn
|
||||||
index fcca59b0f..fdf14f306 100644
|
index fcca59b0f..fdf14f306 100644
|
||||||
--- a/build/config/clang/BUILD.gn
|
--- a/build/config/clang/BUILD.gn
|
||||||
+++ b/build/config/clang/BUILD.gn
|
+++ b/build/config/clang/BUILD.gn
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 10 09:31:26 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Add ./rusty_v8-0.106.0.tar.gz. This will be applied with a patch before compilation.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 10 09:23:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
Sun Nov 10 09:23:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
11
deno.spec
11
deno.spec
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%global _lto_cflags %nil
|
%global _lto_cflags %nil
|
||||||
|
%global _v8_version 0.106.0
|
||||||
Name: deno
|
Name: deno
|
||||||
Version: 2.0.6
|
Version: 2.0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -28,7 +29,8 @@ Group: Productivity/Other
|
|||||||
URL: https://github.com/denoland/deno
|
URL: https://github.com/denoland/deno
|
||||||
Source0: %{name}-%{version}.tar.zst
|
Source0: %{name}-%{version}.tar.zst
|
||||||
Source1: vendor.tar.zst
|
Source1: vendor.tar.zst
|
||||||
Source2: compiler-rt-adjust-paths.patch
|
Source2: http://crates.io/api/v1/crates/v8/%{_v8_version}/download#/rusty_v8-%{_v8_version}.tar.gz
|
||||||
|
Patch1: compiler-rt-adjust-paths.patch
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
# needed by `libz-ng-sys` after 1.36.1
|
# needed by `libz-ng-sys` after 1.36.1
|
||||||
@@ -96,11 +98,10 @@ Remote code is fetched and cached on first execution, and only
|
|||||||
updated with the --reload flag.
|
updated with the --reload flag.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -a1 -p1 -n %{name}
|
|
||||||
# Now we patch whatever was vendored
|
# Now we patch whatever was vendored
|
||||||
pushd vendor/v8-0.106.0
|
%autosetup -a1 -a2 -p1 -n %{name}
|
||||||
patch -p1 -s --fuzz=0 --no-backup-if-mismatch -i %{SOURCE2}
|
|
||||||
popd
|
echo -e "\n[patch.crates-io]\nv8 = { path = './v8' }" >> Cargo.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Ensure that the clang version matches. This command came from Archlinux. Thanks.
|
# Ensure that the clang version matches. This command came from Archlinux. Thanks.
|
||||||
|
BIN
rusty_v8-0.106.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
rusty_v8-0.106.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user