diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-20 20:33:25 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-02-20 21:07:24 +0100 |
| commit | dbbd09fe50c4ee76d0e89961e7981d2182374572 (patch) | |
| tree | 1a3121c3434783a179399f570e8f27e5604d6f79 /gnu/packages | |
| parent | e078654143a096fb790e3b1cef46b576a9abdc2d (diff) | |
gnu: Add gnome-packagekit.
* gnu/packages/package-management.scm (gnome-packagekit): New variable.
Change-Id: I62e4bebaf4e15c223058d8b9e158adfc989f8266
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/package-management.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index de020d582c5..8c629ba7229 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm | |||
| @@ -2396,3 +2396,42 @@ modify their environment during the session with modulefiles. Modules are | |||
| 2396 | used on high-performance clusters to dynamically add and remove paths | 2396 | used on high-performance clusters to dynamically add and remove paths |
| 2397 | to specific versions of applications.") | 2397 | to specific versions of applications.") |
| 2398 | (license license:gpl2+))) | 2398 | (license license:gpl2+))) |
| 2399 | |||
| 2400 | (define-public gnome-packagekit | ||
| 2401 | (package | ||
| 2402 | (name "gnome-packagekit") | ||
| 2403 | (version "43.0") | ||
| 2404 | (source (origin | ||
| 2405 | (method git-fetch) | ||
| 2406 | (uri (git-reference | ||
| 2407 | (url "https://gitlab.gnome.org/GNOME/gnome-packagekit.git") | ||
| 2408 | (commit version))) | ||
| 2409 | (file-name (git-file-name name version)) | ||
| 2410 | (sha256 | ||
| 2411 | (base32 | ||
| 2412 | "1fnspk8wfh3v663qpqq3m1fgp21nskgisidihx41wgcsbzbvp1a5")))) | ||
| 2413 | (build-system meson-build-system) | ||
| 2414 | (arguments | ||
| 2415 | (list #:configure-flags | ||
| 2416 | #~(list "-Dsystemd=false") | ||
| 2417 | #:phases | ||
| 2418 | #~(modify-phases %standard-phases | ||
| 2419 | (add-before 'check 'start-xorg-server | ||
| 2420 | (lambda _ | ||
| 2421 | (system "Xvfb :1 &") | ||
| 2422 | (setenv "DISPLAY" ":1"))) | ||
| 2423 | (add-before 'install 'setenv | ||
| 2424 | (lambda _ | ||
| 2425 | ;; Prevent gtk-update-icon-cache, glib-compile-schemas, | ||
| 2426 | ;; update-desktop-database | ||
| 2427 | ;; (since we are doing it ourselves with a profile hook). | ||
| 2428 | (setenv "DESTDIR" "/")))))) | ||
| 2429 | (native-inputs | ||
| 2430 | (list gnu-gettext pkg-config (list glib "bin") xorg-server-for-tests)) | ||
| 2431 | (inputs | ||
| 2432 | (list glib gtk+ packagekit polkit)) | ||
| 2433 | (synopsis "GNOME frontend for PackageKit") | ||
| 2434 | (description "This package provides a PackageKit frontend for GNOME. | ||
| 2435 | PackageKit is a common unified interface for package managers.") | ||
| 2436 | (home-page "https://gitlab.gnome.org/GNOME/gnome-packagekit") | ||
| 2437 | (license license:gpl2+))) | ||
