Ravenports generated: 17 Sep 2022 15:25
[ravenports.git] / bucket_07 / sdl2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               sdl2
4 VERSION=                2.0.22
5 REVISION=               1
6 KEYWORDS=               devel
7 VARIANTS=               standard
8 SDESC[standard]=        Cross-platform multimedia development API
9 HOMEPAGE=               http://www.libsdl.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            GITHUB/libsdl-org:SDL:2.0.22
14 DISTFILE[1]=            generated:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      OSS SNDIO PULSEAUDIO ALSA OPENGL X11 MMX 3DNOW SSE
19                         SSE2
20 OPTIONS_STANDARD=       OSS SNDIO PULSEAUDIO ALSA OPENGL X11 MMX 3DNOW SSE
21                         SSE2
22 OPTGROUP_UNLIMITED=     AUDIO CPUEXT
23 OPTDESCR[CPUEXT]=       CPU Extension Support
24 OPTDESCR[AUDIO]=        Audio Support
25 OPTGROUP[CPUEXT]=       MMX 3DNOW SSE SSE2
26 OPTGROUP[AUDIO]=        OSS SNDIO PULSEAUDIO ALSA
27 OPT_ON[freebsd]=        OSS
28 OPT_ON[all]=            OPENGL X11
29 OPT_ON[dragonfly]=      OSS
30
31 USES=                   cpe gmake libtool pkgconfig iconv
32
33 DISTNAME=               SDL-2.0.22
34
35 LICENSE=                ZLIB:single
36 LICENSE_FILE=           ZLIB:{{WRKSRC}}/COPYING.txt
37 LICENSE_SCHEME=         solo
38
39 CPE_PRODUCT=            simple_directmedia_layer
40 CPE_VENDOR=             libsdl
41 FPC_EQUIVALENT=         devel/sdl20
42
43 MUST_CONFIGURE=         gnu
44 CONFIGURE_ARGS=         --disable-video-opengles
45                         --disable-altivec
46                         --disable-arts
47                         --enable-diskaudio
48                         --enable-dummyaudio
49                         --enable-video-dummy
50                         --disable-dbus
51                         --disable-input-tslib
52                         --disable-rpath
53                         --enable-atomic
54                         --enable-gcc-atomics
55                         --enable-audio
56                         --enable-cpuinfo
57                         --enable-events
58                         --enable-filesystem
59                         --enable-haptic
60                         --enable-joystick
61                         --enable-loadso
62                         --enable-power
63                         --enable-render
64                         --enable-threads
65                         --enable-timers
66                         --enable-video
67                         --enable-pthreads
68                         --enable-sdl-dlopen
69                         --enable-assembly
70 CONFIGURE_ENV=          ac_cv_header_libusbhid_h=no
71
72 SOVERSION=              0.22.0
73
74 [OPENGL].BUILDRUN_DEPENDS_ON=           libglvnd:single:standard
75 [OPENGL].CONFIGURE_ENABLE_BOTH=         video-opengl
76
77 [SNDIO].BUILDRUN_DEPENDS_ON=            sndio:single:standard
78 [SNDIO].CONFIGURE_ENABLE_BOTH=          sndio
79                                         sndio-shared
80
81 [3DNOW].DESCRIPTION=                    3DNow! x86 instruction set (from AMD)
82 [3DNOW].CONFIGURE_ENABLE_BOTH=          3dnow
83
84 [SSE].DESCRIPTION=                      Streaming SIMD Extensions
85 [SSE].CONFIGURE_ENABLE_BOTH=            sse
86
87 [PULSEAUDIO].BROKEN_ON=                 not yet implemented
88
89 [MMX].DESCRIPTION=                      Matrix Math Extensions (MMX from Intel)
90 [MMX].CONFIGURE_ENABLE_BOTH=            mmx
91
92 [ALSA].BROKEN_ON=                       not yet implemented
93 [ALSA].BUILDRUN_DEPENDS_ON=             alsa:single:standard
94 [ALSA].CONFIGURE_ENABLE_BOTH=           alsa
95                                         alsa-shared
96
97 [OSS].CONFIGURE_ENABLE_BOTH=            oss
98
99 [SSE2].DESCRIPTION=                     Streaming SIMD Extensions 2
100 [SSE2].CONFIGURE_ENABLE_BOTH=           sse2
101
102 [X11].CONFIGURE_ENABLE_BOTH=            video-x11
103                                         x11-shared
104                                         video-x11-xcursor
105                                         video-x11-xinerama
106                                         video-x11-xinput
107                                         video-x11-xrandr
108                                         video-x11-scrnsaver
109                                         video-x11-xshape
110                                         video-x11-vm
111 [X11].XORG_COMPONENTS_ON=               x11
112                                         xcursor
113                                         xinerama
114                                         xi
115                                         xrandr
116                                         xscrnsaver
117                                         xxf86vm
118                                         xext
119
120 post-install:
121         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSDL2.so
122
123 [FILE:403:descriptions/desc.single]
124 The SDL library (series 2) is designed to make it easy to write games that
125 run on UNIX, Win32, MacOS X and other platforms using the various native
126 high-performance media interfaces (for video, audio, etc) and presenting
127 a single source-code level API to your application. This is a fairly low
128 level API, but using this, completely portable applications can be
129 written with a great deal of flexibility.
130
131
132 [FILE:107:distinfo]
133 f9f32d2fbfce9b798ee3c8b7c629a5b5ee8b288c7d8b3ff79022b6dcd1c71624      7517169 libsdl-org-SDL-2.0.22.tar.gz
134
135
136 [FILE:1438:manifests/plist.single]
137 bin/sdl2-config
138 include/SDL2/
139  SDL.h
140  SDL_assert.h
141  SDL_atomic.h
142  SDL_audio.h
143  SDL_bits.h
144  SDL_blendmode.h
145  SDL_clipboard.h
146  SDL_config.h
147  SDL_cpuinfo.h
148  SDL_egl.h
149  SDL_endian.h
150  SDL_error.h
151  SDL_events.h
152  SDL_filesystem.h
153  SDL_gamecontroller.h
154  SDL_gesture.h
155  SDL_haptic.h
156  SDL_hidapi.h
157  SDL_hints.h
158  SDL_joystick.h
159  SDL_keyboard.h
160  SDL_keycode.h
161  SDL_loadso.h
162  SDL_locale.h
163  SDL_log.h
164  SDL_main.h
165  SDL_messagebox.h
166  SDL_metal.h
167  SDL_misc.h
168  SDL_mouse.h
169  SDL_mutex.h
170  SDL_name.h
171  SDL_opengl.h
172  SDL_opengl_glext.h
173  SDL_opengles.h
174  SDL_opengles2.h
175  SDL_opengles2_gl2.h
176  SDL_opengles2_gl2ext.h
177  SDL_opengles2_gl2platform.h
178  SDL_opengles2_khrplatform.h
179  SDL_pixels.h
180  SDL_platform.h
181  SDL_power.h
182  SDL_quit.h
183  SDL_rect.h
184  SDL_render.h
185  SDL_revision.h
186  SDL_rwops.h
187  SDL_scancode.h
188  SDL_sensor.h
189  SDL_shape.h
190  SDL_stdinc.h
191  SDL_surface.h
192  SDL_system.h
193  SDL_syswm.h
194  SDL_test.h
195  SDL_test_assert.h
196  SDL_test_common.h
197  SDL_test_compare.h
198  SDL_test_crc32.h
199  SDL_test_font.h
200  SDL_test_fuzzer.h
201  SDL_test_harness.h
202  SDL_test_images.h
203  SDL_test_log.h
204  SDL_test_md5.h
205  SDL_test_memory.h
206  SDL_test_random.h
207  SDL_thread.h
208  SDL_timer.h
209  SDL_touch.h
210  SDL_types.h
211  SDL_version.h
212  SDL_video.h
213  SDL_vulkan.h
214  begin_code.h
215  close_code.h
216 lib/
217  libSDL2-2.0.so.%%SOMAJOR%%
218  libSDL2-2.0.so.%%SOVERSION%%
219  libSDL2.a
220  libSDL2.so
221  libSDL2_test.a
222  libSDL2main.a
223 lib/cmake/SDL2/
224  sdl2-config-version.cmake
225  sdl2-config.cmake
226 lib/pkgconfig/sdl2.pc
227 share/aclocal/sdl2.m4
228
229
230 [FILE:312:patches/patch-src_video_kmsdrm_SDL__kmsdrmvideo.c]
231 --- src/video/kmsdrm/SDL_kmsdrmvideo.c.orig     2022-01-08 02:29:52 UTC
232 +++ src/video/kmsdrm/SDL_kmsdrmvideo.c
233 @@ -71,6 +71,10 @@ static SDL_bool openbsd69orgreater = SDL
234  #define EGL_PLATFORM_GBM_MESA 0x31D7
235  #endif
236  
237 +#ifndef O_CLOEXEC
238 +#define O_CLOEXEC 0
239 +#endif
240 +
241  static int
242  check_modestting(int devindex)
243  {
244
245
246 [FILE:411:dragonfly/patch-src_filesystem_unix_SDL__sysfilesystem.c]
247 --- src/filesystem/unix/SDL_sysfilesystem.c.orig        2022-01-08 02:29:52 UTC
248 +++ src/filesystem/unix/SDL_sysfilesystem.c
249 @@ -137,7 +137,7 @@ SDL_GetBasePath(void)
250  {
251      char *retval = NULL;
252  
253 -#if defined(__FREEBSD__)
254 +#if defined(__FREEBSD__) && !defined(__DragonFly__)
255      char fullpath[PATH_MAX];
256      size_t buflen = sizeof (fullpath);
257      const int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
258