guake-guake/scripts/bootstrap-dev-debian.sh
Eli Schwartz c043278a41 setup: replace the last remnant of pbr with setuptools_scm
setuptools_scm is a standard and robust tool for dynamically getting
version numbers from e.g. git; among its features is the ability to
write the results to a python module that the application can then
import from. This removes the overhead of large modules which introspect
the dist-info to get the version, in favor of importing a frozen string.
2021-12-20 19:09:20 +08:00

79 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
RUN=0
MAKE=0
DEV=0
OPT=0
ARGC="$#"
while test $# -gt 0
do
case "$1" in
run)
RUN=1
;;
make)
MAKE=1
;;
dev)
DEV=1
;;
opt)
OPT=1
;;
esac
shift
done
if [[ "$ARGC" == "0" ]]; then
RUN=1;
MAKE=1;
DEV=1;
OPT=0;
fi
if [[ $RUN == "1" ]]; then
echo "Install packages needed for execution"
sudo apt-get install --no-install-recommends -y \
gir1.2-keybinder-3.0 \
gir1.2-notify-0.7 \
gir1.2-vte-2.91 \
gir1.2-wnck-3.0 \
libkeybinder-3.0-0 \
libutempter0 \
python3 \
python3-cairo \
python3-dbus \
python3-gi \
python3-setuptools-scm \
python3-pip \
libgirepository1.0-dev
fi
if [[ $MAKE == "1" ]]; then
echo "Install packages needed for making guake"
sudo apt-get install --no-install-recommends -y \
gettext \
gsettings-desktop-schemas \
make \
pandoc
fi
if [[ $DEV == "1" ]]; then
echo "Install needed development packages"
sudo apt-get install --no-install-recommends -y \
aspell-fr \
colortest \
dconf-editor \
glade \
poedit \
gnome-tweak-tool
fi
if [[ $OPT == "1" ]]; then
echo "Install packages optional for execution"
sudo apt-get install --no-install-recommends -y \
numix-gtk-theme
fi