#!/bin/bash apt-get -y install libcairo2-dev gir1.2-gtksource-3.0 apt-get -y install python3-dev python3-scipy python3-lmfit python3-matplotlib python3-tables python3-xdg apt-get -y install debhelper dh-sequence-python3 lsb-release DEBRELEASE=$(lsb_release -cs) case $DEBRELEASE in "trixie") echo "Trixie detected" # python3-setuptools needed, python >= 3.12 has no stdlib distutils module apt-get -y install libgirepository-2.0-dev python3-setuptools ;; "bookworm") echo "Bookworm detected" apt-get -y install libgirepository1.0-dev ;; "bullseye") echo "Bullseye detected" apt-get -y install libgirepository1.0-dev ;; *) echo "not implemented" ; exit 1 ;; esac