#!/bin/bash

set -e

sudo apt-get update -qq
sudo apt-get install -qq -y flatpak xvfb
sudo apt-get install --reinstall ca-certificates

flatpak remote-add --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y flathub io.github.quodlibet.QuodLibet
flatpak install --user -y "$(flatpak info io.github.quodlibet.QuodLibet --show-sdk)"
