Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_07 / sdl2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               sdl2
4 VERSION=                2.30.0
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Cross-platform multimedia development API
8 HOMEPAGE=               http://www.libsdl.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/libsdl-org:SDL:release-2.30.0
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         dev
18
19 OPTIONS_AVAILABLE=      OSS SNDIO PULSEAUDIO ALSA OPENGL X11 MMX 3DNOW SSE
20                         SSE2
21 OPTIONS_STANDARD=       OSS SNDIO PULSEAUDIO ALSA OPENGL X11 MMX 3DNOW SSE
22                         SSE2
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
28 OPT_ON[freebsd]=        OSS
29 OPT_ON[all]=            OPENGL X11
30 OPT_ON[dragonfly]=      OSS
31
32 USES=                   cpe gmake libtool pkgconfig iconv
33
34 DISTNAME=               SDL-release-2.30.0
35
36 LICENSE=                ZLIB:primary
37 LICENSE_FILE=           ZLIB:{{WRKSRC}}/LICENSE.txt
38 LICENSE_SCHEME=         solo
39
40 CPE_PRODUCT=            simple_directmedia_layer
41 CPE_VENDOR=             libsdl
42 FPC_EQUIVALENT=         devel/sdl20
43
44 MUST_CONFIGURE=         gnu
45 CONFIGURE_ARGS=         --disable-video-opengles
46                         --disable-altivec
47                         --disable-arts
48                         --enable-diskaudio
49                         --enable-dummyaudio
50                         --enable-video-dummy
51                         --disable-dbus
52                         --disable-input-tslib
53                         --disable-rpath
54                         --enable-atomic
55                         --enable-gcc-atomics
56                         --enable-audio
57                         --enable-cpuinfo
58                         --enable-events
59                         --enable-filesystem
60                         --enable-haptic
61                         --enable-joystick
62                         --enable-loadso
63                         --enable-power
64                         --enable-render
65                         --enable-threads
66                         --enable-timers
67                         --enable-video
68                         --enable-pthreads
69                         --enable-sdl-dlopen
70                         --enable-assembly
71 CONFIGURE_ENV=          ac_cv_header_libusbhid_h=no
72
73 SOVERSION=              0.3000.0
74
75 [OPENGL].BUILDRUN_DEPENDS_ON=           libglvnd:primary:standard
76 [OPENGL].BUILD_DEPENDS_ON=              libglvnd:dev:standard
77 [OPENGL].CONFIGURE_ENABLE_BOTH=         video-opengl
78
79 [SNDIO].BUILDRUN_DEPENDS_ON=            sndio:single:standard
80 [SNDIO].CONFIGURE_ENABLE_BOTH=          sndio
81                                         sndio-shared
82
83 [3DNOW].DESCRIPTION=                    3DNow! x86 instruction set (from AMD)
84 [3DNOW].CONFIGURE_ENABLE_BOTH=          3dnow
85
86 [SSE].DESCRIPTION=                      Streaming SIMD Extensions
87 [SSE].CONFIGURE_ENABLE_BOTH=            sse
88
89 [PULSEAUDIO].BROKEN_ON=                 not yet implemented
90
91 [MMX].DESCRIPTION=                      Matrix Math Extensions (MMX from Intel)
92 [MMX].CONFIGURE_ENABLE_BOTH=            mmx
93
94 [ALSA].BROKEN_ON=                       not yet implemented
95 [ALSA].BUILDRUN_DEPENDS_ON=             alsa:single:standard
96 [ALSA].CONFIGURE_ENABLE_BOTH=           alsa
97                                         alsa-shared
98
99 [OSS].CONFIGURE_ENABLE_BOTH=            oss
100
101 [SSE2].DESCRIPTION=                     Streaming SIMD Extensions 2
102 [SSE2].CONFIGURE_ENABLE_BOTH=           sse2
103
104 [X11].CONFIGURE_ENABLE_BOTH=            video-x11
105                                         x11-shared
106                                         video-x11-xcursor
107                                         video-x11-xinerama
108                                         video-x11-xinput
109                                         video-x11-xrandr
110                                         video-x11-scrnsaver
111                                         video-x11-xshape
112                                         video-x11-vm
113 [X11].XORG_COMPONENTS_ON=               x11
114                                         xcursor
115                                         xinerama
116                                         xi
117                                         xrandr
118                                         xscrnsaver
119                                         xxf86vm
120                                         xext
121
122 post-install:
123         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSDL2.so
124
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.
132
133
134 [FILE:115:distinfo]
135 b4be19b703cbf65a8a11f0a37feee9c5d064238eb19f5cf237e0d8d6af1cc0a7      7792772 libsdl-org-SDL-release-2.30.0.tar.gz
136
137
138 [FILE:79:manifests/plist.primary]
139 bin/sdl2-config
140 lib/
141  libSDL2-2.0.so.%%SOMAJOR%%
142  libSDL2-2.0.so.%%SOVERSION%%
143
144
145 [FILE:1376:manifests/plist.dev]
146 include/SDL2/
147  SDL.h
148  SDL_assert.h
149  SDL_atomic.h
150  SDL_audio.h
151  SDL_bits.h
152  SDL_blendmode.h
153  SDL_clipboard.h
154  SDL_config.h
155  SDL_cpuinfo.h
156  SDL_egl.h
157  SDL_endian.h
158  SDL_error.h
159  SDL_events.h
160  SDL_filesystem.h
161  SDL_gamecontroller.h
162  SDL_gesture.h
163  SDL_guid.h
164  SDL_haptic.h
165  SDL_hidapi.h
166  SDL_hints.h
167  SDL_joystick.h
168  SDL_keyboard.h
169  SDL_keycode.h
170  SDL_loadso.h
171  SDL_locale.h
172  SDL_log.h
173  SDL_main.h
174  SDL_messagebox.h
175  SDL_metal.h
176  SDL_misc.h
177  SDL_mouse.h
178  SDL_mutex.h
179  SDL_name.h
180  SDL_opengl.h
181  SDL_opengl_glext.h
182  SDL_opengles.h
183  SDL_opengles2.h
184  SDL_opengles2_gl2.h
185  SDL_opengles2_gl2ext.h
186  SDL_opengles2_gl2platform.h
187  SDL_opengles2_khrplatform.h
188  SDL_pixels.h
189  SDL_platform.h
190  SDL_power.h
191  SDL_quit.h
192  SDL_rect.h
193  SDL_render.h
194  SDL_revision.h
195  SDL_rwops.h
196  SDL_scancode.h
197  SDL_sensor.h
198  SDL_shape.h
199  SDL_stdinc.h
200  SDL_surface.h
201  SDL_system.h
202  SDL_syswm.h
203  SDL_test.h
204  SDL_test_assert.h
205  SDL_test_common.h
206  SDL_test_compare.h
207  SDL_test_crc32.h
208  SDL_test_font.h
209  SDL_test_fuzzer.h
210  SDL_test_harness.h
211  SDL_test_images.h
212  SDL_test_log.h
213  SDL_test_md5.h
214  SDL_test_memory.h
215  SDL_test_random.h
216  SDL_thread.h
217  SDL_timer.h
218  SDL_touch.h
219  SDL_types.h
220  SDL_version.h
221  SDL_video.h
222  SDL_vulkan.h
223  begin_code.h
224  close_code.h
225 lib/
226  libSDL2.a
227  libSDL2.so
228  libSDL2_test.a
229  libSDL2main.a
230 lib/cmake/SDL2/
231  sdl2-config-version.cmake
232  sdl2-config.cmake
233 lib/pkgconfig/sdl2.pc
234 share/aclocal/sdl2.m4
235
236
237 [FILE:1957:patches/patch-configure]
238 --- configure.orig      2024-02-02 00:02:20 UTC
239 +++ configure
240 @@ -28564,7 +28564,7 @@ CheckEventSignals
241  have_locale=no
242  
243  case "$host" in
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*)
246          case "$host" in
247              *-*-android*)
248                  # Android
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_
258            linux)
259                CheckInputKD
260            ;;
261 -          freebsd)
262 +          freebsd|midnightbsd)
263                CheckInputKBIO
264            ;;
265            openbsd|netbsd)
266 @@ -28740,7 +28741,7 @@ printf "%s\n" "#define SDL_JOYSTICK_LINU
267                      have_joystick=yes
268                  fi
269              ;;
270 -            freebsd)
271 +            freebsd|midnightbsd)
272                  if test x$use_input_events = xyes -a x$ac_cv_header_linux_input_h = xyes; then
273  
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
278            case $ARCH in
279 -            linux|freebsd)
280 +            linux|freebsd|midnightbsd)
281                  if test x$use_input_events = xyes; then
282  
283  printf "%s\n" "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
284
285
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)
290  #ifdef __linux__
291  #include <endian.h>
292  #define SDL_BYTEORDER  __BYTE_ORDER
293 -#elif defined(__OpenBSD__) || defined(__DragonFly__)
294 +#elif defined(__OpenBSD__)
295  #include <endian.h>
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: */
302
303
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)
308  {
309      char *retval = NULL;
310  
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 };
316