mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
scripts: create-uninstalled-setup.sh: check for basic build tools and deps
.. before checking out stuff.
This commit is contained in:
parent
826a8d643d
commit
28f041126a
1 changed files with 35 additions and 0 deletions
|
@ -52,6 +52,41 @@ mkdir -p $UNINSTALLED_ROOT/$BRANCH
|
|||
mkdir -p $UNINSTALLED_ROOT/$BRANCH/prefix
|
||||
|
||||
|
||||
echo ""
|
||||
echo "Checking basic build tools and dependencies are installed..."
|
||||
echo ""
|
||||
|
||||
if ! pkg-config --version 2>/dev/null >/dev/null; then
|
||||
DEPS_OK="no"
|
||||
elif ! pkg-config --exists glib-2.0 orc-0.4 2>/dev/null >/dev/null; then
|
||||
DEPS_OK="no"
|
||||
elif ! bison --version 2>/dev/null >/dev/null; then
|
||||
DEPS_OK="no"
|
||||
elif ! flex --version 2>/dev/null >/dev/null; then
|
||||
DEPS_OK="no"
|
||||
else
|
||||
DEPS_OK="yes"
|
||||
fi
|
||||
|
||||
if test "$DEPS_OK" != "yes"; then
|
||||
echo "==========================================================================================="
|
||||
echo ""
|
||||
echo " Some very basic build tools or dependencies are missing."
|
||||
echo ""
|
||||
echo " Please visit"
|
||||
echo ""
|
||||
echo " http://gstreamer.freedesktop.org/wiki/BuildDependenciesDebianUbuntu"
|
||||
echo ""
|
||||
echo " or"
|
||||
echo ""
|
||||
echo " http://gstreamer.freedesktop.org/wiki/Fedora"
|
||||
echo ""
|
||||
echo " for instructions how to install them."
|
||||
echo ""
|
||||
echo "==========================================================================================="
|
||||
fi
|
||||
|
||||
|
||||
cd $UNINSTALLED_ROOT/$BRANCH
|
||||
|
||||
for m in $MODULES
|
||||
|
|
Loading…
Reference in a new issue