breeze-gtk: fix build
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
This commit is contained in:
parent
930b7f8e67
commit
697277d7da
|
@ -6,6 +6,9 @@ mkDerivation {
|
||||||
name = "breeze-gtk";
|
name = "breeze-gtk";
|
||||||
nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ];
|
nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ];
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
patches = [
|
||||||
|
./patches/0001-fix-add-executable-bit.patch
|
||||||
|
];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i cmake/FindGTKEngine.cmake \
|
sed -i cmake/FindGTKEngine.cmake \
|
||||||
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
-e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
From da6a4651f74625f4c7f3c31f1125cfa4e774780b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yaroslav Bolyukin <iam@lach.pw>
|
||||||
|
Date: Mon, 27 Sep 2021 22:45:58 +0300
|
||||||
|
Subject: [PATCH] fix: add executable bit
|
||||||
|
|
||||||
|
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
|
||||||
|
---
|
||||||
|
src/CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||||
|
index 79ff12d..4f3d746 100644
|
||||||
|
--- a/src/CMakeLists.txt
|
||||||
|
+++ b/src/CMakeLists.txt
|
||||||
|
@@ -2,7 +2,7 @@ file(GLOB_RECURSE SCSS_SOURCES "*.scss")
|
||||||
|
file(GLOB CSS_SOURCES "*.css")
|
||||||
|
file(GLOB_RECURSE GTK2_SOURCES "gtk2/*")
|
||||||
|
|
||||||
|
-configure_file(build_theme.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/build_theme.sh @ONLY)
|
||||||
|
+configure_file(build_theme.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/build_theme.sh FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE @ONLY)
|
||||||
|
|
||||||
|
set(SOURCES
|
||||||
|
${SCSS_SOURCES}
|
||||||
|
--
|
||||||
|
2.33.0
|
Loading…
Reference in a new issue