diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2017-08-12 18:27:31 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2017-08-12 18:27:31 +1000 |
commit | d7e3187f415652b6155828fc902c5b4d7d788d35 (patch) | |
tree | 96609a9be633efbae140ec99637b987b079c906b /sfml | |
parent | 2a05f9dc04ddd55a4897fc56688a029573f0053f (diff) | |
download | contrib-d7e3187f415652b6155828fc902c5b4d7d788d35.tar.gz contrib-d7e3187f415652b6155828fc902c5b4d7d788d35.tar.xz |
sfml: cleanup
Diffstat (limited to 'sfml')
-rw-r--r-- | sfml/.footprint | 68 | ||||
-rw-r--r-- | sfml/.signature | 6 | ||||
-rw-r--r-- | sfml/Pkgfile | 16 |
3 files changed, 17 insertions, 73 deletions
diff --git a/sfml/.footprint b/sfml/.footprint index e9126a445..9f10af29e 100644 --- a/sfml/.footprint +++ b/sfml/.footprint @@ -137,68 +137,6 @@ drwxr-xr-x root/root usr/share/SFML/ drwxr-xr-x root/root usr/share/SFML/cmake/ drwxr-xr-x root/root usr/share/SFML/cmake/Modules/ -rw-r--r-- root/root usr/share/SFML/cmake/Modules/FindSFML.cmake -drwxr-xr-x root/root usr/share/SFML/examples/ -drwxr-xr-x root/root usr/share/SFML/examples/X11/ --rwxr-xr-x root/root usr/share/SFML/examples/X11/X11 --rw-r--r-- root/root usr/share/SFML/examples/X11/X11.cpp -drwxr-xr-x root/root usr/share/SFML/examples/ftp/ --rw-r--r-- root/root usr/share/SFML/examples/ftp/Ftp.cpp --rwxr-xr-x root/root usr/share/SFML/examples/ftp/ftp -drwxr-xr-x root/root usr/share/SFML/examples/opengl/ --rw-r--r-- root/root usr/share/SFML/examples/opengl/OpenGL.cpp --rwxr-xr-x root/root usr/share/SFML/examples/opengl/opengl -drwxr-xr-x root/root usr/share/SFML/examples/opengl/resources/ --rw-r--r-- root/root usr/share/SFML/examples/opengl/resources/background.jpg --rw-r--r-- root/root usr/share/SFML/examples/opengl/resources/sansation.ttf --rw-r--r-- root/root usr/share/SFML/examples/opengl/resources/texture.jpg -drwxr-xr-x root/root usr/share/SFML/examples/pong/ --rw-r--r-- root/root usr/share/SFML/examples/pong/Pong.cpp --rwxr-xr-x root/root usr/share/SFML/examples/pong/pong -drwxr-xr-x root/root usr/share/SFML/examples/pong/resources/ --rw-r--r-- root/root usr/share/SFML/examples/pong/resources/ball.wav --rw-r--r-- root/root usr/share/SFML/examples/pong/resources/sansation.ttf -drwxr-xr-x root/root usr/share/SFML/examples/shader/ --rw-r--r-- root/root usr/share/SFML/examples/shader/Effect.hpp --rw-r--r-- root/root usr/share/SFML/examples/shader/Shader.cpp -drwxr-xr-x root/root usr/share/SFML/examples/shader/resources/ --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/background.jpg --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/billboard.frag --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/billboard.geom --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/billboard.vert --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/blink.frag --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/blur.frag --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/devices.png --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/edge.frag --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/logo.png --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/pixelate.frag --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/sansation.ttf --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/sfml.png --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/storm.vert --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/text-background.png --rw-r--r-- root/root usr/share/SFML/examples/shader/resources/wave.vert --rwxr-xr-x root/root usr/share/SFML/examples/shader/shader -drwxr-xr-x root/root usr/share/SFML/examples/sockets/ --rw-r--r-- root/root usr/share/SFML/examples/sockets/Sockets.cpp --rw-r--r-- root/root usr/share/SFML/examples/sockets/TCP.cpp --rw-r--r-- root/root usr/share/SFML/examples/sockets/UDP.cpp --rwxr-xr-x root/root usr/share/SFML/examples/sockets/sockets -drwxr-xr-x root/root usr/share/SFML/examples/sound-capture/ --rw-r--r-- root/root usr/share/SFML/examples/sound-capture/SoundCapture.cpp --rwxr-xr-x root/root usr/share/SFML/examples/sound-capture/sound-capture -drwxr-xr-x root/root usr/share/SFML/examples/sound/ --rw-r--r-- root/root usr/share/SFML/examples/sound/Sound.cpp -drwxr-xr-x root/root usr/share/SFML/examples/sound/resources/ --rw-r--r-- root/root usr/share/SFML/examples/sound/resources/canary.wav --rw-r--r-- root/root usr/share/SFML/examples/sound/resources/ding.flac --rw-r--r-- root/root usr/share/SFML/examples/sound/resources/orchestral.ogg --rwxr-xr-x root/root usr/share/SFML/examples/sound/sound -drwxr-xr-x root/root usr/share/SFML/examples/voip/ --rw-r--r-- root/root usr/share/SFML/examples/voip/Client.cpp --rw-r--r-- root/root usr/share/SFML/examples/voip/Server.cpp --rw-r--r-- root/root usr/share/SFML/examples/voip/VoIP.cpp --rwxr-xr-x root/root usr/share/SFML/examples/voip/voip -drwxr-xr-x root/root usr/share/SFML/examples/window/ --rw-r--r-- root/root usr/share/SFML/examples/window/Window.cpp --rwxr-xr-x root/root usr/share/SFML/examples/window/window --rw-r--r-- root/root usr/share/SFML/license.txt --rw-r--r-- root/root usr/share/SFML/readme.txt +drwxr-xr-x root/root usr/share/cmake/ +drwxr-xr-x root/root usr/share/cmake/Modules/ +-rw-r--r-- root/root usr/share/cmake/Modules/FindSFML.cmake diff --git a/sfml/.signature b/sfml/.signature index 2bcaeec13..8ddf3a45f 100644 --- a/sfml/.signature +++ b/sfml/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3xZqYjAWIT5mvXfyO0VR42CT8d1dcKNEttYqvPsdmNbZShEbfIKlAV8bEbOU3RMrPS9u2UnHmhgm7zoWbB9IvA4= -SHA256 (Pkgfile) = 81af35eef14351d1a497f82140da18c435a6d21915c31bf3b9c4305485006321 -SHA256 (.footprint) = 6af6821ec196b818bf4282260d914a3f936ea75652a4978c8f9e92fb15144402 +RWSagIOpLGJF30BdB+zG6M3LoTvB1BVyS9KcYmmsKopo5/hGDGL5wpIW+R5KJ0RBMPz537VmGNa8RECA6n6X6whjKP/yXzeL7wo= +SHA256 (Pkgfile) = 1ee108baff1630265827140908d11b870f7e533d8ddd97f31bd7a16bfae43fe4 +SHA256 (.footprint) = 215ee7ced251fc048b354a5e6b6c157976e166a87b2352d8fd5dccdfae2e7cf2 SHA256 (SFML-2.4.0-sources.zip) = 868a1a1e43a7ee40c1a90efcbcea061b6f0a6ed129075d9a8f19c8c69e644b0f diff --git a/sfml/Pkgfile b/sfml/Pkgfile index 4e36d5f3e..82d3ebb80 100644 --- a/sfml/Pkgfile +++ b/sfml/Pkgfile @@ -2,12 +2,12 @@ # URL: http://www.sfml-dev.org/ # Maintainer: Danny Rawlins, crux at romster dot me # Packager: Danny Rawlins, crux at romster dot me -# Depends on: freetype glew libjpeg-turbo libsndfile openal xorg-libxrandr xorg-xcb-util-image +# Depends on: flac freetype libjpeg-turbo libvorbis mesa3d openal util-linux xorg-libsm xorg-libxrandr xorg-xcb-util-image name=sfml version=2.4.0 -release=1 -source=(http://www.sfml-dev.org/files/SFML-2.4.0-sources.zip) +release=2 +source=(https://www.sfml-dev.org/files/SFML-$version-sources.zip) build() { cd SFML-$version @@ -18,10 +18,16 @@ build() { cmake .. \ -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ - -DSFML_BUILD_EXAMPLES=1 \ + -DSFML_INSTALL_PKGCONFIG_FILES=1 \ + -DSFML_BUILD_EXAMPLES=0 \ -DSFML_BUILD_DOC=0 \ - -DSFML_INSTALL_PKGCONFIG_FILES=1 + make make DESTDIR=$PKG install + + install -D -m 0644 $PKG/usr/share/SFML/cmake/Modules/FindSFML.cmake \ + $PKG/usr/share/cmake/Modules/FindSFML.cmake + + rm -r $PKG/usr/share/SFML/{license,readme}.txt } |