minor improvements
[buildscripts] / pithosfly
1 #!/bin/bash -l
2
3 set -eE -o pipefail
4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
5
6
7 # pithosfly environment var is set in environment.sh
8
9 if type -t pithos &>/dev/null; then
10 exit 0
11 fi
12
13 # this doesn't update automatically, so
14
15 p -y build-dep pithos
16 # other than pithos, based on failures
17 pi pithos gstreamer1.0-plugins-ugly intltool python3-mutagen
18
19 # from https://github.com/pithos/pithos/wiki/Installing-from-Source
20 pi meson python3-gi python3-gi-cairo \
21 gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
22 gir1.2-secret-1 libgdk-pixbuf2.0-dev libglib2.0-dev gnome-keyring appstream-util libappstream-glib-dev \
23 python3-pylast gir1.2-appindicator3-0.1 gir1.2-keybinder-3.0 gnome-icon-theme-symbolic libxml2-utils gvfs
24
25 cd /a/opt/Pithosfly
26 ./autogen.sh
27 make
28 sudo make install