summaryrefslogtreecommitdiff
path: root/mingw-w64-raylib-static
diff options
context:
space:
mode:
Diffstat (limited to 'mingw-w64-raylib-static')
-rw-r--r--mingw-w64-raylib-static/.SRCINFO20
-rw-r--r--mingw-w64-raylib-static/PKGBUILD59
-rw-r--r--mingw-w64-raylib-static/raylib_glfw.patch12
3 files changed, 0 insertions, 91 deletions
diff --git a/mingw-w64-raylib-static/.SRCINFO b/mingw-w64-raylib-static/.SRCINFO
deleted file mode 100644
index 74d9f6a..0000000
--- a/mingw-w64-raylib-static/.SRCINFO
+++ /dev/null
@@ -1,20 +0,0 @@
-pkgbase = mingw-w64-raylib-static
- pkgdesc = Simple and easy to use game programming library (mingw-w64)
- pkgver = 4.2.0
- pkgrel = 1
- url = https://www.raylib.com
- arch = any
- license = ZLIB
- makedepends = mingw-w64-cmake
- depends = mingw-w64-crt
- provides = mingw-w64-raylib
- conflicts = mingw-w64-raylib
- options = !strip
- options = !buildflags
- options = staticlibs
- source = raylib_4.2.0.tar.gz::https://github.com/raysan5/raylib/archive/refs/tags/4.2.0.tar.gz
- source = raylib_glfw.patch
- md5sums = 8b63a4d4a1e4356fc332fa16eb85d87e
- md5sums = a44c1130eac923910f3047696c9a7363
-
-pkgname = mingw-w64-raylib-static
diff --git a/mingw-w64-raylib-static/PKGBUILD b/mingw-w64-raylib-static/PKGBUILD
deleted file mode 100644
index 365b196..0000000
--- a/mingw-w64-raylib-static/PKGBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-_pkgname=mingw-w64-raylib
-pkgname=mingw-w64-raylib-static
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="Simple and easy to use game programming library (mingw-w64)"
-arch=(any)
-url="https://www.raylib.com"
-license=(ZLIB)
-# Use internal GLFW for now, since the bundled GLFW is newer
-#depends=(mingw-w64-crt mingw-w64-glfw)
-depends=(mingw-w64-crt)
-makedepends=(mingw-w64-cmake)
-provides=($_pkgname)
-conflicts=($_pkgname)
-options=(!strip !buildflags staticlibs)
-install=
-source=(
- "raylib_${pkgver}.tar.gz::https://github.com/raysan5/raylib/archive/refs/tags/${pkgver}.tar.gz"
- 'raylib_glfw.patch'
-)
-noextract=()
-md5sums=(
- 8b63a4d4a1e4356fc332fa16eb85d87e
- a44c1130eac923910f3047696c9a7363
-)
-
-_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-
-prepare() {
- cd "$srcdir/raylib-${pkgver}"
- patch -p1 < "$srcdir/raylib_glfw.patch"
-}
-
-build() {
- for _arch in ${_architectures}; do
- mkdir -p "$srcdir/build_${_arch}"
- pushd "$srcdir/build_${_arch}"
- "${_arch}-cmake" "$srcdir/raylib-${pkgver}" \
- -Wno-dev \
- -D CMAKE_BUILD_TYPE=Release \
- -D CMAKE_C_FLAGS="$CFLAGS -w" \
- -D USE_EXTERNAL_GLFW=OFF \
- -D BUILD_EXAMPLES=OFF \
- -D BUILD_GAMES=OFF \
- -D SHARED=ON \
- -D STATIC=OFF
- make -j
- popd
- done
-}
-
-package() {
- for _arch in ${_architectures}; do
- pushd "$srcdir/build_${_arch}"
- DESTDIR="$pkgdir" make install
- ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
- popd
- done
-}
diff --git a/mingw-w64-raylib-static/raylib_glfw.patch b/mingw-w64-raylib-static/raylib_glfw.patch
deleted file mode 100644
index 8f3e28b..0000000
--- a/mingw-w64-raylib-static/raylib_glfw.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Fixes issues with name conflicts building with external glfw
---- a/src/rcore.c
-+++ b/src/rcore.c
-@@ -214,7 +214,7 @@
-
- // Support retrieving native window handlers
- #if defined(_WIN32)
-- #define GLFW_EXPOSE_NATIVE_WIN32
-+// #define GLFW_EXPOSE_NATIVE_WIN32
- #include "GLFW/glfw3native.h" // WARNING: It requires customization to avoid windows.h inclusion!
-
- #if defined(SUPPORT_WINMM_HIGHRES_TIMER) && !defined(SUPPORT_BUSY_WAIT_LOOP)