milis/talimatname/genel/s/sdl2/talimat

26 lines
888 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.

# Tanım: 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
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: xorg-libxext xorg-libxrender xorg-libx11 xorg-libxcursor alsa-lib xorg-mesa pulseaudio xorg-libxrandr xorg-libxinerama libxkbcommon wayland
# Grup: kütüphane
isim=sdl2
surum=2.0.4
devir=1
kaynak=(http://www.libsdl.org/release/SDL2-$surum.tar.gz)
derle() {
mkdir build
cd build
../SDL2-$surum/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-$surum/COPYING.txt $PKG/usr/share/licenses/$isim/LICENSE
}