BSD Ports

devel/sdl3 3.4.2_2 MidnightBSD

Cross-platform multimedia development API (version 3 preview)

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
zlib
Categories
devel

Description

This library is designed to make it easy to write games that run on UNIX, Win32, MacOS X and other platforms using the various native high-performance media interfaces (for video, audio, etc) and presenting a single source-code level API to your application. This is a fairly low level API, but using this, completely portable applications can be written with a great deal of flexibility.

In the other systems

The newest version among them is 3.4.16, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/sdl33.4.2_2 behind since 2026-08-02no data-[email protected]-
FreeBSDdevel/sdl33.4.16 newestnone known-[email protected]2026-09-08
OpenBSDdevel/sdl33.4.16p1 newestno data-Thomas Frohwein <[email protected]>2026-09-21
DragonFlydevel/sdl33.1.2 behind since 2026-08-02none known-[email protected]-
HardenedBSDdevel/sdl33.4.16 newestno data-[email protected]-
GhostBSDdevel/sdl33.4.16 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install sdl3

From mports:

cd /usr/mports/devel/sdl3 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sdl3>0:devel/sdl3
LIB_DEPENDS=	libSDL3.so:devel/sdl3

Dependencies

No port depends on this one.

Configuration

Options name: devel_sdl3

OptionDefaultDescription
ALSAoff
CSDoffClient-side decorations for Wayland via libdecor
DBUSoff
FCITXofffcitx support
FRIBIDIon
HIDAPIonUse HIDAPI for low level joystick drivers
IBUSoffIBus support
JACKoff
JOYSTICKonJoystick and haptic support
KMSDRMonKMSDRM display support
OPENGLon
OPENGLESonOpenGL ES rendering support
OSSon
PIPEWIREoff
PULSEAUDIOoff
SAMPLERATEoff
SNDIOoff
THAIonEnable Thai support
UDEVonUse udev for input device detection
VULKANonVulkan rendering support
WAYLANDon
X11on
USES
cmake iconv localbase pkgconfig
Service scripts
none

Files

pkg-plist 100
  • include/SDL3/SDL.h
  • include/SDL3/SDL_assert.h
  • include/SDL3/SDL_asyncio.h
  • include/SDL3/SDL_atomic.h
  • include/SDL3/SDL_audio.h
  • include/SDL3/SDL_begin_code.h
  • include/SDL3/SDL_bits.h
  • include/SDL3/SDL_blendmode.h
  • include/SDL3/SDL_camera.h
  • include/SDL3/SDL_clipboard.h
  • include/SDL3/SDL_close_code.h
  • include/SDL3/SDL_copying.h
  • include/SDL3/SDL_cpuinfo.h
  • include/SDL3/SDL_dialog.h
  • include/SDL3/SDL_dlopennote.h
  • include/SDL3/SDL_egl.h
  • include/SDL3/SDL_endian.h
  • include/SDL3/SDL_error.h
  • include/SDL3/SDL_events.h
  • include/SDL3/SDL_filesystem.h
  • include/SDL3/SDL_gamepad.h
  • include/SDL3/SDL_gpu.h
  • include/SDL3/SDL_guid.h
  • include/SDL3/SDL_haptic.h
  • include/SDL3/SDL_hidapi.h
  • include/SDL3/SDL_hints.h
  • include/SDL3/SDL_init.h
  • include/SDL3/SDL_intrin.h
  • include/SDL3/SDL_iostream.h
  • include/SDL3/SDL_joystick.h
  • include/SDL3/SDL_keyboard.h
  • include/SDL3/SDL_keycode.h
  • include/SDL3/SDL_loadso.h
  • include/SDL3/SDL_locale.h
  • include/SDL3/SDL_log.h
  • include/SDL3/SDL_main.h
  • include/SDL3/SDL_main_impl.h
  • include/SDL3/SDL_messagebox.h
  • include/SDL3/SDL_metal.h
  • include/SDL3/SDL_misc.h
  • include/SDL3/SDL_mouse.h
  • include/SDL3/SDL_mutex.h
  • include/SDL3/SDL_oldnames.h
  • include/SDL3/SDL_opengl.h
  • include/SDL3/SDL_opengl_glext.h
  • include/SDL3/SDL_opengles.h
  • include/SDL3/SDL_opengles2.h
  • include/SDL3/SDL_opengles2_gl2.h
  • include/SDL3/SDL_opengles2_gl2ext.h
  • include/SDL3/SDL_opengles2_gl2platform.h
  • include/SDL3/SDL_opengles2_khrplatform.h
  • include/SDL3/SDL_pen.h
  • include/SDL3/SDL_pixels.h
  • include/SDL3/SDL_platform.h
  • include/SDL3/SDL_platform_defines.h
  • include/SDL3/SDL_power.h
  • include/SDL3/SDL_process.h
  • include/SDL3/SDL_properties.h
  • include/SDL3/SDL_rect.h
  • include/SDL3/SDL_render.h
  • include/SDL3/SDL_revision.h
  • include/SDL3/SDL_scancode.h
  • include/SDL3/SDL_sensor.h
  • include/SDL3/SDL_stdinc.h
  • include/SDL3/SDL_storage.h
  • include/SDL3/SDL_surface.h
  • include/SDL3/SDL_system.h
  • include/SDL3/SDL_test.h
  • include/SDL3/SDL_test_assert.h
  • include/SDL3/SDL_test_common.h
  • include/SDL3/SDL_test_compare.h
  • include/SDL3/SDL_test_crc32.h
  • include/SDL3/SDL_test_font.h
  • include/SDL3/SDL_test_fuzzer.h
  • include/SDL3/SDL_test_harness.h
  • include/SDL3/SDL_test_log.h
  • include/SDL3/SDL_test_md5.h
  • include/SDL3/SDL_test_memory.h
  • include/SDL3/SDL_thread.h
  • include/SDL3/SDL_time.h
  • include/SDL3/SDL_timer.h
  • include/SDL3/SDL_touch.h
  • include/SDL3/SDL_tray.h
  • include/SDL3/SDL_version.h
  • include/SDL3/SDL_video.h
  • include/SDL3/SDL_vulkan.h
  • lib/cmake/SDL3/FindLibUSB.cmake
  • lib/cmake/SDL3/PkgConfigHelper.cmake
  • lib/cmake/SDL3/SDL3Config.cmake
  • lib/cmake/SDL3/SDL3ConfigVersion.cmake
  • lib/cmake/SDL3/SDL3headersTargets.cmake
  • lib/cmake/SDL3/SDL3sharedTargets-.cmake
  • lib/cmake/SDL3/SDL3sharedTargets.cmake
  • lib/cmake/SDL3/SDL3testTargets-.cmake
  • lib/cmake/SDL3/SDL3testTargets.cmake
  • lib/libSDL3.so
  • lib/libSDL3.so.0
  • lib/libSDL3.so.
  • lib/libSDL3_test.a
  • libdata/pkgconfig/sdl3.pc
distinfo 1
FileSizeSHA256
libsdl-org-SDL-release-3.4.2_GH0.tar.gz1.5785645e+07515ee4ad6e910e0ad8d8bbccb24ac52dd16c419e23eea3fb83541d20130c7aaa