mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
gtkclipblock: remove gtk2 support (#551590)
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
cmake,
|
||||
ninja,
|
||||
pkg-config,
|
||||
gtk2,
|
||||
gtk3,
|
||||
gtk4,
|
||||
}:
|
||||
@@ -40,11 +39,12 @@ stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk2
|
||||
gtk3
|
||||
gtk4
|
||||
];
|
||||
|
||||
mesonFlags = [ (lib.mesonEnable "gtk2" false) ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace subprojects/funchook-helper/subprojects/funchook/CMakeLists.txt \
|
||||
--replace "GIT_REPOSITORY https://github.com/gdabah/distorm.git" "SOURCE_DIR ${distorm-src}"
|
||||
|
||||
Reference in New Issue
Block a user