notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details on branch 2023Q3
sdl20 Cross-platform multimedia development API
2.26.5 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.26.5Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-07-16 10:06:06
Last Update: 2023-07-16 10:02:08
Commit Hash: 21567915
License: ZLIB
WWW:
https://www.libsdl.org/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (96 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sdl2-2.26.5/catalog.mk
  3. /usr/local/share/licenses/sdl2-2.26.5/LICENSE
  4. /usr/local/share/licenses/sdl2-2.26.5/ZLIB
  5. bin/sdl2-config
  6. include/SDL2/SDL.h
  7. include/SDL2/SDL_assert.h
  8. include/SDL2/SDL_atomic.h
  9. include/SDL2/SDL_audio.h
  10. include/SDL2/SDL_bits.h
  11. include/SDL2/SDL_blendmode.h
  12. include/SDL2/SDL_clipboard.h
  13. include/SDL2/SDL_config.h
  14. include/SDL2/SDL_cpuinfo.h
  15. include/SDL2/SDL_egl.h
  16. include/SDL2/SDL_endian.h
  17. include/SDL2/SDL_error.h
  18. include/SDL2/SDL_events.h
  19. include/SDL2/SDL_filesystem.h
  20. include/SDL2/SDL_gamecontroller.h
  21. include/SDL2/SDL_gesture.h
  22. include/SDL2/SDL_guid.h
  23. include/SDL2/SDL_haptic.h
  24. include/SDL2/SDL_hidapi.h
  25. include/SDL2/SDL_hints.h
  26. include/SDL2/SDL_joystick.h
  27. include/SDL2/SDL_keyboard.h
  28. include/SDL2/SDL_keycode.h
  29. include/SDL2/SDL_loadso.h
  30. include/SDL2/SDL_locale.h
  31. include/SDL2/SDL_log.h
  32. include/SDL2/SDL_main.h
  33. include/SDL2/SDL_messagebox.h
  34. include/SDL2/SDL_metal.h
  35. include/SDL2/SDL_misc.h
  36. include/SDL2/SDL_mouse.h
  37. include/SDL2/SDL_mutex.h
  38. include/SDL2/SDL_name.h
  39. include/SDL2/SDL_opengl.h
  40. include/SDL2/SDL_opengl_glext.h
  41. include/SDL2/SDL_opengles.h
  42. include/SDL2/SDL_opengles2.h
  43. include/SDL2/SDL_opengles2_gl2.h
  44. include/SDL2/SDL_opengles2_gl2ext.h
  45. include/SDL2/SDL_opengles2_gl2platform.h
  46. include/SDL2/SDL_opengles2_khrplatform.h
  47. include/SDL2/SDL_pixels.h
  48. include/SDL2/SDL_platform.h
  49. include/SDL2/SDL_power.h
  50. include/SDL2/SDL_quit.h
  51. include/SDL2/SDL_rect.h
  52. include/SDL2/SDL_render.h
  53. include/SDL2/SDL_revision.h
  54. include/SDL2/SDL_rwops.h
  55. include/SDL2/SDL_scancode.h
  56. include/SDL2/SDL_sensor.h
  57. include/SDL2/SDL_shape.h
  58. include/SDL2/SDL_stdinc.h
  59. include/SDL2/SDL_surface.h
  60. include/SDL2/SDL_system.h
  61. include/SDL2/SDL_syswm.h
  62. include/SDL2/SDL_test.h
  63. include/SDL2/SDL_test_assert.h
  64. include/SDL2/SDL_test_common.h
  65. include/SDL2/SDL_test_compare.h
  66. include/SDL2/SDL_test_crc32.h
  67. include/SDL2/SDL_test_font.h
  68. include/SDL2/SDL_test_fuzzer.h
  69. include/SDL2/SDL_test_harness.h
  70. include/SDL2/SDL_test_images.h
  71. include/SDL2/SDL_test_log.h
  72. include/SDL2/SDL_test_md5.h
  73. include/SDL2/SDL_test_memory.h
  74. include/SDL2/SDL_test_random.h
  75. include/SDL2/SDL_thread.h
  76. include/SDL2/SDL_timer.h
  77. include/SDL2/SDL_touch.h
  78. include/SDL2/SDL_types.h
  79. include/SDL2/SDL_version.h
  80. include/SDL2/SDL_video.h
  81. include/SDL2/SDL_vulkan.h
  82. include/SDL2/begin_code.h
  83. include/SDL2/close_code.h
  84. lib/cmake/SDL2/sdl2-config-version.cmake
  85. lib/cmake/SDL2/sdl2-config.cmake
  86. lib/libSDL2-2.0.so.0
  87. lib/libSDL2-2.0.so.0.2600.5
  88. lib/libSDL2.a
  89. lib/libSDL2.so
  90. lib/libSDL2_test.a
  91. lib/libSDL2main.a
  92. libdata/pkgconfig/sdl2.pc
  93. share/aclocal/sdl2.m4
  94. @owner
  95. @group
  96. @mode
Collapse this list.
Dependency lines:
  • sdl2>0:devel/sdl20
