Add deno + Update deps — deno → 2.5.2,abseil_cpp → 20250814.1,protobuf → 32.1 (#12925)

* Update abseil_cpp

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update protobuf

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Remove rebases from Build and Generate PR workflows.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add deno to package.yml

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add deno binaries.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2025-09-25 13:58:59 -04:00
committed by GitHub
parent 1f9606cb0c
commit d81681ad87
11 changed files with 976 additions and 409 deletions

30
packages/deno.rb Normal file
View File

@@ -0,0 +1,30 @@
# Adapted from Arch Linux deno PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/deno/trunk/PKGBUILD
require 'buildsystems/rust'
class Deno < RUST
description 'A secure runtime for JavaScript and TypeScript'
homepage 'https://deno.land'
version '2.5.2'
license 'MIT'
compatibility 'aarch64 x86_64'
source_url 'https://github.com/denoland/deno.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
x86_64: '0cad3fd862366c2da84a7edff54c6af5bd75b69207f6b293db2dfc1b11341124'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'llvm_dev' => :build
depends_on 'protobuf' => :build
def self.install
FileUtils.install 'target/release/deno', "#{CREW_DEST_PREFIX}/bin/deno", mode: 0o755
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/bash-completion/completions"
system "./target/release/deno completions bash > #{CREW_DEST_PREFIX}/share/bash-completion/completions/deno"
end
end