milis/talimatname/genel/s/sfml/talimat

34 lines
821 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: Sade,hızlı,çoğl platform destekli multimedya kütüphanesi
# URL: http://www.sfml-dev.org/
# Paketçi: milisarge
# Gerekler: flac freetype libjpeg-turbo libvorbis xorg-mesa openal util-linux xorg-libsm xorg-libxrandr xcb-util-image
# Grup: kütüphane
isim=sfml
surum=2.4.2
devir=1
kaynak=(https://www.sfml-dev.org/files/SFML-$surum-sources.zip)
derle() {
cd SFML-$surum
cmake_surum=3.4
install -d build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DSFML_INSTALL_PKGCONFIG_FILES=1 \
-DSFML_BUILD_EXAMPLES=0 \
-DSFML_BUILD_DOC=0 \
make
make DESTDIR=$PKG install
install -D -m 0644 $PKG/usr/share/SFML/cmake/Modules/FindSFML.cmake \
$PKG/usr/share/cmake-$cmake_surum/Modules/FindSFML.cmake
rm -r $PKG/usr/share/SFML/{license,readme}.txt
}