milis/talimatname/genel/sdl2/talimat

25 lines
855 B
Plaintext
Raw Normal View History

2016-07-22 18:56:15 +02:00
# 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
}