bad: gs: update README
authorGuillaume Desmottes <guillaume@desmottes.be>
Fri, 1 Oct 2021 12:35:06 +0000 (14:35 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 6 Oct 2021 21:35:08 +0000 (21:35 +0000)
- add one missing dep
- change install path to match monorepo
- fix current dirs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1008>

subprojects/gst-plugins-bad/ext/gs/README.md

index 48fb88c..92e6959 100644 (file)
@@ -6,7 +6,8 @@ sudo apt-get install \
     libcurl3-gnutls-dev \
     libgrpc++-dev \
     libprotobuf-dev \
-    protobuf-compiler-grpc
+    protobuf-compiler-grpc \
+    nlohmann-json3-dev
 ```
 
 # Build the Google Cloud Storage library
@@ -17,36 +18,39 @@ cd crc32c && git checkout -b 1.1.1
 mkdir build && cd build
 cmake .. \
     -GNinja \
-    -DCMAKE_INSTALL_PREFIX:PATH=~/dev/gst-build/prefix \
+    -DCMAKE_INSTALL_PREFIX:PATH=~/dev/gstreamer/prefix \
     -DCMAKE_INSTALL_LIBDIR:PATH=lib \
     -DBUILD_SHARED_LIBS=YES \
     -DCRC32C_USE_GLOG=NO \
     -DCRC32C_BUILD_TESTS=NO \
     -DCRC32C_BUILD_BENCHMARKS=NO
 ninja && ninja install
+cd ../..
 
 git clone https://github.com/abseil/abseil-cpp.git
-git checkout master
+cd abseil-cpp && git checkout master
 mkdir build && cd build
 cmake .. \
     -GNinja \
     -DBUILD_TESTING=NO \
-    -DCMAKE_INSTALL_PREFIX:PATH=~/dev/gst-build/prefix \
+    -DCMAKE_INSTALL_PREFIX:PATH=~/dev/gstreamer/prefix \
     -DCMAKE_INSTALL_LIBDIR:PATH=lib \
     -DBUILD_SHARED_LIBS=YES
 ninja && ninja install
+cd ../..
 
 git clone https://github.com/googleapis/google-cloud-cpp.git
-git checkout -b v1.25.0
+cd  google-cloud-cpp && git checkout -b v1.31.1
 mkdir build && cd build
 cmake .. \
     -GNinja \
-    -DCMAKE_INSTALL_PREFIX:PATH=~/dev/gst-build/prefix \
+    -DCMAKE_INSTALL_PREFIX:PATH=~/dev/gstreamer/prefix \
     -DCMAKE_INSTALL_LIBDIR:PATH=lib \
     -DBUILD_SHARED_LIBS=YES \
     -DBUILD_TESTING=NO \
     -DGOOGLE_CLOUD_CPP_ENABLE=storage
 ninja && ninja install
+cd ../..
 ```
 
 # Running the gs elements locally