aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/protobuf3/protobuf3.SlackBuild14
-rw-r--r--development/protobuf3/protobuf3.info6
2 files changed, 11 insertions, 9 deletions
diff --git a/development/protobuf3/protobuf3.SlackBuild b/development/protobuf3/protobuf3.SlackBuild
index 83a5c11db392..06f0f39b1efc 100644
--- a/development/protobuf3/protobuf3.SlackBuild
+++ b/development/protobuf3/protobuf3.SlackBuild
@@ -99,13 +99,13 @@ cd build
cd ..
# Install the python bindings:
-#cd python
-#cp -a dist/setup.py .
-#LDFLAGS+=" -L$TMP/$SRCNAM-$VERSION/build" \
-#PROTOC="$TMP/$SRCNAM-$VERSION/build/protoc" \
-#python3 -m build --wheel --no-isolation
-#python3 -m installer --destdir "$PKG" dist/*.whl
-#cd ..
+tar xvf $CWD/$SRCNAM-5.$VERSION.tar.gz
+cd $SRCNAM-5.$VERSION
+LDFLAGS+=" -L$TMP/$SRCNAM-$VERSION/build" \
+PROTOC="$TMP/$SRCNAM-$VERSION/build/protoc" \
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
+cd ..
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
diff --git a/development/protobuf3/protobuf3.info b/development/protobuf3/protobuf3.info
index e95b86e0198a..de0411196fbe 100644
--- a/development/protobuf3/protobuf3.info
+++ b/development/protobuf3/protobuf3.info
@@ -1,8 +1,10 @@
PRGNAM="protobuf3"
VERSION="26.0"
HOMEPAGE="https://github.com/google/protobuf"
-DOWNLOAD="https://github.com/google/protobuf/archive/v26.0/protobuf-26.0.tar.gz"
-MD5SUM="44068557aabb2b774a29260740bbccc4"
+DOWNLOAD="https://github.com/google/protobuf/archive/v26.0/protobuf-26.0.tar.gz \
+https://files.pythonhosted.org/packages/ea/ab/ae590cd71f5a50cd9e0979593e217529b532a001e46c2dd0811c8697f4ad/protobuf-5.26.0.tar.gz"
+MD5SUM="44068557aabb2b774a29260740bbccc4 \
+687fb8ffae9977e5f84b3d3325b6dbcf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="abseil-cpp"