From 5885cf1286fc2cfdf2b24811be872a00d421e183 Mon Sep 17 00:00:00 2001 From: Carles Pagès Date: Wed, 20 Feb 2013 19:30:31 +0100 Subject: steam: add flashplayer plugin support. The videos work, but there is a problem with sound: ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /nix/store/9z51hr9l19vdhgmqd60jwwrg6ny5md2d-alsa-plugins-1.0.26/lib/alsa-lib/libasound_module_pcm_pulse.so It tries to open a 64bit plugin, which obviously fails. I think this depends on /etc/asound.conf, but I'm not sure how to fix it. Regardless of the problem, in one computer I tried the sound works but other apps cannot output sound. In another, the sound doesn't work and other apps continue working as normal. --- pkgs/games/steam/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/games') diff --git a/pkgs/games/steam/default.nix b/pkgs/games/steam/default.nix index 122d301e5ba5..0bb73d5f6c91 100644 --- a/pkgs/games/steam/default.nix +++ b/pkgs/games/steam/default.nix @@ -2,7 +2,7 @@ , libselinux, libXrandr, pango, freetype, fontconfig, glib, gtk , gdk_pixbuf, cairo, libXi, alsaLib, libXrender, nss, nspr, zlib , dbus, libpng12, libXfixes, cups, libgcrypt, openal, pulseaudio -, libxcb, libXau, libXdmcp +, libxcb, libXau, libXdmcp, flashplayer , SDL # World of Goo , libvorbis # Osmos , curl, mesa # Superbrothers: S&S EP @@ -82,6 +82,8 @@ stdenv.mkDerivation rec { export LD_LIBRARY_PATH="\$STEAMBIN32LINK:\$LD_LIBRARY_PATH:${mesa}/lib" export SDL_VIDEO_X11_DGAMOUSE=0 cd "\$STEAMROOT" + FLASHLINK="\$STEAMCONFIG/bin32/plugins" + rm -f "\$FLASHLINK" && ln -s "${flashplayer}/lib/mozilla/plugins" "\$FLASHLINK" LDSO="\$STEAMBIN32LINK/ld.so" cp ${glibc215}/lib/ld-linux.so.2 "\$LDSO" chmod u+w "\$LDSO" -- cgit 1.4.1