From bfac1020481b15bd82db714ef24fe2e32f960f86 Mon Sep 17 00:00:00 2001 From: lod Date: Mon, 9 Sep 2024 13:34:34 +0200 Subject: [PATCH] use some system libs --- PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) 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() {