BSD Ports

devel/sdl20 2.32.10_1 MidnightBSD

Cross-platform multimedia development API

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
22173208f1
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

SystemPortVersion
MidnightBSDdevel/sdl202.32.10_1
FreeBSDdevel/sdl202.32.10_2
OpenBSDdevel/sdl22.32.10p1
DragonFlydevel/sdl202.32.2_1
HardenedBSDdevel/sdl202.32.10_2
GhostBSDdevel/sdl202.32.10_2

Install

Binary package:

mport install sdl2

From mports:

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

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

RUN_DEPENDS=	sdl2>0:devel/sdl20
LIB_DEPENDS=	libSDL2.so:devel/sdl20

Dependencies

No port depends on this one.

Configuration

Options name: devel_sdl2

OptionDefaultDescription
ALSAoff
ASMon
CSDoffClient-side decorations for Wayland via libdecor
DBUSoff
FCITXofffcitx support
HIDAPIoffUse HIDAPI for low level joystick drivers
IBUSoffIBus support
JACKoff
JOYSTICKonJoystick and haptic support
KMSDRMonKMSDRM display support
NASoff
OPENGLonOpenGL rendering support
OPENGLES1onOpenGL ES 1.x rendering support
OPENGLES2onOpenGL ES 2.x rendering support
OSSon
PIPEWIREoff
PTHREADSonUse POSIX threads for multi-threading
PULSEAUDIOoff
SAMPLERATEoff
SNDIOoff
UDEVoffUse udev for input device detection
VULKANonVulkan rendering support
WAYLANDonWayland display support
X11onX11 display support
USES
gmake iconv libtool localbase:ldflags pathfix pkgconfig cpe
Service scripts
none

Files

pkg-plist 89
  • bin/sdl2-config
  • include/SDL2/SDL.h
  • include/SDL2/SDL_assert.h
  • include/SDL2/SDL_atomic.h
  • include/SDL2/SDL_audio.h
  • include/SDL2/SDL_bits.h
  • include/SDL2/SDL_blendmode.h
  • include/SDL2/SDL_clipboard.h
  • include/SDL2/SDL_config.h
  • include/SDL2/SDL_cpuinfo.h
  • include/SDL2/SDL_egl.h
  • include/SDL2/SDL_endian.h
  • include/SDL2/SDL_error.h
  • include/SDL2/SDL_events.h
  • include/SDL2/SDL_filesystem.h
  • include/SDL2/SDL_gamecontroller.h
  • include/SDL2/SDL_gesture.h
  • include/SDL2/SDL_guid.h
  • include/SDL2/SDL_haptic.h
  • include/SDL2/SDL_hidapi.h
  • include/SDL2/SDL_hints.h
  • include/SDL2/SDL_joystick.h
  • include/SDL2/SDL_keyboard.h
  • include/SDL2/SDL_keycode.h
  • include/SDL2/SDL_loadso.h
  • include/SDL2/SDL_locale.h
  • include/SDL2/SDL_log.h
  • include/SDL2/SDL_main.h
  • include/SDL2/SDL_messagebox.h
  • include/SDL2/SDL_metal.h
  • include/SDL2/SDL_misc.h
  • include/SDL2/SDL_mouse.h
  • include/SDL2/SDL_mutex.h
  • include/SDL2/SDL_name.h
  • include/SDL2/SDL_opengl.h
  • include/SDL2/SDL_opengl_glext.h
  • include/SDL2/SDL_opengles.h
  • include/SDL2/SDL_opengles2.h
  • include/SDL2/SDL_opengles2_gl2.h
  • include/SDL2/SDL_opengles2_gl2ext.h
  • include/SDL2/SDL_opengles2_gl2platform.h
  • include/SDL2/SDL_opengles2_khrplatform.h
  • include/SDL2/SDL_pixels.h
  • include/SDL2/SDL_platform.h
  • include/SDL2/SDL_power.h
  • include/SDL2/SDL_quit.h
  • include/SDL2/SDL_rect.h
  • include/SDL2/SDL_render.h
  • include/SDL2/SDL_revision.h
  • include/SDL2/SDL_rwops.h
  • include/SDL2/SDL_scancode.h
  • include/SDL2/SDL_sensor.h
  • include/SDL2/SDL_shape.h
  • include/SDL2/SDL_stdinc.h
  • include/SDL2/SDL_surface.h
  • include/SDL2/SDL_system.h
  • include/SDL2/SDL_syswm.h
  • include/SDL2/SDL_test.h
  • include/SDL2/SDL_test_assert.h
  • include/SDL2/SDL_test_common.h
  • include/SDL2/SDL_test_compare.h
  • include/SDL2/SDL_test_crc32.h
  • include/SDL2/SDL_test_font.h
  • include/SDL2/SDL_test_fuzzer.h
  • include/SDL2/SDL_test_harness.h
  • include/SDL2/SDL_test_images.h
  • include/SDL2/SDL_test_log.h
  • include/SDL2/SDL_test_md5.h
  • include/SDL2/SDL_test_memory.h
  • include/SDL2/SDL_test_random.h
  • include/SDL2/SDL_thread.h
  • include/SDL2/SDL_timer.h
  • include/SDL2/SDL_touch.h
  • include/SDL2/SDL_types.h
  • include/SDL2/SDL_version.h
  • include/SDL2/SDL_video.h
  • include/SDL2/SDL_vulkan.h
  • include/SDL2/begin_code.h
  • include/SDL2/close_code.h
  • lib/cmake/SDL2/sdl2-config-version.cmake
  • lib/cmake/SDL2/sdl2-config.cmake
  • lib/libSDL2-2.0.so.0
  • lib/libSDL2-2.0.so.0.3200.10
  • lib/libSDL2.a
  • lib/libSDL2.so
  • lib/libSDL2_test.a
  • lib/libSDL2main.a
  • libdata/pkgconfig/sdl2.pc
  • share/aclocal/sdl2.m4
distinfo 1
FileSizeSHA256
SDL2-2.32.10.tar.gz7.630262e+065f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165
Master sites 1
  • https://www.libsdl.org/release/

Commit history 1

DateCommitCreditsLog message
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …