furnace: 0.6pre4-hotfix -> 0.6pre5

This commit is contained in:
OPNA2608 2023-05-25 10:29:18 +02:00
parent 5d04778f2e
commit d200470be8

View file

@ -10,6 +10,7 @@
, fftw , fftw
, fmt_8 , fmt_8
, libsndfile , libsndfile
, libX11
, rtmidi , rtmidi
, SDL2 , SDL2
, zlib , zlib
@ -21,16 +22,23 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "furnace"; pname = "furnace";
version = "0.6pre4-hotfix"; version = "0.6pre5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tildearrow"; owner = "tildearrow";
repo = "furnace"; repo = "furnace";
rev = "v${version}"; rev = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "sha256-lJtV/0GnWN5mSjv2LaPEMnkuThaNeijBMjLGFPOJX4k="; sha256 = "sha256-6KiG7nfQUdPW+EkBW3PPM141kOmolAgrrqhEGH/Azg4=";
}; };
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
# To offer scaling detection on X11, furnace checks if libX11.so is available via dlopen and uses some of its functions
# But it's being linked against a versioned libX11.so.VERSION via SDL, so the unversioned one is not on the rpath
substituteInPlace src/gui/scaling.cpp \
--replace 'libX11.so' '${lib.getLib libX11}/lib/libX11.so'
'';
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
@ -97,6 +105,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Multi-system chiptune tracker compatible with DefleMask modules"; description = "Multi-system chiptune tracker compatible with DefleMask modules";
homepage = "https://github.com/tildearrow/furnace"; homepage = "https://github.com/tildearrow/furnace";
changelog = "https://github.com/tildearrow/furnace/releases/tag/v${version}";
license = with licenses; [ gpl2Plus ]; license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ OPNA2608 ]; maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.all; platforms = platforms.all;