Skip to content

Commit

Permalink
updpatch: protobuf 28.0-2
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Sep 13, 2024
1 parent bcaa895 commit cfa45e6
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions protobuf/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git PKGBUILD PKGBUILD
index ea554b3..4455d0f 100644
index 4b32bcf..aa47f0d 100644
--- PKGBUILD
+++ PKGBUILD
@@ -22,7 +22,6 @@ depends=(
Expand All @@ -10,16 +10,7 @@ index ea554b3..4455d0f 100644
'cmake'
'gtest'
'python-build'
@@ -41,7 +40,7 @@ source=(https://github.com/protocolbuffers/protobuf/archive/v$pkgver/$pkgname-$p
https://github.com/protocolbuffers/protobuf/commit/2e62ef1e.patch
$pkgbase-25.3-ruby-disable-LTO.patch) # https://github.com/protocolbuffers/protobuf/issues/11935
sha512sums=('a3a555f17a069dd4aa0d683d3126915077fe4211ae6532a4947fb76a9eeb1ed7d25d29ada8dc372435a08aad1aa14374d88e92ac7c195510f57609efaf9d341d'
- 'f42d9bd702abe2c7fc4dcb07d050376287ac60b0b7e2fde0d7a9e9df24a620866bee5fd7de2e3b216095376de47e1fe7443cca74c9a9e85c1a0bc42e8973a280'
+ '18bc71031bbcbc3810a9985fa670465040f06a6c104ab8079b56bdfc499bb6cec40805a0cefd455031142490a576dc60aa8000523877ac0353b93558e9beabbd'
'1ebdea4e533ee0f71baf1b3fe2623ca723b36a08c6b97475ea5996b10aeb6873cf94d9120596ddd1216bd2f6feb991f8c33078e8104008a5078ace5be5431efd')

_gemname=google-protobuf
@@ -68,10 +67,10 @@ build() {
@@ -70,10 +69,10 @@ build() {
cmake "${cmake_options[@]}"
cmake --build build --verbose

Expand All @@ -33,7 +24,7 @@ index ea554b3..4455d0f 100644
local _gemdir="$(gem env gemdir)"
local _gemver=4.$pkgver

@@ -142,7 +141,7 @@ package_python-protobuf() {
@@ -144,7 +143,7 @@ package_python-protobuf() {
'python'
)

Expand All @@ -42,10 +33,10 @@ index ea554b3..4455d0f 100644
install -vDm 644 $pkgbase-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}

@@ -157,3 +156,6 @@ package_ruby-google-protobuf() {
@@ -159,3 +158,6 @@ package_ruby-google-protobuf() {
install -vDm 644 $pkgbase-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 0644 $pkgbase-$pkgver/ruby/*.md -t "$pkgdir/usr/share/doc/${pkgname}"
}
+
+source+=("$pkgbase-$pkgver-python.tar.gz::https://files.pythonhosted.org/packages/source/${pkgbase::1}/${pkgbase//-/_}/${pkgbase//-/_}-5.$pkgver.tar.gz")
+sha512sums+=('3462518edf957582cbbd8caaa7507970339788ecde8b934b0466976cbe8bfb4aecc8690b9f6d900ea84d3084bce52ec0fd5764de862dc4839d461ef7bde63741')
+sha512sums+=('91f05915ace778ee76a07856049410c48c02a665f6c4665df9ac3e32992a67235a93fb4e19c9f991821652f236b87749c3d79cfabd8c6508fdc17a2ee612cee5')

0 comments on commit cfa45e6

Please sign in to comment.