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.
===> The following configuration options are available for sdl2-2.32.10_2:
CSD=off: Client-side decorations for Wayland via libdecor
DBUS=off: D-Bus IPC system support
FCITX=off: fcitx support
HIDAPI=on: Use HIDAPI for low level joystick drivers
IBUS=off: IBus support
JOYSTICK=on: Joystick and haptic support
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: 2D/3D rendering support via OpenGL
OPENGLES=on: OpenGL ES rendering support
VULKAN=on: Vulkan rendering support
WAYLAND=on: Wayland (graphics) support
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
devel/sdl{20,3}: fix fcitx dependency
- Switch from lib to run-dependency, as only dbus service from fcitx is in fact
used by sdl
- Update from deprecated chinese/fcitx to textproc/fcitx5
PR: 293861
Reported by: jcfyecrayz@liamekaens.com
devel/sdl20: drop no longer needed _m_prefetch patch
Required support aws merged with LLVM in 2015:
https://github.com/llvm/llvm-project/issues/24022
The port builds fine, including with CPUTYPE=athlon64-sse3
PR: 194861, 278353 [1]
Submitted by: diizzy [1]
devel/sdl20: fix armv7-related check in SDL_atomic.h
Fixes build errors like:
In file included from
/usr/ports/games/openrct2/work/OpenRCT2-0.4.1/src/openrct2-ui/CursorRepository.h:12:
In file included from /usr/local/include/SDL2/SDL.h:35:
/usr/local/include/SDL2/SDL_atomic.h:243:28: error: '__ARM_ARCH__' is not
defined, evaluates to 0 [-Werror,-Wundef] #elif (defined(__arm__) &&
__ARM_ARCH__ >= 7) || defined(__aarch64__)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/sdl20: remove useless options
Drop SDL_* options which allow disabling specific SDL subsystems,
with the exception of SDL_JOYSTICK which was renamed to JOYSTICK.
These options unnecessary complicate the port while providing no
gain and will lead to dependent port build failures if disabled
unthoughtfully by a user.
devel/sdl20: correct BROKEN with disabled SDL_JOYSTICK
The port builds fine when both SDL_JOYSTICK and SDL_HAPTIC are
disabled, so instead of BROKEN for SDL_JOYSTICK, just make
SDL_HAPTIC require SDL_JOYSTICK
Reported by: vishwin
devel/sdl20: options cleanup
Options cleanup pass 1:
- Introduce groups for audio, video drives and subsystems
- Reuse options descriptions from options.mk, where available
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.
PR: 251125
Submitted by: Florian Walpen <dev@submerge.ch> (original version)
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Bump portrevision for devel/evdev-proto
Bump portrevision on everything with a build dependency on
devel/evdev-proto, to chace the update of evdev-proto in r550442.
devel/sdl20: add ALTIVEC option and enable by default
Add ALTIVEC option on powerpc and powerpc64 and enable it by default.
Approved by: amdmi3 (maintainer timeout), linimon (mentor)
Differential Revision: https://reviews.freebsd.org/D21670
Split out evdev headers from multimedia/v4l_compat
Split out evdev headers (input.h, input-event-codes.h, uinput.h) into their
own port, devel/evdev-proto, and update those to be current with the Linux
4.19 kernel. This is done in order to be able to update the rest of the
FreeBSD input stack, which is forthcoming.
By splititng out the evdev headers we can update them independent of other
updates in v4l_compat, which makes it easier for the graphics team to keep
track of them and keep them updated as needed.
Update devel/libevdev from 1.4.4 to 1.5.9 instead of trying to make it work
with the updated headers. This will be further updated.
Update devel/py-evdev from 0.5.0 to 0.8.1 instead of trying to make it work
(Only the first 15 lines of the commit message are shown above )
graphics/mesa-libs: enable WAYLAND by default here and in consumers
PR: 227509
Requested by: Johannes Lundberg, Greg V
Reviewed by: tobik (earlier version)
Approved by: madpilot, x11 (zeising), maintainer timeout (2 weeks)
Exp-run by: antoine
devel/sdl20: crashfix for some consumers after r450461
$ pkg install pioneer
$ pioneer
[...]
ShipType::Init()
Lua::Init()
Server agent disabled
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000800cd5d20 in SDL_ConvertSurface_REAL (surface=0x80b374fc0,
format=0xb4c7e8 <Graphics::pixelFormatRGBA>, flags=0)
at /usr/ports/devel/sdl20/work/SDL2-2.0.6/src/video/SDL_surface.c:936
936 copy_flags = surface->map->info.flags;
(gdb) p surface->map
(Only the first 15 lines of the commit message are shown above )
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
Number of commits found: 128 (showing only 100 on this page)