sfml-guncellendi

This commit is contained in:
milisbir 2018-11-16 22:30:32 +02:00
parent e626887c66
commit fcde19b5d4
1 changed files with 3 additions and 10 deletions

View File

@ -1,17 +1,16 @@
# 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
# Gerekler: cmake 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
surum=2.5.1
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
@ -21,13 +20,7 @@ derle() {
-DSFML_INSTALL_PKGCONFIG_FILES=1 \
-DSFML_BUILD_EXAMPLES=0 \
-DSFML_BUILD_DOC=0 \
-SFML_USE_SYSTEM_DEPS=ON
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
}