Commit graph

23 commits

Author SHA1 Message Date
ison
2978fb94bf
nongnu: steam: Improve pulseaudio startup
* nongnu/packages/steam-client.scm (make-container-wrapper): Use full path to
pulseaudio and increase exit-idle-time.
Use invoke instead of system.
2021-03-08 15:50:29 -07:00
pineapples
a31cd4a5ec
nongnu: steam: Audio and D-Bus fixes.
* nongnu/packages/steam-client.scm (make-container-wrapper):
Remove the UID variable in favor of XDG_RUNTIME_DIR for dbus and pulse sockets.
Preserve the DBUS_SESSION_BUS_ADDRESS environment variable.

Signed-off-by: ison <ison@airmail.cc>
2021-03-05 11:40:43 -07:00
ison
1404b00a49
nongnu: steam: Fix for new installs.
* nongnu/packages/steam-client.scm (steam-client)[arguments]: Modify steam.sh
and run.sh in steam runtime to prefer LD_LIBRARY_PATH.
2021-03-04 12:59:09 -07:00
ison
9e2686872f
nongnu: steam: Use LD_LIBRARY_PATH instead of glibc-for-fhs.
* nongnu/packages/steam-client.scm (steam): Use wrap-program.
(glibc-for-fhs, fhs-ld.so.conf, ld.so.conf->ld.so.cache): Remove.
(make-internal-script): Remove references to ld.so.conf and ld.so.cache

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-02-09 23:13:41 +01:00
ison
2af317689e
nongnu: steam: Fix desktop file.
* nongnu/packages/steam-client.scm (steam-client): Run steam container instead
of steam client directly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-11-24 22:58:41 +01:00
ison
8581fb999d
nongnu: steam: Update comment.
* nongnu/packages/steam-client.scm (ld.so.conf->ld.so.cache): Fix ld-conf
  variable name in comment.
2020-10-31 11:07:05 +01:00
Oleg Pykhalov
ee08c44091
nongnu: steam: Preserve DRI_PRIME environment variable.
* nongnu/packages/steam-client.scm
(make-container-wrapper): Preserve DRI_PRIME environment variable.
2020-10-18 19:39:09 +02:00
ison
3f4febd80b
nongnu: steam: Add ldconfig comment.
* nongnu/packages/steam-client.scm: Add comment explaining why ldconfig must be
  re-enabled in glibc.
2020-10-12 15:22:48 +02:00
ison
bfe94824a7
nongnu: steam: Audio and Vulkan fixes.
* nongnu/packages/steam-client.scm: Use pulseaudio and nonguix utils modules.
  (steam-gameruntime-libs): Add pulseaudio.
  (nonguix-container->package): Add alsa-config to inputs.
  (make-container-internal): Add alsa-config to args and inputs.
  (make-internal-script): Add alsa-config to args and symlinks, symlink
  32-bit Vulkan ICD files.
2020-09-23 10:54:31 +02:00
ison
faaabf1283
nongnu: steam: Fix desktop icon and python dependency.
* nongnu/packages/steam-client.scm (nonguix-container): Add link-files field.
  (nongnu-container->package): Symlink files in container link-files field.
  (steam)[link-files]: Add desktop file.
  (steam-gameruntime-libs): Add python.
2020-09-17 08:10:31 +02:00
ison
a12f42e678
nongnu: steam: Reduce dependencies.
* nongnu/packages/steam-client.scm (steam-client-libs)
  (steam-gameruntime-libs, steam): Reduce dependencies to a minimal set.
  (make-internal-script): Remove pulseaudio symlink.
2020-09-16 11:11:40 +02:00
ison
25ace81660
nongnu: steam: Clean up.
* nongnu/packages/steam-client.scm: Add comment to top explaining container structure.
  (ld.so.conf->ld.so.cache): Replaces names with _.
  (nonguix-container->package): Remove container-name, union64, and union32 from let bindings, add newlines to inputs, fix args, and add symlinks for internal-script and manifest.
  (make-container-manifest): Improve document string.
  (make-container-internal)[synopsis, description]: Fix typos.
2020-09-15 13:37:52 +02:00
ison
eee0e2ee06
nongnu: steam: Update document strings.
* nongnu/packages/steam-client.scm: (fhs-ld.so.conf, ld.so.conf->ld.so.cache)
  (nonguix-container->package, make-container-wrapper, make-container-manifest)
  (make-container-internal, make-internal-script): Update document strings.
2020-09-15 13:37:52 +02:00
ison
edb7fc2b5c
nongnu: steam: Fix fhs-internal version
* nongnu/packages/steam-client.scm (make-container-internal): Inherit version.
2020-09-15 13:37:52 +02:00
ison
d4e9fe8c3b
nongnu: steam: Preserve steam runtime vars.
* nongnu/packages/steam-client.scm (make-container-wrapper): Add runtime
  vars to preserved-env.
2020-09-15 13:37:52 +02:00
ison
93c656566b
nongnu: steam: Use guile instead of bash for scripts.
* nongnu/packages/steam-client.scm: Use module guix records.
  (<nonguix-container>): New record type.
  (glibc-for-fhs-32, steam-libs-32, steam-libs-64): Removed.
  (packages->ld.so.conf): Rename to fhs-ld.so.conf and use static paths.
  (steam): Rename to steam-client, remove wrappers and inputs, and
  replace with new definition for steam.
  (fhs-min-libs): New alist.
  (steam-client-libs): Add bash and coreutils, remove glibc and glibc-32.
  (steam-gameruntime-libs): Add font-dejavu and font-liberation.
  (fhs-union, nonguix-container->package, make-container-wrapper)
  (make-container-manifest, make-container-internal)
  (make-internal-script): New functions.
2020-09-15 13:37:52 +02:00
ison
c54a6dd38e
nongnu: steam: Add controller support.
* nongnu/packages/steam-client.scm (steam)[arguments]: Expose paths /dev/input
  and /sys/class/input in the guix environment command.
2020-09-12 12:34:41 +02:00
ison
4339e68cfb
nongnu: steam: Use manifest for propagated inputs.
* nongnu/packages/steam-client.scm (steam)[propagated-inputs]: Remove.
  [arguments]: Add former propagated-inputs to manifest.scm and fix
  quoting in store-item->manifest-entry output.
2020-09-08 08:05:06 +02:00
ison
e098cd4277
nongnu: steam: Fix vulkan.
* nongnu/packages/steam-client.scm (steam)[arguments]: Symlink mesa
  vulkan files to /usr/share/vulkan.
2020-09-07 09:50:02 +02:00
ison
5338484a05
nongnu: steam: Improve package unions.
* nongnu/packages/steam-client.scm (union, package-output->package)
  (inputs->packages): Functions removed.
  (steam-client-libs): Specify outputs without package-output->package.
  (steam-libs-64, steam-libs-32): Build without inputs->packages.
2020-09-07 09:48:50 +02:00
ison
f52fe58c5c
nongnu: steam: Use format for scheme string.
* nongnu/packages/steam-client.scm (steam)[arguments]: Use format to
  print manifest.
2020-09-05 09:21:40 +02:00
ison
a7a126daff
nongnu: steam: Fix Desktop file and clean manifest.
nongnu/packages/steam-client.scm (steam)[steam.desktop]: Fix Exec typo.
[manifest]: Rename to manifest.scm, add newlines and comment.
2020-09-04 08:47:18 +02:00
ison
5d46ca5f63
nongnu: Add steam.
*  nongnu/packages/steam-client.scm: New file.
2020-09-03 09:18:54 +02:00