user/grpc: upgrade to ruby 3.1
This commit is contained in:
parent
7b10844708
commit
6eaef023dd
1 changed files with 6 additions and 7 deletions
|
@ -4,11 +4,10 @@
|
||||||
pkgname=grpc
|
pkgname=grpc
|
||||||
# This version is used in gitlab-foss 15.2.2.
|
# This version is used in gitlab-foss 15.2.2.
|
||||||
pkgver=1.42.0
|
pkgver=1.42.0
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="The C based gRPC"
|
pkgdesc="The C based gRPC"
|
||||||
url="https://grpc.io/"
|
url="https://grpc.io/"
|
||||||
# Disabled due to openssl3 not being supported
|
arch="all"
|
||||||
#arch="all"
|
|
||||||
# BSD-3-Clause: third_party/upb, third_party/address_sorting
|
# BSD-3-Clause: third_party/upb, third_party/address_sorting
|
||||||
# MIT: third_party/upb/third_party/utf8_range
|
# MIT: third_party/upb/third_party/utf8_range
|
||||||
license="Apache-2.0 AND BSD-3-Clause AND MIT"
|
license="Apache-2.0 AND BSD-3-Clause AND MIT"
|
||||||
|
@ -25,7 +24,7 @@ _pythondepends="
|
||||||
# XXX: should also depend on ruby-google-protobuf=3.18
|
# XXX: should also depend on ruby-google-protobuf=3.18
|
||||||
_rubydepends="
|
_rubydepends="
|
||||||
$pkgname=$pkgver-r$pkgrel
|
$pkgname=$pkgver-r$pkgrel
|
||||||
ruby2.7-etc
|
ruby-etc
|
||||||
"
|
"
|
||||||
makedepends="
|
makedepends="
|
||||||
abseil-cpp
|
abseil-cpp
|
||||||
|
@ -41,7 +40,7 @@ makedepends="
|
||||||
openssl-dev
|
openssl-dev
|
||||||
protobuf-dev
|
protobuf-dev
|
||||||
re2-dev
|
re2-dev
|
||||||
ruby2.7-dev
|
ruby-dev
|
||||||
samurai
|
samurai
|
||||||
yaml-dev
|
yaml-dev
|
||||||
xxhash-dev
|
xxhash-dev
|
||||||
|
@ -55,7 +54,7 @@ subpackages="
|
||||||
$pkgname-cpp
|
$pkgname-cpp
|
||||||
$pkgname-plugins
|
$pkgname-plugins
|
||||||
$pkgname-doc
|
$pkgname-doc
|
||||||
ruby2.7-grpc:_ruby
|
ruby-grpc:_ruby
|
||||||
"
|
"
|
||||||
_googletest_rev=0e402173c97aea7a00749e825b194bfede4f2e45
|
_googletest_rev=0e402173c97aea7a00749e825b194bfede4f2e45
|
||||||
source="https://github.com/grpc/grpc/archive/v$pkgver/grpc-v$pkgver.tar.gz
|
source="https://github.com/grpc/grpc/archive/v$pkgver/grpc-v$pkgver.tar.gz
|
||||||
|
@ -79,7 +78,7 @@ prepare() {
|
||||||
# Since grpc sets XXH_INCLUDE_ALL wherever it uses xxhash, it is using xxhash
|
# Since grpc sets XXH_INCLUDE_ALL wherever it uses xxhash, it is using xxhash
|
||||||
# as a header-only library. This means we can replace it with the system copy
|
# as a header-only library. This means we can replace it with the system copy
|
||||||
# by doing nothing further; xxhash.h is in the system include path and will be
|
# by doing nothing further; xxhash.h is in the system include path and will be
|
||||||
# found instead, and there are no linker flags to add. See also
|
# found instead, and there are no linker flags to add. See also
|
||||||
# https://github.com/grpc/grpc/issues/25945.
|
# https://github.com/grpc/grpc/issues/25945.
|
||||||
rm -rvf third_party/xxhash/*
|
rm -rvf third_party/xxhash/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue