summaryrefslogtreecommitdiff
path: root/libs/sdl2
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sdl2')
-rw-r--r--libs/sdl2/.footprint110
-rw-r--r--libs/sdl2/.signature6
-rw-r--r--libs/sdl2/MAKEPKG36
3 files changed, 152 insertions, 0 deletions
diff --git a/libs/sdl2/.footprint b/libs/sdl2/.footprint
new file mode 100644
index 0000000..2cddb03
--- /dev/null
+++ b/libs/sdl2/.footprint
@@ -0,0 +1,110 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/sdl2-config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/SDL2/
+-rw-r--r-- root/root usr/include/SDL2/SDL.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_assert.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_atomic.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_audio.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_bits.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_blendmode.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_clipboard.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_config.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_copying.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_cpuinfo.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_egl.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_endian.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_error.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_events.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_filesystem.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_gamecontroller.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_gesture.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_guid.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_haptic.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_hidapi.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_hints.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_joystick.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_keyboard.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_keycode.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_loadso.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_locale.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_log.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_main.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_messagebox.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_metal.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_misc.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_mouse.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_mutex.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_name.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengl.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengl_glext.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengles.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengles2.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengles2_gl2.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengles2_gl2ext.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengles2_gl2platform.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_opengles2_khrplatform.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_pixels.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_platform.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_power.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_quit.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_rect.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_render.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_revision.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_rwops.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_scancode.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_sensor.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_shape.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_stdinc.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_surface.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_system.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_syswm.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_assert.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_common.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_compare.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_crc32.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_font.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_fuzzer.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_harness.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_images.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_log.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_md5.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_memory.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_test_random.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_thread.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_timer.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_touch.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_types.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_version.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_video.h
+-rw-r--r-- root/root usr/include/SDL2/SDL_vulkan.h
+-rw-r--r-- root/root usr/include/SDL2/begin_code.h
+-rw-r--r-- root/root usr/include/SDL2/close_code.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libSDL2-2.0.so.0.3200.10
+-rw-r--r-- root/root usr/lib/libSDL2.a
+-rw-r--r-- root/root usr/lib/libSDL2_test.a
+-rw-r--r-- root/root usr/lib/libSDL2main.a
+lrwxrwxrwx root/root usr/lib/libSDL2-2.0.so -> libSDL2-2.0.so.0
+lrwxrwxrwx root/root usr/lib/libSDL2-2.0.so.0 -> libSDL2-2.0.so.0.3200.10
+lrwxrwxrwx root/root usr/lib/libSDL2.so -> libSDL2-2.0.so
+drwxr-xr-x root/root usr/lib/cmake/
+drwxr-xr-x root/root usr/lib/cmake/SDL2/
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2Config.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2ConfigVersion.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2Targets-release.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2Targets.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2mainTargets-release.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2mainTargets.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2staticTargets-release.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2staticTargets.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2testTargets-release.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/SDL2testTargets.cmake
+-rw-r--r-- root/root usr/lib/cmake/SDL2/sdlfind.cmake
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/sdl2.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/aclocal/
+-rw-r--r-- root/root usr/share/aclocal/sdl2.m4
diff --git a/libs/sdl2/.signature b/libs/sdl2/.signature
new file mode 100644
index 0000000..204ad9a
--- /dev/null
+++ b/libs/sdl2/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mPwxb+l26/FkeU8mo6uFvN+M6nNc5ySlLZ9O/ibHD443y2/j3zpMhHtntX/zaaCVhWlC2CGKEbWaMpFmf8JmtQo=
+
+SHA256 (MAKEPKG) = 5d2e845c08f9863de368af0bb02974d44ff9c07d9b9a059a36ce7c554942b6c5
+SHA256 (.footprint) = 51d00433de963c510f76435dbe9d8eab8fcd9d435bbd58ae3d4e2e300dd730c3
+SHA256 (SDL2-2.32.10.tar.gz) = 5f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165
+SHA256 (sdl2#2.32.10-1.pkg.tar.gz) = d131155c2f4d4ea641eac0187981a9795b444d8cc1362bfdd68f2c615e9bc759
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