# Maintainer: Joey Yakimowich-Payne <jyapayne@pm.me>
#
# The complete BlueRune desktop: the shell and its session, the portals, clipboard history,
# the login screen, and the apps a new user needs on day one. A meta-package: it installs
# nothing of its own. The BlueRune package repository serves it (`curl -fsSL
# https://bluerune.dev/install | bash`); to build it by hand, build bluerune-git first
# (../PKGBUILD), which provides bluerune, then this, with `makepkg -si` in this directory.
# docs/install.md has the rest.

pkgname=bluerune-desktop
pkgver=2
pkgrel=1
pkgdesc='The complete BlueRune desktop: the BlueRune session, portals, clipboard history, login screen and core apps'
arch=('any')
url='https://git.joeypayne.com/jyapayne/bluerune'
license=('Apache-2.0 OR MIT')
depends=(
  # The shell, with its session, login screen theme and Hyprland config: the release
  # package, or bluerune-git, which provides it.
  'bluerune'
  # The key the BlueRune repository's packages are signed with, kept up to date.
  'bluerune-keyring'
  # Sharing and screenshots for apps (grim takes the portal's screenshots), and the file
  # chooser (dist/portals/bluerune-portals.conf).
  'xdg-desktop-portal-hyprland'
  'xdg-desktop-portal-gtk'
  'grim'
  # Clipboard history in the launcher.
  'cliphist'
  'wl-clipboard'
  # Colour emoji for the launcher's emoji picker, and for apps.
  'noto-fonts-emoji'
  # The login screen, with BlueRune's theme.
  'sddm'
  # BlueRune's own login screen runs on greetd. Installing it changes nothing: SDDM stays the
  # login screen until "BlueRune" is chosen on Settings > Login screen, and SDDM stays
  # installed as the way back.
  'greetd'
  # The core apps (PLAN.md, Phase 9), made the defaults by the welcome window (or
  # `bluerunectl apps defaults`): files, archives, terminal, video and music, text. BlueRune's
  # own calculator, image viewer (the pictures default) and system monitor come with
  # bluerune.
  'dolphin'
  'ark'
  'kitty'
  'mpv'
  # Mousepad: GTK 3, so it takes BlueRune's colours through the GTK pass like the rest; it
  # starts instantly, and it is an editor, not an IDE. Kate would pull in KTextEditor and
  # KDE's framework stack for features a desktop default doesn't need; GNOME Text Editor is
  # libadwaita, which ignores GTK themes.
  'mousepad'
  # Qt apps (Dolphin, Ark) themed without Plasma: the base config picks qt6ct when Plasma's
  # platform theme isn't installed, and archlinux-xdg-menu gives Dolphin's "Open with" its
  # list of apps.
  'qt6ct'
  'archlinux-xdg-menu'
  # The shell's own screen and region recording (the bar's record button, the region
  # selector), which the bar's sharing indicator can stop.
  'wf-recorder'
)
optdepends=(
  "xdg-desktop-portal-kde: Dolphin's file chooser in apps, instead of GTK's (pulls in Plasma's workspace)"
  'ffmpegthumbs: video thumbnails in Dolphin'
  'kdegraphics-thumbnailers: PDF thumbnails in Dolphin'
  'kde-cli-tools: change file type options from Dolphin and Ark'
  '7zip: 7z archives in Ark beyond what libarchive reads, and making them'
  'unrar: RAR archives in Ark'
)
install=bluerune-desktop.install
