diff options
author | Carles Pagès <page@cubata.homelinux.net> | 2013-02-20 19:30:31 +0100 |
---|---|---|
committer | Evgeny Egorochkin <phreedom@yandex.ru> | 2013-08-10 06:08:18 +0300 |
commit | 5885cf1286fc2cfdf2b24811be872a00d421e183 (patch) | |
tree | 3b2fbe2910868d5f2861f73be498b99514f7baba | |
parent | 4d853ae94fe74437b54eb1146c228c9a55175f61 (diff) | |
download | nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.tar nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.tar.gz nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.tar.bz2 nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.tar.lz nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.tar.xz nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.tar.zst nixlib-5885cf1286fc2cfdf2b24811be872a00d421e183.zip |
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.
-rw-r--r-- | pkgs/games/steam/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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" |