From fde5d5a5d04354db73fca006bbf7f619a2e59cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Aug 2025 16:16:29 +0700 Subject: [PATCH] colobot: for boost-1.89 --- srcpkgs/colobot/patches/boost-1.89.patch | 11 +++++++++++ srcpkgs/colobot/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/colobot/patches/boost-1.89.patch diff --git a/srcpkgs/colobot/patches/boost-1.89.patch b/srcpkgs/colobot/patches/boost-1.89.patch new file mode 100644 index 00000000000..ab4d639db41 --- /dev/null +++ b/srcpkgs/colobot/patches/boost-1.89.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -321,7 +321,7 @@ set(Boost_USE_MULTITHREADED ON) + set(Boost_USE_STATIC_RUNTIME ${USE_STATIC_RUNTIME}) + + set(Boost_ADDITIONALVERSION "1.51" "1.51.0") +-find_package(Boost COMPONENTS system filesystem regex REQUIRED) ++find_package(Boost COMPONENTS filesystem REQUIRED) + + set(GLEW_USE_STATIC_LIBS ${GLEW_STATIC}) + find_package(GLEW REQUIRED) diff --git a/srcpkgs/colobot/template b/srcpkgs/colobot/template index 9839eb7e98d..e757742711f 100644 --- a/srcpkgs/colobot/template +++ b/srcpkgs/colobot/template @@ -2,11 +2,11 @@ pkgname=colobot # needs to be kept in sync with colobot-data (provides game assets) version=0.2.2 -revision=2 +revision=3 build_style=cmake configure_args="-DCOLOBOT_INSTALL_BIN_DIR=/usr/bin -DOpenGL_GL_PREFERENCE=GLVND" hostmakedepends="gettext librsvg-utils perl po4a xmlstarlet" -makedepends="boost-devel-minimal libboost_filesystem libboost_regex libboost_system +makedepends="boost-devel-minimal libboost_filesystem glew-devel libogg-devel libopenal-devel libsndfile-devel libvorbis-devel physfs-devel SDL2-devel SDL2_image-devel SDL2_ttf-devel"