plasma5Packages.breeze-gtk: drop gtk2

This commit is contained in:
Sandro Jäckel 2023-10-26 01:36:15 +02:00
parent edb8b7994c
commit e222fc5802
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,6 +1,4 @@
{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, sassc, python3, breeze-qt5 }: { mkDerivation, extra-cmake-modules, qtbase, sassc, python3, breeze-qt5 }:
let inherit (lib) getLib; in
mkDerivation { mkDerivation {
pname = "breeze-gtk"; pname = "breeze-gtk";
@ -9,9 +7,5 @@ mkDerivation {
patches = [ patches = [
./patches/0001-fix-add-executable-bit.patch ./patches/0001-fix-add-executable-bit.patch
]; ];
postPatch = ''
sed -i cmake/FindGTKEngine.cmake \
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
'';
cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ]; cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ];
} }