Skip to content

Commit

Permalink
Add: Gstreamer plugin for ST30TX
Browse files Browse the repository at this point in the history
Signed-off-by: Kasiewicz, Marek <[email protected]>
  • Loading branch information
Sakoram committed Dec 20, 2024
1 parent 5bc0632 commit 4fc6166
Show file tree
Hide file tree
Showing 4 changed files with 834 additions and 3 deletions.
32 changes: 32 additions & 0 deletions ecosystem/gstreamer_plugin/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash

set -euo pipefail

BUILD_DIR="builddir"
DEBUG=false

# Parse command-line arguments
for arg in "$@"; do
case $arg in
--debug)
DEBUG=true
shift
;;
*)
shift
;;
esac
done

if [ -d "$BUILD_DIR" ]; then
echo "Removing existing build directory..."
rm -rf "$BUILD_DIR" || { echo "Failed to remove existing build directory"; exit 1; }
fi

if [ "$DEBUG" = true ]; then
meson setup --buildtype=debug "$BUILD_DIR"
else
meson setup "$BUILD_DIR"
fi

meson compile -C "$BUILD_DIR"
Loading

0 comments on commit 4fc6166

Please sign in to comment.