BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.03.0.0-2.5.23.0.0
FreeBSD:14:quarterly3.0.03.0.0n/a2.5.23.0.0
FreeBSD:15:latest3.0.03.0.0n/a2.5.22.5.2
FreeBSD:15:quarterly3.0.03.0.0n/an/an/a
FreeBSD:16:latest3.0.03.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 5

The full lists below include those, and their dependencies in turn.

Build dependencies 34
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
FileSizeSHA256
SFML-CSFML-3.0.0_GH0.tar.gz800884903cd4a782fb0b233f732dc5b37861b552998e93ae8f268c40bd4ce50b2e88ca

Commit history 1

DateCommitCreditsLog message
b8537c3fdb Alastair Hogge devel/csfml: Update to 3.0.0
Update to 3.0.0 * Update ${LIB_DEPENDS} to point to SFML's new place in multimedia/sfml3 Changelog: https://www.sfml-dev.org/download/csfml/#300 PR: 297880 Approved by: ...