diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-24 15:25:36 +0000 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-10-02 10:54:15 +0000 |
commit | 751e73dea1efe6631da65dcbd025b0dc4d17ffd7 (patch) | |
tree | 0ff32ce7edbad8e9e47d806ab03a9da8ff24e4c5 /gnu/packages/gnome.scm | |
parent | 1e02955ea4ff2d0d2d449142e6dfeba836eb5ca0 (diff) | |
download | guix-751e73dea1efe6631da65dcbd025b0dc4d17ffd7.tar.gz |
gnu: Add libadwaita.
* gnu/packages/gnome.scm (libadwaita): New variable.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r-- | gnu/packages/gnome.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index dc7f9f6961..800ac415de 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12495,3 +12495,46 @@ world.") (description "OCRFeeder is a complete Optical Character Recognition and Document Analysis and Recognition program.") (license license:gpl3+))) + +(define-public libadwaita + (let ((commit "8d66b987a19979d9d7b85dacc6bad5ce0c8743fe") + (revision "1")) + (package + (name "libadwaita") + (version (git-version "0.0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/GNOME/libadwaita.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0i3wav6jsyi4w4i2r1rad769m5y5s9djj4zqb7dfyh0bad24ba3q")))) + (build-system meson-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1")))))) + (native-inputs + `(("sassc" ,sassc) + ("glib:bin" ,glib "bin") + ("gtk-doc" ,gtk-doc/stable) + ("pkg-config" ,pkg-config) + ("vala" ,vala) + ("xvfb" ,xorg-server-for-tests))) + (inputs + `(("gtk" ,gtk) + ("gobject-introspection" ,gobject-introspection) + ("libportal" ,libportal))) + (home-page "https://gnome.pages.gitlab.gnome.org/libadwaita/") + (synopsis "Building blocks for GNOME applications") + (description + "@code(libadwaita) offers widgets and objects to build GNOME +applications scaling from desktop workstations to mobile phones. It is the +successor of @code{libhandy} for GTK4.") + (license license:lgpl2.1+)))) |