milis/talimatname/genel/sdl2/talimat

25 lines
885 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Bir video çerçeve arabelleği, ses çıkışı, fare ve klavyeye taşınabilir düşük seviye erişimi için bir kütüphane
# 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
}