mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
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:
committed by
GitHub
parent
1f9606cb0c
commit
d81681ad87
@@ -1,41 +1,30 @@
|
||||
# Adapted from Arch Linux protobuf PKGBUILD at:
|
||||
# https://github.com/archlinux/svntogit-packages/raw/packages/protobuf/trunk/PKGBUILD
|
||||
|
||||
require 'package'
|
||||
require 'buildsystems/cmake'
|
||||
|
||||
class Protobuf < Package
|
||||
class Protobuf < CMake
|
||||
description 'Protocol Buffers - Googles data interchange format'
|
||||
homepage 'https://protobuf.dev'
|
||||
version '21.12'
|
||||
version '32.1'
|
||||
license 'BSD'
|
||||
compatibility 'all'
|
||||
source_url "https://github.com/protocolbuffers/protobuf/archive/v#{version}/protobuf-#{version}.tar.gz"
|
||||
source_sha256 '22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de'
|
||||
source_url 'https://github.com/protocolbuffers/protobuf.git'
|
||||
git_hashtag "v#{version}"
|
||||
binary_compression 'tar.zst'
|
||||
|
||||
binary_sha256({
|
||||
aarch64: '525fa6ba3fe024ceadab14380e4bd9e2b4a7e4c2e486285cf0cc2483a541b581',
|
||||
armv7l: '525fa6ba3fe024ceadab14380e4bd9e2b4a7e4c2e486285cf0cc2483a541b581',
|
||||
i686: '4dedac0a666c3050f7e4944bab9aa2c676a727fd448bbf6ae37cc1494ac13e5c',
|
||||
x86_64: '314c9575d0a48a7a4ccada06404594452ab99183409aaec9e53abd8d1ede0dfe'
|
||||
aarch64: '33613d218365885a7b9fd6498b910cd24559261a59338c315811f9d161b0010b',
|
||||
armv7l: '33613d218365885a7b9fd6498b910cd24559261a59338c315811f9d161b0010b',
|
||||
i686: '6b6e79e0c4e8139a11217692f5c25869a3b0fe0701bea95588ac03fa0ac89802',
|
||||
x86_64: 'f25fae277e4005a617fc89f37054d1afc4a1ed5733d5f02657807d3a62b80bf4'
|
||||
})
|
||||
|
||||
depends_on 'abseil_cpp' # R
|
||||
depends_on 'gcc_lib' # R
|
||||
depends_on 'glibc' # R
|
||||
depends_on 'zlib' # R
|
||||
|
||||
def self.build
|
||||
FileUtils.mkdir('builddir')
|
||||
Dir.chdir('builddir') do
|
||||
system "cmake #{CREW_CMAKE_OPTIONS} \
|
||||
-Dprotobuf_BUILD_SHARED_LIBS=ON \
|
||||
-Dprotobuf_BUILD_TESTS=OFF \
|
||||
../ -G Ninja"
|
||||
end
|
||||
system 'samu -C builddir'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
|
||||
end
|
||||
cmake_options '-Dprotobuf_BUILD_SHARED_LIBS=ON \
|
||||
-Dprotobuf_BUILD_TESTS=OFF'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user