Compare commits

...

9 commits

Author SHA1 Message Date
Nicolas Graves
c1822ada4d Merge branch 'steam-client' into 'master'
gnu: steam-client: Update to 1.0.0.83.

See merge request nonguix/nonguix!698
2025-06-24 18:19:36 +00:00
Hilton Chain
554e6e6b43
nongnu: linux-firmware: Update to 20250613.
* nongnu/packages/linux.scm (linux-firmware): Update to 20250613.
2025-06-25 01:11:42 +08:00
Giacomo Leidi
4d8e51fa6f
nongnu: anytype: Update to 0.47.3.
* nongnu/packages/productivity.scm (anytype): Update to 0.47.3.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-06-25 01:11:40 +08:00
Nicolas Graves
07914de637
nongnu: electron: Fix wrapper-plan.
* nongnu/packages/electron.scm (electron-27)[arguments]<#:wrapper-plan>:
Also wrap chrome-sandbox and chrome_crashpad_handler.

Fixes: https://gitlab.com/nonguix/nonguix/-/issues/399
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-06-25 01:09:36 +08:00
Nicolas Graves
5da1544521
nongnu: electron: Use extended wrapper-plan syntax.
* nongnu/packages/electron.scm (electron-27)
[#:wrapper-plan]: Use extended wrapper-plan syntax.
[#:phases]<wrap-where-patchelf-does-not-work>: Replace it with...
<symlink-binary-file>: ...this lighter phase.
[inputs]: Add nss, necessary for the RUNPATH.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-06-25 01:09:36 +08:00
Nicolas Graves
8e65d6358b
nongnu: electron-27: Improve style.
* nongnu/packages/electron.scm (electron-27): Improve style.
  [arguments]: Rewrite using Gexps.
  [inputs, native-inputs]: Remove input labels.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-06-25 01:09:36 +08:00
Nicolas Graves
3df17f84ac
gnu: steam-client: Update to 1.0.0.83.
* nongnu/packages/game-client.scm (steam-client): Update to 1.0.0.83.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-06-25 01:09:35 +08:00
Hilton Chain
c71fffec9d
nongnu: Add mpv-nvidia.
* nongnu/packages/video.scm (mpv-nvidia): New variable.
2025-06-25 00:39:37 +08:00
Nicolas Graves
19d8f2c99f
gnu: steam-client: Update to 1.0.0.83.
* nongnu/packages/game-client.scm (steam-client): Update to 1.0.0.83.
2025-06-21 16:46:45 +02:00
5 changed files with 53 additions and 47 deletions

View file

@ -5,16 +5,19 @@
;;; Copyright © 2024 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2025 Simen Endsjø <contact@simendsjo.me>
;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
(define-module (nongnu packages electron)
#:use-module (nonguix build-system chromium-binary)
#:use-module ((nonguix licenses) :prefix license:)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (ice-9 match)
#:use-module (gnu packages compression)
#:use-module (gnu packages gtk)
#:use-module (gnu packages nss)
#:use-module (gnu packages video))
(define (electron-source version hash)
@ -42,47 +45,39 @@
"0qs5n6m0gj0rknjq5aqrbbpqwh2829a1cl51l6xj79p7aiggb9p3"))
(build-system chromium-binary-build-system)
(arguments
`(#:wrapper-plan
`("electron"
"libffmpeg.so"
"libGLESv2.so"
"libEGL.so")
#:install-plan
`(("." "share/electron/" #:include
("electron"
"chrome-sandbox"
"chrome_100_percent.pak"
"chrome_200_percent.pak"
"chrome_crashpad_handler"
"icudtl.dat"
"resources.pak"
"v8_context_snapshot.bin"
"version"
"libffmpeg.so"
;; electron seems to force-load these from its directory.
"libEGL.so"
"libGLESv2.so"))
("resources" "share/electron/")
("locales" "share/electron/"))
#:phases
(modify-phases %standard-phases
(add-before 'install-wrapper 'wrap-where-patchelf-does-not-work
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/share/electron/electron"))
(wrapper (string-append out "/bin/electron")))
(mkdir-p (dirname wrapper))
(make-wrapper wrapper bin
`("LD_LIBRARY_PATH" ":"
prefix
(,(string-join
(list
(string-append out "/share/electron"))
":")))))
#t)))))
(native-inputs `(("unzip" ,unzip)))
(inputs `(("gdk-pixbuf" ,gdk-pixbuf)
("ffmpeg" ,ffmpeg)))
(list
#:wrapper-plan
#~'(("electron" (("out" "/share/electron")
("nss" "/lib/nss")))
"chrome-sandbox"
"chrome_crashpad_handler")
#:install-plan
#~'(("." "share/electron/" #:include
("electron"
"chrome-sandbox"
"chrome_100_percent.pak"
"chrome_200_percent.pak"
"chrome_crashpad_handler"
"icudtl.dat"
"resources.pak"
"v8_context_snapshot.bin"
"version"
"libffmpeg.so"
;; electron seems to force-load these from its directory.
"libEGL.so"
"libGLESv2.so"))
("resources" "share/electron/")
("locales" "share/electron/"))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'symlink-binary-file
(lambda _
(let ((bin (string-append #$output "/bin")))
(mkdir-p bin)
(symlink (string-append #$output "/share/electron/electron")
(string-append bin "/electron"))))))))
(native-inputs (list unzip))
(inputs (list ffmpeg gdk-pixbuf nss))
(home-page "https://www.electronjs.org/")
(synopsis "Cross platform desktop application shell")
(description "The Electron framework lets you write cross-platform desktop

View file

@ -108,7 +108,7 @@ implementation with gogdl and Amazon Games using Nile.")
(define steam-client
(package
(name "steam-client")
(version "1.0.0.82")
(version "1.0.0.83")
(source
(origin
(method url-fetch)
@ -116,7 +116,7 @@ implementation with gogdl and Amazon Games using Nile.")
version ".tar.gz"))
(sha256
(base32
"0xzwwvvh046mrcqil92lwda3dz8anhx8y2x3bdj2pzbicbfz38mg"))
"10lgmjsada0n2a4h1vgrnwcjcka7vp4igy82f1n99zbyrjq845kr"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(arguments

View file

@ -352,14 +352,14 @@ stable, responsive and smooth desktop experience.")))
(define-public linux-firmware
(package
(name "linux-firmware")
(version "20250509")
(version "20250613")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/kernel/firmware/"
"linux-firmware-" version ".tar.xz"))
(sha256
(base32
"0gkhpl60iw83pa8pq4hf8rrrc8nk8kjychsnrcq838i6y9k0vipj"))))
"1pkz38wi9gljipzs9d2wri97p866vqqan872hwjrvgx8ghrl61yl"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f

View file

@ -32,7 +32,7 @@
(define-public anytype
(package
(name "anytype")
(version "0.46.8")
(version "0.47.3")
(source
(origin
(method url-fetch)
@ -42,7 +42,7 @@
(file-name (string-append "anytype-" version ".deb"))
(sha256
(base32
"1mdjjda1n62i39ggivkm9vzxskrk71l9c181pjz0qgrc12817qli"))))
"1f95mchvjlxqam4qn6ip377hdccny6xa526d7c64micgkfbx6ai3"))))
(build-system chromium-binary-build-system)
(arguments
(list

View file

@ -134,6 +134,17 @@ graphics hardware.")
" This build of intel-media-driver includes nonfree blobs to fully enable the
video decode capabilities of supported Intel GPUs."))))
(define-public mpv-nvidia
(package
(inherit mpv)
(name "mpv-nvidia")
(inputs
(modify-inputs (package-inputs mpv)
(prepend nv-codec-headers)))
(synopsis
"Audio and video player (with hardware acceleration for NVIDIA graphics \
cards)")))
(define-public nv-codec-headers
(package
(name "nv-codec-headers")