Merge pull request #273609 from wegank/fluxus-unbreak-2

fluxus: cleanup, unbreak
This commit is contained in:
Weijia Wang 2023-12-12 18:17:40 +01:00 committed by GitHub
commit 4cd52bdfac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1,17 +1,14 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitLab
, alsa-lib
, bzip2
, fftw
, freeglut
, freetype
, glew
, libjack2
, libGL
, libGLU
, libjpeg
, liblo
, libpng
, libsndfile
, libtiff
, ode
@ -19,12 +16,11 @@
, openssl
, racket_7_9
, scons
, zlib
}:
let
racket = racket_7_9;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "fluxus";
version = "0.19";
src = fetchFromGitLab {
@ -53,6 +49,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ scons ];
patches = [ ./fix-build.patch ];
postPatch = ''
substituteInPlace src/Unicode.cpp \
--replace "(byte)" "(unsigned char)"
'';
sconsFlags = [
"RacketPrefix=${racket}"
"RacketInclude=${racket}/include/racket"
@ -72,6 +72,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2;
homepage = "http://www.pawfal.org/fluxus/";
maintainers = [ maintainers.brainrape ];
broken = true;
platforms = platforms.linux;
};
}

View File

@ -31589,7 +31589,7 @@ with pkgs;
flrig = callPackage ../applications/radio/flrig { };
fluxus = callPackage ../applications/graphics/fluxus { stdenv = gcc10StdenvCompat; };
fluxus = callPackage ../applications/graphics/fluxus { };
flwrap = callPackage ../applications/radio/flwrap { };