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 # Tanım: Sade,hızlı,çoğl platform destekli multimedya kütüphanesi
# URL: http://www.sfml-dev.org/ # URL: http://www.sfml-dev.org/
# Paketçi: milisarge # 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 # Grup: kütüphane
isim=sfml isim=sfml
surum=2.4.2 surum=2.5.1
devir=1 devir=1
kaynak=(https://www.sfml-dev.org/files/SFML-$surum-sources.zip) kaynak=(https://www.sfml-dev.org/files/SFML-$surum-sources.zip)
derle() { derle() {
cd SFML-$surum cd SFML-$surum
cmake_surum=3.4
install -d build install -d build
cd build cd build
@ -21,13 +20,7 @@ derle() {
-DSFML_INSTALL_PKGCONFIG_FILES=1 \ -DSFML_INSTALL_PKGCONFIG_FILES=1 \
-DSFML_BUILD_EXAMPLES=0 \ -DSFML_BUILD_EXAMPLES=0 \
-DSFML_BUILD_DOC=0 \ -DSFML_BUILD_DOC=0 \
-SFML_USE_SYSTEM_DEPS=ON
make make
make DESTDIR=$PKG install 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
} }