mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
aegisub: migrate to wxGTK32
This commit is contained in:
parent
a989aa4619
commit
7d94323083
@ -130,6 +130,12 @@ stdenv.mkDerivation rec {
|
|||||||
./remove-bundled-luajit.patch
|
./remove-bundled-luajit.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# error: unknown type name 'NSUInteger'
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/dialog_colorpicker.cpp \
|
||||||
|
--replace "NSUInteger" "size_t"
|
||||||
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${luajit52}/include";
|
NIX_CFLAGS_COMPILE = "-I${luajit52}/include";
|
||||||
NIX_CFLAGS_LINK = "-L${luajit52}/lib";
|
NIX_CFLAGS_LINK = "-L${luajit52}/lib";
|
||||||
|
|
||||||
@ -153,7 +159,7 @@ stdenv.mkDerivation rec {
|
|||||||
# The Aegisub sources are itself BSD/ISC, but they are linked against GPL'd
|
# The Aegisub sources are itself BSD/ISC, but they are linked against GPL'd
|
||||||
# softwares - so the resulting program will be GPL
|
# softwares - so the resulting program will be GPL
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres wegank ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1140,7 +1140,7 @@ with pkgs;
|
|||||||
aefs = callPackage ../tools/filesystems/aefs { };
|
aefs = callPackage ../tools/filesystems/aefs { };
|
||||||
|
|
||||||
aegisub = callPackage ../applications/video/aegisub ({
|
aegisub = callPackage ../applications/video/aegisub ({
|
||||||
wxGTK = wxGTK31;
|
wxGTK = wxGTK32;
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreText CoreFoundation AppKit Carbon IOKit Cocoa;
|
inherit (darwin.apple_sdk.frameworks) CoreText CoreFoundation AppKit Carbon IOKit Cocoa;
|
||||||
} // (config.aegisub or {}));
|
} // (config.aegisub or {}));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user