schismtracker: 20220506 -> 20230906
Since the last version bump, schismtracker has migrated from SDL1 to SDL2. This is a change that improves audio options, video output quality, and allows mouse/keyboard capture under wayland. There's also various other fixes and improvements listed under https://github.com/schismtracker/schismtracker/releases , and an out-of-bounds memory access was fixed in some common rendering code that isn't mentioned in the release notes
This commit is contained in:
parent
a1635b3821
commit
cfaf1e6807
2 changed files with 17 additions and 5 deletions
|
@ -4,18 +4,20 @@
|
|||
, autoreconfHook
|
||||
, alsa-lib
|
||||
, python3
|
||||
, SDL
|
||||
, SDL2
|
||||
, libXext
|
||||
, Cocoa
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "schismtracker";
|
||||
version = "20220506";
|
||||
version = "20230906";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-fK0FBn9e7l1Y/A7taFlaoas6ZPREFhEmskVBqjda6q0=";
|
||||
sha256 = "sha256-eW1sqfcAR3lutSyQKj7j1elkFTa8jfZqgrJYYAzMlzo=";
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-dependency-tracking" ]
|
||||
|
@ -23,10 +25,18 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ autoreconfHook python3 ];
|
||||
|
||||
buildInputs = [ SDL ] ++ lib.optional stdenv.isLinux alsa-lib;
|
||||
buildInputs = [ SDL2 ]
|
||||
++ lib.optionals stdenv.isLinux [ alsa-lib libXext ]
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Our Darwin SDL2 doesn't have a SDL2main to link against
|
||||
preConfigure = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure.ac \
|
||||
--replace '-lSDL2main' '-lSDL2'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Music tracker application, free reimplementation of Impulse Tracker";
|
||||
homepage = "http://schismtracker.org/";
|
||||
|
|
|
@ -30726,7 +30726,9 @@ with pkgs;
|
|||
|
||||
ptcollab = libsForQt5.callPackage ../applications/audio/ptcollab { };
|
||||
|
||||
schismtracker = callPackage ../applications/audio/schismtracker { };
|
||||
schismtracker = callPackage ../applications/audio/schismtracker {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
jnetmap = callPackage ../applications/networking/jnetmap { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue