diff --git a/PKGBUILD b/PKGBUILD index 87b051a..b8e33e6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,6 +26,10 @@ prepare() { # C++20 disallows the use of the Point syntax in the constructor sed -i 's/explicit Point(/explicit Point(/' src/clipper2/Clipper2Lib/include/clipper2/clipper.core.h + # abuse PLATPAK IF statement to build with some system libs + sed -i 's/if(FLATPAK)/if(true)/' deps/CMakeLists.txt + # System Freetype has some breaking changes + sed -i 's/find_package(Freetype)/# find_package(Freetype)/' deps/CMakeLists.txt } build() {