UmVirt LFS Package info
DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
SDL2
The Simple DirectMedia Layer Version 2 (SDL2 for short) is a cross-platform library designed to make it easy to write multimedia software, such as games and emulators.Package info
Codename: SDL2
Source file: SDL2-2.30.6.tar.gz
Source directory: SDL2-2.30.6
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/s/SDL2-2.30.6.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/s/SDL2-2.30.6.tar.gz.md5sum
Dependances: Xlibs, wayland-protocols, libxkbcommon.
Dependance of: gzdoom, mgba, SDL2_net, megaglest, PCem, bochs, emu80sdl, fceux, chocolate-doom, abuse, dosbox, sdl12-compat, wine, libvncserver, dosbox-staging, fluidsynth, dosbox-x, duckstation, audacious-plugins, mpv, shotcut, ffmpeg, cogl, qemu.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
ARG_STATIC="--disable-static"
if [[ "\$ULFS_PKG_STATIC" == "YES" ]]
then
ARG_STATIC="--enable-static"
fi
./configure --prefix=/usr $ARG_STATIC
Build script:
make
if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then
make docs
fi
Install script:
make install &&
if [[ "\$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then
install -v -m755 -d /usr/share/doc/SDL2-2.30.6/html &&
cp -Rv docs/output/html/* /usr/share/doc/SDL2-2.30.6/html
fi
Arch specific instructions
lib32_amd64
Dependances: *** NO DEPENDANCES FOUND ***
Configuration script:
mkdir build
cd build
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cmake -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib32 \
-DSDL_DLOPEN=ON \
-DSDL_RPATH=OFF \
-DSDL_STATIC=OFF \
..
Build script:
cd build
ninja
Install script:
cd build
DESTDIR=DESTDIR ninja install
cp -Rv DESTDIR/usr/lib32/* /usr/lib32