Package Details: sdl2-compat-git r522.44fec4d-1

Git Clone URL: https://aur.archlinux.org/sdl2-compat-git.git (read-only, click to copy)
Package Base: sdl2-compat-git
Description: SDL2 runtime compatibility library using SDL3
Upstream URL: https://github.com/libsdl-org/sdl2-compat
Licenses: MIT
Conflicts: sdl2
Provides: sdl2
Replaces: sdl2
Submitter: DexterHaxxor
Maintainer: DexterHaxxor
Last Packager: DexterHaxxor
Votes: 1
Popularity: 0.57
First Submitted: 2024-03-28 08:49 (UTC)
Last Updated: 2024-03-28 08:49 (UTC)

Dependencies (4)

Required by (1242)

Sources (1)

Latest Comments

HurricanePootis commented on 2024-04-10 03:09 (UTC)

Hello, please disable building the test binaries as they are unnecessary to build

diff --git a/PKGBUILD b/PKGBUILD
index 1029b0f..2ca943d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Jelle van der Waa <jelle@archlinux.org>

 pkgname=sdl2-compat-git
-pkgver=r522.44fec4d
+pkgver=r536.7ca05de
 pkgrel=1
 pkgdesc="SDL2 runtime compatibility library using SDL3"
 url="https://github.com/libsdl-org/sdl2-compat"
@@ -22,7 +22,11 @@ pkgver() {
 }

 build() {
-  cmake -B build -S sdl2-compat -DCMAKE_INSTALL_PREFIX=/usr -GNinja
+  cmake -B build \
+  -S sdl2-compat \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -GNinja \
+  -DSDL2COMPAT_TESTS=OFF
   cmake --build build
 }