devel/csfml 3.0.0 FreeBSD
C bindings to the Simple and Fast Multimedia Library (SFML)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
b8537c3fdb- License
- ZLIB
- Categories
- devel, games, graphics, multimedia
- Package size
- 145.9 KiB, 943.8 KiB installed
Description
CSFML is the official C bindings for the Simple and Fast Multimedia Library (SFML). SFML is a simple, fast, cross-platform, C++ object-oriented multimedia API. It abstracts windowing, graphics, audio, and networking.
The CSFML API aims to create C style abstractions as close as possible, to the SFML C++ API. The follow-on effect of this enables building SFML bindings for other languages, either via the language's Foreign Function Interface mechanism, or by directly supporting C instead of C++.
Due to the similarities between the two APIs, no tutorial is provided, however, users can follow the C++ tutorials available via the SFML website. Adapting those tutorials to the C API should take little effort.
Install
Binary package:
pkg install csfml
From the ports tree:
cd /usr/ports/devel/csfml/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= csfml>0:devel/csfml
LIB_DEPENDS= libcsfml-audio.so:devel/csfml
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.0 | 3.0.0 | - | 2.5.2 | 3.0.0 |
| FreeBSD:14:quarterly | 3.0.0 | 3.0.0 | n/a | 2.5.2 | 3.0.0 |
| FreeBSD:15:latest | 3.0.0 | 3.0.0 | n/a | 2.5.2 | 2.5.2 |
| FreeBSD:15:quarterly | 3.0.0 | 3.0.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.0 | 3.0.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 5
libsfml-audio.so: multimedia/sfml3libsfml-graphics.so: multimedia/sfml3libsfml-network.so: multimedia/sfml3libsfml-system.so: multimedia/sfml3libsfml-window.so: multimedia/sfml3
The full lists below include those, and their dependencies in turn.
Build dependencies 34
- archivers/brotli
- audio/flac
- audio/libogg
- audio/libvorbis
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/ninja
- devel/readline
- dns/libidn2
- graphics/libglvnd
- graphics/png
- lang/python312
- math/mpdecimal
- multimedia/sfml3
- ports-mgmt/pkg
- print/freetype2
- print/indexinfo
- security/rhash
- textproc/expat2
- x11/libX11
- x11/libXau
- x11/libXcursor
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 19
Required by 1
Configuration
No options to configure.
- USES
- cmake
- Service scripts
- none
Files
pkg-plist 110
- include/CSFML/Audio.h
- include/CSFML/Audio/EffectProcessor.h
- include/CSFML/Audio/Export.h
- include/CSFML/Audio/Listener.h
- include/CSFML/Audio/Music.h
- include/CSFML/Audio/Sound.h
- include/CSFML/Audio/SoundBuffer.h
- include/CSFML/Audio/SoundBufferRecorder.h
- include/CSFML/Audio/SoundChannel.h
- include/CSFML/Audio/SoundRecorder.h
- include/CSFML/Audio/SoundSourceCone.h
- include/CSFML/Audio/SoundStatus.h
- include/CSFML/Audio/SoundStream.h
- include/CSFML/Audio/Types.h
- include/CSFML/Config.h
- include/CSFML/GPUPreference.h
- include/CSFML/Graphics.h
- include/CSFML/Graphics/BlendMode.h
- include/CSFML/Graphics/CircleShape.h
- include/CSFML/Graphics/Color.h
- include/CSFML/Graphics/ConvexShape.h
- include/CSFML/Graphics/CoordinateType.h
- include/CSFML/Graphics/Export.h
- include/CSFML/Graphics/Font.h
- include/CSFML/Graphics/FontInfo.h
- include/CSFML/Graphics/Glsl.h
- include/CSFML/Graphics/Glyph.h
- include/CSFML/Graphics/Image.h
- include/CSFML/Graphics/PrimitiveType.h
- include/CSFML/Graphics/Rect.h
- include/CSFML/Graphics/RectangleShape.h
- include/CSFML/Graphics/RenderStates.h
- include/CSFML/Graphics/RenderTexture.h
- include/CSFML/Graphics/RenderWindow.h
- include/CSFML/Graphics/Shader.h
- include/CSFML/Graphics/Shape.h
- include/CSFML/Graphics/Sprite.h
- include/CSFML/Graphics/StencilMode.h
- include/CSFML/Graphics/Text.h
- include/CSFML/Graphics/Texture.h
- include/CSFML/Graphics/Transform.h
- include/CSFML/Graphics/Transformable.h
- include/CSFML/Graphics/Types.h
- include/CSFML/Graphics/Vertex.h
- include/CSFML/Graphics/VertexArray.h
- include/CSFML/Graphics/VertexBuffer.h
- include/CSFML/Graphics/View.h
- include/CSFML/Network.h
- include/CSFML/Network/Export.h
- include/CSFML/Network/Ftp.h
- include/CSFML/Network/Http.h
- include/CSFML/Network/IpAddress.h
- include/CSFML/Network/Packet.h
- include/CSFML/Network/SocketSelector.h
- include/CSFML/Network/SocketStatus.h
- include/CSFML/Network/TcpListener.h
- include/CSFML/Network/TcpSocket.h
- include/CSFML/Network/Types.h
- include/CSFML/Network/UdpSocket.h
- include/CSFML/OpenGL.h
- include/CSFML/System.h
- include/CSFML/System/Alloc.h
- include/CSFML/System/Buffer.h
- include/CSFML/System/Clock.h
- include/CSFML/System/Export.h
- include/CSFML/System/InputStream.h
- include/CSFML/System/Sleep.h
- include/CSFML/System/Time.h
- include/CSFML/System/Types.h
- include/CSFML/System/Vector2.h
- include/CSFML/System/Vector3.h
- include/CSFML/Window.h
- include/CSFML/Window/Clipboard.h
- include/CSFML/Window/Context.h
- include/CSFML/Window/Cursor.h
- include/CSFML/Window/Event.h
- include/CSFML/Window/Export.h
- include/CSFML/Window/Joystick.h
- include/CSFML/Window/JoystickIdentification.h
- include/CSFML/Window/Keyboard.h
- include/CSFML/Window/Mouse.h
- include/CSFML/Window/Sensor.h
- include/CSFML/Window/Touch.h
- include/CSFML/Window/Types.h
- include/CSFML/Window/VideoMode.h
- include/CSFML/Window/Vulkan.h
- include/CSFML/Window/Window.h
- include/CSFML/Window/WindowBase.h
- include/CSFML/Window/WindowHandle.h
- lib/libcsfml-audio.so
- lib/libcsfml-audio.so.
- lib/libcsfml-audio.so.
- lib/libcsfml-graphics.so
- lib/libcsfml-graphics.so.
- lib/libcsfml-graphics.so.
- lib/libcsfml-network.so
- lib/libcsfml-network.so.
- lib/libcsfml-network.so.
- lib/libcsfml-system.so
- lib/libcsfml-system.so.
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| SFML-CSFML-3.0.0_GH0.tar.gz | 800884 | 903cd4a782fb0b233f732dc5b37861b552998e93ae8f268c40bd4ce50b2e88ca |