summaryrefslogtreecommitdiff
path: root/repo/x11/sdl2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/sdl2.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/x11/sdl2.xibuild')
-rw-r--r--repo/x11/sdl2.xibuild38
1 files changed, 0 insertions, 38 deletions
diff --git a/repo/x11/sdl2.xibuild b/repo/x11/sdl2.xibuild
deleted file mode 100644
index 0f0778f..0000000
--- a/repo/x11/sdl2.xibuild
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-NAME="sdl2"
-DESC="development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics"
-
-MAKEDEPS="cmake "
-DEPS="alsa-lib eudev libx11 libxext libxcursor libxi libxkbcommon libxrender libxscrnsaver libusb pulseaudio wayland "
-
-PKG_VER=2.0.20
-SOURCE="https://www.libsdl.org/release/SDL2-$PKG_VER.tar.gz"
-ADDITIONAL="directfb-cflags.patch "
-
-build () {
- cmake -B build -G Ninja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DBUILD_SHARED_LIBS=True \
- -DBUILD_STATIC_LIBS=OFF \
- -DSDL_TEST=OFF \
- -DSDL_ALSA=ON \
- -DSDL_CLOCK_GETTIME=ON \
- -DSDL_ARTS=OFF \
- -DSDL_ESD=OFF \
- -DSDL_NAS=OFF \
- -DSDL_RPATH=OFF \
- -DSDL_X11=ON \
- -DSDL_DIRECTFB=ON \
- -DSDL_WAYLAND=ON \
- -DSDL_STATIC=OFF \
- -DSDL_SHARED=ON \
- -DSDL_PIPEWIRE_SHARED=ON \
- -DSDL_PULSEAUDIO_SHARED=ON
- cmake --build build
-}
-
-package () {
- DESTDIR="$PKG_DEST" cmake --install build
-}