caribou: drop gtk2 module

This commit is contained in:
夜坂雅
2026-07-24 23:12:39 +08:00
parent fd10d5017a
commit 0850c0b3ac
+2 -2
View File
@@ -13,7 +13,6 @@
libxml2,
libxklavier,
libxtst,
gtk2,
intltool,
libxslt,
at-spi2-core,
@@ -82,7 +81,6 @@ stdenv.mkDerivation (finalAttrs: {
pythonEnv
python3.pkgs.pygobject3
libxtst
gtk2
];
propagatedBuildInputs = [
@@ -90,6 +88,8 @@ stdenv.mkDerivation (finalAttrs: {
libxklavier
];
configureFlags = [ "--enable-gtk2-module=no" ];
postPatch = ''
patchShebangs .
substituteInPlace libcaribou/Makefile.am --replace "--shared-library=libcaribou.so.0" "--shared-library=$out/lib/libcaribou.so.0"