From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- libs/sdl2/MAKEPKG | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libs/sdl2/MAKEPKG (limited to 'libs/sdl2/MAKEPKG') diff --git a/libs/sdl2/MAKEPKG b/libs/sdl2/MAKEPKG new file mode 100644 index 0000000..2038e2e --- /dev/null +++ b/libs/sdl2/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Simple DirectMedia Layer 2 +# url: https://www.libsdl.org + +name=sdl2 +version=2.32.10 +release=1 +depends=(wayland wayland-protocols libxkbcommon) +source=(https://github.com/libsdl-org/SDL/releases/download/release-$version/SDL2-$version.tar.gz) +sha256sums=( + "5f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165" +) + +build() { + cmake -S SDL2-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D SDL_WAYLAND=ON \ + -D SDL_WAYLAND_SHARED=ON \ + -D SDL_X11=OFF \ + -D SDL_CLOCK_GETTIME=ON \ + -D SDL_RPATH=OFF + + cmake --build build + DESTDIR=$PKG cmake --install build + + rm -rf $PKG/usr/share/licenses +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh -- cgit v1.3.1