animatch: switch SDL2 -> sdl2-compat, for clarity (theyre aliases)
This commit is contained in:
@@ -21,14 +21,22 @@
|
||||
# enable the allegro SDL backend, and achieve Wayland support via SDL's Wayland support.
|
||||
# TODO: see about upstreaming this to nixpkgs?
|
||||
allegro5 = allegro5.overrideAttrs (upstream: {
|
||||
buildInputs = upstream.buildInputs ++ [
|
||||
SDL2
|
||||
buildInputs = (upstream.buildInputs or []) ++ [
|
||||
sdl2-compat
|
||||
];
|
||||
cmakeFlags = upstream.cmakeFlags ++ [
|
||||
cmakeFlags = (upstream.cmakeFlags or []) ++ [
|
||||
"-DALLEGRO_SDL=on"
|
||||
];
|
||||
|
||||
});
|
||||
};
|
||||
# nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [
|
||||
# makeWrapper
|
||||
# ];
|
||||
# postFixup = (upstream.postFixup or "") + ''
|
||||
# wrapProgram $out/bin/animatch \
|
||||
# --set SDL_VIDEODRIVER wayland
|
||||
# '';
|
||||
|
||||
buildCost = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user