To install the port:
cd /usr/ports/devel/sdl20/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/sdl20
  • pkg install sdl2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sdl2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1680729746 SHA256 (SDL2-2.26.5.tar.gz) = ad8fea3da1be64c83c45b1d363a6b4ba8fd60f5bde3b23ec73855709ec5eabf7 SIZE (SDL2-2.26.5.tar.gz) = 8085012

Packages (timestamps in pop-ups are UTC):
sdl2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.32.2_12.32.2_12.0.12_3-2.32.2_1-2.0.12_3-
FreeBSD:13:quarterly2.30.10_12.30.10_1--2.30.10_12.28.52.28.52.28.5
FreeBSD:14:latest2.32.2_12.32.2_1--2.32.2_12.26.5-2.26.5
FreeBSD:14:quarterly2.30.10_12.30.10_1-2.30.10_12.30.10_12.28.52.28.52.28.5
FreeBSD:15:latest2.32.2_12.32.2_1n/a-n/a2.28.52.28.52.28.5
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. input.h : devel/evdev-proto
  2. wayland-protocols>0 : graphics/wayland-protocols
  3. input.h : devel/evdev-proto
  4. gmake>=4.3 : devel/gmake
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. xcursor.pc : x11/libXcursor
  7. xext.pc : x11/libXext
  8. xi.pc : x11/libXi
  9. xfixes.pc : x11/libXfixes
  10. xrandr.pc : x11/libXrandr
  11. xscrnsaver.pc : x11/libXScrnSaver
Runtime dependencies:
  1. xcursor.pc : x11/libXcursor
  2. xext.pc : x11/libXext
  3. xi.pc : x11/libXi
  4. xfixes.pc : x11/libXfixes
  5. xrandr.pc : x11/libXrandr
  6. xscrnsaver.pc : x11/libXScrnSaver
Library dependencies:
  1. libinotify.so : devel/libinotify
  2. libvulkan.so : graphics/vulkan-loader
  3. libwayland-egl.so : graphics/wayland
  4. libxkbcommon.so : x11/libxkbcommon
  5. libgbm.so : graphics/mesa-libs
  6. libOpenGL.so : graphics/libglvnd
  7. libEGL.so : graphics/libglvnd
  8. libGLESv1_CM.so : graphics/libglvnd
  9. libEGL.so : graphics/libglvnd
  10. libGLESv2.so : graphics/libglvnd
This port is required by:
for Build
  1. astro/mepo
  2. emulators/rpcs3
  3. emulators/tic-80
  4. emulators/yuzu
  5. games/openra
  6. games/scummvm
  7. graphics/gegl
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. multimedia/arcan
  3. multimedia/lebiniou
  4. x11-wm/gamescope
  5. Collapse this list.
for Libraries
  1. astro/mepo
  2. emulators/rpcs3
  3. emulators/tic-80
  4. emulators/yuzu
  5. games/openra
  6. games/scummvm
  7. graphics/gegl
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. multimedia/arcan
  3. multimedia/lebiniou
  4. x11-wm/gamescope
  5. Collapse this list.

Configuration Options:
===> The following configuration options are available for sdl2-2.26.5: ASM=on: Use optimized assembly code CSD=off: Client-side decorations for Wayland via libdecor DBUS=off: D-Bus IPC system support FCITX=off: fcitx support HIDAPI=off: Use HIDAPI for low level joystick drivers IBUS=off: IBus support JOYSTICK=on: Joystick and haptic support PTHREADS=on: Use POSIX threads for multi-threading SAMPLERATE=off: Sample rate conversion support UDEV=off: Use udev for input device detection ====> Audio drivers ALSA=off: ALSA audio architecture support JACK=off: JACK audio server support NAS=off: Network Audio System support OSS=on: Open Sound System support PIPEWIRE=off: PipeWire multimedia server support PULSEAUDIO=off: PulseAudio sound server support SNDIO=off: Sndio audio support ====> Video drivers KMSDRM=on: KMSDRM display support OPENGL=on: OpenGL rendering support OPENGLES1=on: OpenGL ES 1.x rendering support OPENGLES2=on: OpenGL ES 2.x rendering support VULKAN=on: Vulkan rendering support WAYLAND=on: Wayland display support X11=on: X11 display support ===> Use 'make config' to modify these settings
Options name:
devel_sdl20
USES:
gmake iconv libtool localbase:ldflags pathfix pkgconfig gl gl gl gl xorg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.libsdl.org/release/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.26.5
16 Jul 2023 10:02:08
commit hash: 215679151502d3ecb6019f9daba46e5b0647229bcommit hash: 215679151502d3ecb6019f9daba46e5b0647229bcommit hash: 215679151502d3ecb6019f9daba46e5b0647229bcommit hash: 215679151502d3ecb6019f9daba46e5b0647229b files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Mk/bsd.options.desc.mk: add "PIPEWIRE_DESC?= PipeWire multimedia server support"

Keep custom description in ports:
graphics/spectacle
multimedia/obs-studio
net/krfb
x11-wm/gamescope

Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D41038
MFH:			2023Q3

(cherry picked from commit cc018ec33befba1b6236d6a28b6f760b97be29a6)

Number of commits found: 1