From 005e3f221efa7ea0eeb570661a41ad5c7330849b Mon Sep 17 00:00:00 2001 From: Kreijstal Date: Mon, 30 Dec 2024 03:45:21 +0100 Subject: [PATCH 1/2] Unvendor glfw from raylib --- mingw-w64-raylib/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mingw-w64-raylib/PKGBUILD b/mingw-w64-raylib/PKGBUILD index f0e8f7286931b..d11466ad53219 100644 --- a/mingw-w64-raylib/PKGBUILD +++ b/mingw-w64-raylib/PKGBUILD @@ -4,7 +4,7 @@ _realname=raylib pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=5.5 -pkgrel=1 +pkgrel=2 pkgdesc='Simple and easy-to-use game programming library (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') @@ -15,7 +15,7 @@ msys2_references=( msys2_repository_url='https://github.com/raysan5/raylib/' url='https://www.raylib.com/' license=('spdx:Zlib') -depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs") +depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-glfw") makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" "${MINGW_PACKAGE_PREFIX}-ninja" "${MINGW_PACKAGE_PREFIX}-cc") @@ -36,6 +36,7 @@ build() { -DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \ "${extra_config[@]}" \ -DBUILD_EXAMPLES=OFF \ + -DUSE_EXTERNAL_GLFW=ON \ -DBUILD_SHARED_LIBS=OFF \ -B "build-${MSYSTEM}-static" \ -S "${_realname}-${pkgver}" From c65a5c695970a0c0eb82b7812a38372ddb0d4161 Mon Sep 17 00:00:00 2001 From: Maksim Bondarenkov <119937608+ognevny@users.noreply.github.com> Date: Mon, 30 Dec 2024 07:24:23 +0300 Subject: [PATCH 2/2] raylib: depend on glfw for shared library --- mingw-w64-raylib/PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-raylib/PKGBUILD b/mingw-w64-raylib/PKGBUILD index d11466ad53219..d30be8f4c5d6e 100644 --- a/mingw-w64-raylib/PKGBUILD +++ b/mingw-w64-raylib/PKGBUILD @@ -50,6 +50,7 @@ build() { "${extra_config[@]}" \ -DBUILD_EXAMPLES=OFF \ -DBUILD_SHARED_LIBS=ON \ + -DUSE_EXTERNAL_GLFW=ON \ -B "build-${MSYSTEM}-shared" \ -S "${_realname}-${pkgver}"