[arch-commits] Commit in grpc/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Thu Sep 26 12:48:28 UTC 2019


    Date: Thursday, September 26, 2019 @ 12:48:27
  Author: mtorromeo
Revision: 511836

upgpkg: grpc 1.24.0-1

Modified:
  grpc/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-26 12:43:35 UTC (rev 511835)
+++ PKGBUILD	2019-09-26 12:48:27 UTC (rev 511836)
@@ -4,8 +4,9 @@
 
 pkgbase='grpc'
 pkgname=('grpc' 'python-grpcio' 'php-grpc' 'grpc-cli')
-pkgver=1.23.0
+pkgver=1.24.0
 _gtestver=1.8.1
+_upbver=931bbecbd3230ae7f22efa5d203639facc47f719
 pkgrel=1
 pkgdesc="High performance, open source, general RPC framework that puts mobile and HTTP/2 first."
 arch=('x86_64')
@@ -15,9 +16,11 @@
              'cython')
 source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
         "https://github.com/google/googletest/archive/release-$_gtestver/googletest-$_gtestver.tar.gz"
+        "https://github.com/protocolbuffers/upb/archive/$_upbver/upb-$_upbver.tar.gz"
         "makefile.patch")
-sha256sums=('f56ced18740895b943418fa29575a65cc2396ccfa3159fa40d318ef5f59471f9'
+sha256sums=('03a22a2fbfec8ccc44ff2e8061c312c9b4a0d33046b6d0c84c8eca5c56569387'
             '9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c'
+            '95150db57b51b65f3422c38953956e0f786945d842d76f8ab685fbcd93ab5caa'
             'f292cb387f0cf7567e6e8004a6dd57bf0375abbaa8968dcd97cbd7e72409670f')
 
 prepare() {
@@ -29,10 +32,15 @@
 
   ln -sf "$srcdir/googletest-release-$_gtestver/"{googlemock,googletest} \
     third_party/googletest
+
+  rm -rf third_party/upb
+  ln -s "$srcdir/upb-$_upbver" third_party/upb
 }
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  export CFLAGS="$CFLAGS -Wno-unused-parameter"
+  export CXXFLAGS="$CXXFLAGS -Wno-unused-parameter"
 
   make prefix=/usr
   make prefix=/usr grpc_cli


More information about the arch-commits mailing list