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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/sdl20 | 2.32.10_1 |
| FreeBSD | devel/sdl20 | 2.32.10_2 |
| OpenBSD | devel/sdl2 | 2.32.10p1 |
| DragonFly | devel/sdl20 | 2.32.2_1 |
| HardenedBSD | devel/sdl20 | 2.32.10_2 |
| GhostBSD | devel/sdl20 | 2.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
| Option | Default | Description |
|---|---|---|
| ALSA | off | |
| ASM | on | |
| CSD | off | Client-side decorations for Wayland via libdecor |
| DBUS | off | |
| FCITX | off | fcitx support |
| HIDAPI | off | Use HIDAPI for low level joystick drivers |
| IBUS | off | IBus support |
| JACK | off | |
| JOYSTICK | on | Joystick and haptic support |
| KMSDRM | on | KMSDRM display support |
| NAS | off | |
| OPENGL | on | OpenGL rendering support |
| OPENGLES1 | on | OpenGL ES 1.x rendering support |
| OPENGLES2 | on | OpenGL ES 2.x rendering support |
| OSS | on | |
| PIPEWIRE | off | |
| PTHREADS | on | Use POSIX threads for multi-threading |
| PULSEAUDIO | off | |
| SAMPLERATE | off | |
| SNDIO | off | |
| UDEV | off | Use udev for input device detection |
| VULKAN | on | Vulkan rendering support |
| WAYLAND | on | Wayland display support |
| X11 | on | X11 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
| File | Size | SHA256 |
|---|---|---|
| SDL2-2.32.10.tar.gz | 7.630262e+06 | 5f5993c530f084535c65a6879e9b26ad441169b3e25d789d83287040a9ca5165 |
Master sites 1
- https://www.libsdl.org/release/