set -e -u
PACKAGES=""
-PACKAGES+=" ant" # Used by jack and aptsigner.
+PACKAGES+=" ant" # Used by apksigner.
PACKAGES+=" asciidoc"
PACKAGES+=" automake"
PACKAGES+=" bison"
PACKAGES+=" git" # Used by the neovim build.
PACKAGES+=" help2man"
PACKAGES+=" intltool" # Used by qalc build.
-PACKAGES+=" libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses.
PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
PACKAGES+=" libtool-bin"
PACKAGES+=" lzip"
PACKAGES+=" python3.6"
-PACKAGES+=" subversion" # Used by the netpbm build.
PACKAGES+=" tar"
PACKAGES+=" unzip"
PACKAGES+=" m4"
-PACKAGES+=" openjdk-8-jdk" # Used for android-sdk.
+PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk.
PACKAGES+=" pkg-config"
-PACKAGES+=" python-docutils" # For rst2man, used by mpv.
+PACKAGES+=" python3-docutils" # For rst2man, used by mpv.
+PACKAGES+=" python3-setuptools" # Needed by at least asciinema.
PACKAGES+=" scons"
PACKAGES+=" texinfo"
PACKAGES+=" xmlto"