[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59105] [PATCH 2/3] gnu: Add xapp
From: |
florhizome |
Subject: |
[bug#59105] [PATCH 2/3] gnu: Add xapp |
Date: |
Sun, 13 Nov 2022 19:21:16 +0000 |
From: florhizome <florhizome@posteo.net>
* gnu/packages/cinnamon.scm (xapp): New variable.
---
gnu/packages/cinnamon.scm | 60 +++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm
index 0087a41839..8af2075596 100644
--- a/gnu/packages/cinnamon.scm
+++ b/gnu/packages/cinnamon.scm
@@ -83,3 +83,63 @@ (define-public cinnamon-desktop
as well as some desktop-wide documents.")
(license (list license:gpl2+ license:lgpl2.0+
license:expat)))) ;display-name.c , edid-parse.c
+
+(define-public xapp
+ (package
+ (name "xapp")
+ (version "2.2.15")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/linuxmint/xapp")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rjlrbaf4c02viwbp1vxhh4nsv9zbvlsmrvry3af9grz0rfv3xsz"))))
+ (build-system meson-build-system)
+ (arguments
+ (list #:glib-or-gtk? #t
+ #:configure-flags
+ #~(list (string-append "-Dpy-overrides-dir="
+ #$(this-package-input "python")
+ "/lib/python3.9/site-packages/gi/overrides"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'fix-build
+ (lambda _
+ (substitute*
+ "./libxapp/meson.build"
+ (("gtk3_dep\\.get_pkgconfig_variable\\('libdir'\\)")
+ (string-append "'" #$output "/lib'")))
+ (substitute*
+ "./pygobject/meson.build"
+ (("install_dir: override_dir,")
+ (string-append
+ "install_dir: '" #$output
+ "/lib/python3.9/site-packages/gi/overrides',")))
+ #t)))))
+ (inputs
+ (list atk
+ glib
+ gtk+
+ gnome-menus
+ libdbusmenu
+ libgnomekbd
+ python
+ python-pygobject))
+ (native-inputs
+ (list gettext-minimal
+ (list glib "bin")
+ gobject-introspection
+ libxml2
+ pkg-config
+ python
+ vala))
+ (propagated-inputs (list libgnomekbd))
+ (home-page "https://github.com/linuxmint/xapp")
+ (synopsis "Libraries and common resources of the Mint project")
+ (description "This project gathers the components which are common to the
+ projects of the Linux Mint project.")
+ (license license:expat)))
+
--
2.38.1