25 lines
855 B
Plaintext
25 lines
855 B
Plaintext
|
# Description: A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
|
||
|
# URL: http://www.libsdl.org
|
||
|
# Packager: alihan-ozturk28@hotmail.com
|
||
|
# Depends on: xorg-libxext xorg-libxrender xorg-libx11 xorg-libxcursor alsa-lib xorg-mesa pulseaudio xorg-libxrandr xorg-libxinerama libxkbcommon wayland
|
||
|
|
||
|
name=sdl2
|
||
|
version=2.0.4
|
||
|
release=1
|
||
|
|
||
|
source=(http://www.libsdl.org/release/SDL2-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
mkdir build
|
||
|
cd build
|
||
|
../SDL2-$version/configure --prefix=/usr \
|
||
|
--enable-sdl-dlopen \
|
||
|
--disable-arts --disable-esd --disable-nas \
|
||
|
--enable-alsa --enable-pulseaudio-shared \
|
||
|
--disable-video-wayland \
|
||
|
--disable-rpath
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
install -Dm644 ../SDL2-$version/COPYING.txt $PKG/usr/share/licenses/$name/LICENSE
|
||
|
}
|