bottles: 2022.12.14.1 -> 50.2

This commit is contained in:
Martino Fontana 2023-01-16 10:55:04 +01:00
parent 2d38b664b4
commit ece21d5730
2 changed files with 5 additions and 6 deletions

View file

@ -26,15 +26,16 @@
, vkbasalt-cli
, vmtouch
}:
python3Packages.buildPythonApplication rec {
pname = "bottles-unwrapped";
version = "2022.12.14.1";
version = "50.2";
src = fetchFromGitHub {
owner = "bottlesdevs";
repo = "bottles";
rev = version;
sha256 = "sha256-hoWyXCP7/0m8akUGBJyuF2yQcRKR8C7MDBLUdPdtBgE=";
sha256 = "sha256-+r/r3vExnvYQIicKAEmwZ+eRSep6kWte5k7gu9jC67w=";
};
patches = [ ./vulkan_icd.patch ];

View file

@ -52,6 +52,7 @@ let fhsEnv = {
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-ugly
gst_all_1.gst-plugins-bad
gst_all_1.gst-libav
libgphoto2
libjpeg_turbo
libkrb5
@ -91,10 +92,7 @@ let fhsEnv = {
++ extraLibraries pkgs;
profile = ''
# Remove if merged https://github.com/bottlesdevs/Bottles/pull/2415
export BOTTLES_USE_SYSTEM_GSTREAMER=1
# Dirty hack, may be related with https://github.com/NixOS/nixpkgs/issues/148007
export GST_PLUGIN_PATH=${ lib.makeSearchPath "lib/gstreamer-1.0" (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) }
export GST_PLUGIN_PATH=/usr/lib32/gstreamer-1.0:/usr/lib64/gstreamer-1.0
'';
};
in