diff options
-rw-r--r-- | CMakeLists.txt.patch | 21 | ||||
-rw-r--r-- | PKGBUILD | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/CMakeLists.txt.patch b/CMakeLists.txt.patch new file mode 100644 index 000000000000..dacc9c55884f --- /dev/null +++ b/CMakeLists.txt.patch @@ -0,0 +1,21 @@ +--- CMakeLists.txt 2019-10-09 12:20:58.359078260 +0200 ++++ CMakeLists.txt 2019-10-09 13:30:15.743666144 +0200 +@@ -245,14 +245,16 @@ + find_package(GTK3) + set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH}) # Reset, else the official path isn't used again :/ + if (GTK3_FOUND) +- include_directories(${GTK3_INCLUDE_DIRS}) ++ message("-- GTK3 found") ++ include_directories(${GTK3_INCLUDE_DIRS} /usr/include/harfbuzz/) + else (GTK3_FOUND) + message(FATAL_ERROR "Could not locate GTK.") + endif (GTK3_FOUND) + else() + find_package(GTK2) + if (GTK2_FOUND) +- include_directories(${GTK2_INCLUDE_DIRS}) ++ message("-- GTK2 found") ++ include_directories(${GTK2_INCLUDE_DIRS} /usr/include/harfbuzz/) + else (GTK2_FOUND) + message(FATAL_ERROR "Could not locate GTK.") + endif (GTK2_FOUND) @@ -69,6 +69,7 @@ pkg_name_ver="${pkgname}-${pkgver//_/-}" prepare() { cd "${srcdir}/${pkg_name_ver}" + patch -p0 < "${startdir}/CMakeLists.txt.patch" } |