Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mryel00 committed Nov 7, 2023
1 parent e247478 commit 5864c9d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,17 @@ main() {

[[ -n "${BASE_USER}" ]] || BASE_USER="${SUDO_USER}"

welcome_msg

cs_tests_msg

[[ -n "${INSTALL_CS}" ]] || INSTALL_CS="$(shallow_cs_dependencies_check)"

if [[ "$(is_buster)" = "1" && "${INSTALL_CS}" == "1" ]]; then
not_supported_msg
exit 1
fi

welcome_msg

msg "Running apt-get update first ...\n"
if run_apt_update; then
status_msg "Running apt-get update first ..." "0"
Expand Down
4 changes: 4 additions & 0 deletions tools/libs/messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ welcome_msg() {
sleep 1
}

cs_tests_msg() {
msg "\n\tDoing some tests first. Please have patience ...\n"
}

config_msg() {
msg "\nConfig file not found!\n\tUsing defaults ..."
msg "\tThis uses paths located in 'printer_data' of your home folder."
Expand Down
1 change: 1 addition & 0 deletions tools/libs/pkglist-rpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ PKGLIST="git crudini bsdutils findutils v4l-utils curl"
### Ustreamer Dependencies
PKGLIST="${PKGLIST} build-essential libevent-dev libjpeg-dev libbsd-dev"
### Camera-Streamer Dependencies
### If you change something below, also have a look at tools/libs/core.sh->shallow_cs_dependencies_check
PKGLIST="${PKGLIST} cmake libavformat-dev libavutil-dev libavcodec-dev libcamera-dev libcamera-apps-lite"
PKGLIST="${PKGLIST} liblivemedia-dev pkg-config xxd build-essential cmake libssl-dev"

0 comments on commit 5864c9d

Please sign in to comment.