1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Cross-platform multimedia development API
8 HOMEPAGE= http://www.libsdl.org/
12 SITES[main]= GITHUB/libsdl-org:SDL:release-2.30.0
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= OSS SNDIO PULSEAUDIO ALSA OPENGL X11 MMX 3DNOW SSE
21 OPTIONS_STANDARD= OSS SNDIO PULSEAUDIO ALSA OPENGL X11 MMX 3DNOW SSE
23 OPTGROUP_UNLIMITED= AUDIO CPUEXT
24 OPTDESCR[CPUEXT]= CPU Extension Support
25 OPTDESCR[AUDIO]= Audio Support
26 OPTGROUP[CPUEXT]= MMX 3DNOW SSE SSE2
27 OPTGROUP[AUDIO]= OSS SNDIO PULSEAUDIO ALSA
29 OPT_ON[all]= OPENGL X11
30 OPT_ON[dragonfly]= OSS
32 USES= cpe gmake libtool pkgconfig iconv
34 DISTNAME= SDL-release-2.30.0
37 LICENSE_FILE= ZLIB:{{WRKSRC}}/LICENSE.txt
40 CPE_PRODUCT= simple_directmedia_layer
42 FPC_EQUIVALENT= devel/sdl20
45 CONFIGURE_ARGS= --disable-video-opengles
71 CONFIGURE_ENV= ac_cv_header_libusbhid_h=no
75 [OPENGL].BUILDRUN_DEPENDS_ON= libglvnd:primary:standard
76 [OPENGL].BUILD_DEPENDS_ON= libglvnd:dev:standard
77 [OPENGL].CONFIGURE_ENABLE_BOTH= video-opengl
79 [SNDIO].BUILDRUN_DEPENDS_ON= sndio:single:standard
80 [SNDIO].CONFIGURE_ENABLE_BOTH= sndio
83 [3DNOW].DESCRIPTION= 3DNow! x86 instruction set (from AMD)
84 [3DNOW].CONFIGURE_ENABLE_BOTH= 3dnow
86 [SSE].DESCRIPTION= Streaming SIMD Extensions
87 [SSE].CONFIGURE_ENABLE_BOTH= sse
89 [PULSEAUDIO].BROKEN_ON= not yet implemented
91 [MMX].DESCRIPTION= Matrix Math Extensions (MMX from Intel)
92 [MMX].CONFIGURE_ENABLE_BOTH= mmx
94 [ALSA].BROKEN_ON= not yet implemented
95 [ALSA].BUILDRUN_DEPENDS_ON= alsa:single:standard
96 [ALSA].CONFIGURE_ENABLE_BOTH= alsa
99 [OSS].CONFIGURE_ENABLE_BOTH= oss
101 [SSE2].DESCRIPTION= Streaming SIMD Extensions 2
102 [SSE2].CONFIGURE_ENABLE_BOTH= sse2
104 [X11].CONFIGURE_ENABLE_BOTH= video-x11
113 [X11].XORG_COMPONENTS_ON= x11
123 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSDL2.so
125 [FILE:403:descriptions/desc.primary]
126 The SDL library (series 2) is designed to make it easy to write games that
127 run on UNIX, Win32, MacOS X and other platforms using the various native
128 high-performance media interfaces (for video, audio, etc) and presenting
129 a single source-code level API to your application. This is a fairly low
130 level API, but using this, completely portable applications can be
131 written with a great deal of flexibility.
135 b4be19b703cbf65a8a11f0a37feee9c5d064238eb19f5cf237e0d8d6af1cc0a7 7792772 libsdl-org-SDL-release-2.30.0.tar.gz
138 [FILE:79:manifests/plist.primary]
141 libSDL2-2.0.so.%%SOMAJOR%%
142 libSDL2-2.0.so.%%SOVERSION%%
145 [FILE:1376:manifests/plist.dev]
185 SDL_opengles2_gl2ext.h
186 SDL_opengles2_gl2platform.h
187 SDL_opengles2_khrplatform.h
231 sdl2-config-version.cmake
233 lib/pkgconfig/sdl2.pc
234 share/aclocal/sdl2.m4
237 [FILE:1957:patches/patch-configure]
238 --- configure.orig 2024-02-02 00:02:20 UTC
240 @@ -28564,7 +28564,7 @@ CheckEventSignals
244 - *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*)
245 + *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-aix*|*-*-minix*|*-*-nto*|*-*-midnight*)
249 @@ -28593,6 +28593,7 @@ printf "%s\n" "#define SDL_VIDEO_DRIVER_
250 *-*-bsdi*) ARCH=bsdi ;;
251 *-*-freebsd*) ARCH=freebsd ;;
252 *-*-dragonfly*) ARCH=freebsd ;;
253 + *-*-midnightbsd*) ARCH=freebsd ;;
254 *-*-netbsd*) ARCH=netbsd ;;
255 *-*-openbsd*) ARCH=openbsd ;;
256 *-*-sysv5*) ARCH=sysv5 ;;
257 @@ -28649,7 +28650,7 @@ printf "%s\n" "#define SDL_VIDEO_DRIVER_
262 + freebsd|midnightbsd)
266 @@ -28740,7 +28741,7 @@ printf "%s\n" "#define SDL_JOYSTICK_LINU
271 + freebsd|midnightbsd)
272 if test x$use_input_events = xyes -a x$ac_cv_header_linux_input_h = xyes; then
274 printf "%s\n" "#define SDL_JOYSTICK_LINUX 1" >>confdefs.h
275 @@ -28763,7 +28764,7 @@ printf "%s\n" "#define SDL_JOYSTICK_ANDR
276 # Set up files for the haptic library
277 if test x$enable_haptic = xyes; then
280 + linux|freebsd|midnightbsd)
281 if test x$use_input_events = xyes; then
283 printf "%s\n" "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
286 [FILE:574:patches/patch-include_SDL__endian.h]
287 --- include/SDL_endian.h.orig 2024-02-02 00:02:20 UTC
288 +++ include/SDL_endian.h
289 @@ -59,10 +59,10 @@ _m_prefetch(void *__P)
292 #define SDL_BYTEORDER __BYTE_ORDER
293 -#elif defined(__OpenBSD__) || defined(__DragonFly__)
294 +#elif defined(__OpenBSD__)
296 #define SDL_BYTEORDER BYTE_ORDER
297 -#elif defined(__FreeBSD__) || defined(__NetBSD__)
298 +#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
299 #include <sys/endian.h>
300 #define SDL_BYTEORDER BYTE_ORDER
301 /* predefs from newer gcc and clang versions: */
304 [FILE:416:dragonfly/patch-src_filesystem_unix_SDL__sysfilesystem.c]
305 --- src/filesystem/unix/SDL_sysfilesystem.c.orig 2024-02-02 00:02:20 UTC
306 +++ src/filesystem/unix/SDL_sysfilesystem.c
307 @@ -132,7 +132,7 @@ char *SDL_GetBasePath(void)
311 -#if defined(__FREEBSD__)
312 +#if defined(__FREEBSD__) && !defined(__DragonFly__)
313 char fullpath[PATH_MAX];
314 size_t buflen = sizeof(fullpath);
315 const int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };