Merge pull request #145384 from SuperSamus/dolphin

dolphinEmu{Master}: removed unnecesary symlink, rename to dolphin-emu{-beta}

authored by

Thiago Kenji Okada and committed by
GitHub
4a9343eb 6c9ac6fb

+10 -19
+6 -17
pkgs/misc/emulators/dolphin-emu/master.nix
··· 1 - { lib, stdenv, fetchFromGitHub, makeDesktopItem, pkg-config, cmake 1 + { lib, stdenv, fetchFromGitHub, pkg-config, cmake 2 2 , wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext 3 3 , libXrandr, libusb1, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama 4 4 , libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsa-lib ··· 8 8 # - Inputs used for Darwin 9 9 , CoreBluetooth, ForceFeedback, IOKit, OpenGL, libpng, hidapi }: 10 10 11 - let 12 - desktopItem = makeDesktopItem { 13 - name = "dolphin-emu-master"; 14 - exec = "dolphin-emu-master"; 15 - icon = "dolphin-emu"; 16 - comment = "A Wii/GameCube Emulator"; 17 - desktopName = "Dolphin Emulator (master)"; 18 - genericName = "Wii/GameCube Emulator"; 19 - categories = "Game;Emulator;"; 20 - startupNotify = "false"; 21 - }; 22 - in stdenv.mkDerivation rec { 11 + stdenv.mkDerivation rec { 23 12 pname = "dolphin-emu"; 24 13 version = "5.0-15260"; 25 14 ··· 57 46 58 47 qtWrapperArgs = lib.optionals stdenv.isLinux [ 59 48 "--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib" 49 + # https://bugs.dolphin-emu.org/issues/11807 50 + # The .desktop file should already set this, but Dolphin may be launched in other ways 51 + "--set QT_QPA_PLATFORM xcb" 60 52 ]; 61 53 62 54 # - Allow Dolphin to use nix-provided libraries instead of building them ··· 68 60 CMakeLists.txt 69 61 ''; 70 62 71 - postInstall = '' 72 - cp -r ${desktopItem}/share/applications $out/share 73 - ln -sf $out/bin/dolphin-emu $out/bin/dolphin-emu-master 74 - '' + lib.optionalString stdenv.hostPlatform.isLinux '' 63 + postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' 75 64 install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules 76 65 ''; 77 66
+2
pkgs/top-level/aliases.nix
··· 202 202 dnnl = oneDNN; # added 2020-04-22 203 203 docbook5_xsl = docbook_xsl_ns; # added 2018-04-25 204 204 docbook_xml_xslt = docbook_xsl; # added 2018-04-25 205 + dolphinEmu = dolphin-emu; # added 2021-11-10 206 + dolphinEmuMaster = dolphin-emu-beta; # added 2021-11-10 205 207 dotnet-netcore = dotnet-runtime; # added 2021-10-07 206 208 double_conversion = double-conversion; # 2017-11-22 207 209 docker_compose = docker-compose; # 2018-11-10
+2 -2
pkgs/top-level/all-packages.nix
··· 4578 4578 4579 4579 dotnetfx40 = callPackage ../development/libraries/dotnetfx40 { }; 4580 4580 4581 - dolphinEmu = callPackage ../misc/emulators/dolphin-emu { }; 4582 - dolphinEmuMaster = qt5.callPackage ../misc/emulators/dolphin-emu/master.nix { 4581 + dolphin-emu = callPackage ../misc/emulators/dolphin-emu { }; 4582 + dolphin-emu-beta = qt5.callPackage ../misc/emulators/dolphin-emu/master.nix { 4583 4583 inherit (darwin.apple_sdk.frameworks) CoreBluetooth ForceFeedback IOKit OpenGL; 4584 4584 }; 4585 4585