From 90d525e0cffeb7498e7b98bedbc9ae67814c06a2 Mon Sep 17 00:00:00 2001 From: Ashvith Shetty Date: Tue, 4 Mar 2025 17:51:38 +0530 Subject: [PATCH] gnu: Add blackbox-terminal. * gnu/packages/gnome-xyz.scm (blackbox-terminal): New variable. Change-Id: I72d1f0b475fd5cdea7fb0087149ac9eba7a8850b Signed-off-by: Liliana Marie Prikler --- gnu/packages/gnome-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 9a61ac1dbabbfae11c72d16631322bbd84774fc4..3ef2d9148a8afc582d797960bdca5576c96f1299 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -66,6 +66,7 @@ #:use-module (gnu packages ibus) #:use-module (gnu packages inkscape) #:use-module (gnu packages image) + #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-science) @@ -1815,3 +1816,47 @@ way they prefer.") (synopsis "Utility library for GNOME apps") (description "@code{libpqmarble} is a utility library for GNOME apps.") (license license:gpl3+))) + +(define-public blackbox-terminal + (package + (name "blackbox-terminal") + (version "0.14.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/raggesilver/blackbox") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0g7n2z0m7jjbn93zvx3ix7ph4mpncwq80cjjc2prp878cksj3g3r")))) + (build-system meson-build-system) + (arguments + (list #:glib-or-gtk? #t + #:configure-flags #~(list "-Dblackbox_is_flatpak=false") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-gtk4-update-icon-cache + (lambda _ + (substitute* "build-aux/meson/postinstall.py" + (("gtk-update-icon-cache") + "true"))))))) + (native-inputs (list pkg-config + vala + python + desktop-file-utils ;for update-desktop-database + (list glib "bin") ;for glib-compile-schemas, etc. + gettext-minimal)) + (inputs (list gtk + vte-with-sixel + json-glib + libpqmarble + libadwaita + pcre2 + libxml2 + libgee + librsvg)) + (home-page "https://gitlab.gnome.org/raggesilver/blackbox/") + (synopsis "Beautiful GTK 4 terminal") + (description + "@code{blackbox-terminal} is an elegant and customizable terminal for GNOME.") + (license license:gpl3+)))