#!/usr/bin/env bash

# omarchy:summary=Install the GNOME development tools: GTK 4 and GLib headers, Devhelp, the demos and the Flathub workbench apps
# omarchy:requires-sudo=true

# Based: the headers, Devhelp and the GTK demos from apt, and Builder,
# Workbench, Cambalache, d-spy, DoorKnocker and Flatseal from Flathub. A
# Mac gets GTK 4 and GLib from brew; the apps have no macOS builds.

set -eo pipefail

echo "Installing the GNOME development tools..."
omarchy-pkg-add libgtk-4-dev brew=gtk4 libglib2.0-dev brew=glib devhelp linux=only gtk-3-examples linux=only \
  gtk-4-examples linux=only cambalache flatpak=ar.xjuan.Cambalache linux=only \
  gnome-builder flatpak=org.gnome.Builder linux=only d-spy flatpak=org.gnome.dspy linux=only \
  workbench flatpak=re.sonny.Workbench linux=only doorknocker flatpak=xyz.tytanium.DoorKnocker linux=only \
  flatseal flatpak=com.github.tchx84.Flatseal linux=only
