release-info.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. "name": "SDL3",
  3. "remote": "libsdl-org/SDL",
  4. "dependencies": {
  5. "gameinput": {
  6. "command": "build-scripts/download-gameinput-headers.py -o @<@DEPS_PATH@>@/include --version v3.3.195.0",
  7. "artifact": "gameinput/include/gameinput.h"
  8. }
  9. },
  10. "version": {
  11. "file": "include/SDL3/SDL_version.h",
  12. "re_major": "^#define SDL_MAJOR_VERSION\\s+([0-9]+)$",
  13. "re_minor": "^#define SDL_MINOR_VERSION\\s+([0-9]+)$",
  14. "re_micro": "^#define SDL_MICRO_VERSION\\s+([0-9]+)$"
  15. },
  16. "source": {
  17. "checks": [
  18. "src/SDL.c",
  19. "include/SDL3/SDL.h",
  20. "test/testsprite.c",
  21. "android-project/app/src/main/java/org/libsdl/app/SDLActivity.java"
  22. ],
  23. "files": {
  24. "include/SDL3": [
  25. "build-scripts/pkg-support/source/SDL_revision.h.in:SDL_revision.h"
  26. ],
  27. "include/build_config": [
  28. "build-scripts/pkg-support/source/SDL_revision.h.cmake.in:SDL_revision.h.cmake"
  29. ]
  30. }
  31. },
  32. "dmg": {
  33. "project": "Xcode/SDL/SDL.xcodeproj",
  34. "path": "Xcode/SDL/build/SDL3.dmg",
  35. "target": "SDL3.dmg",
  36. "build-xcconfig": "Xcode/SDL/pkg-support/build.xcconfig"
  37. },
  38. "mingw": {
  39. "cmake": {
  40. "archs": ["x86", "x64"],
  41. "args": [
  42. "-DSDL_SHARED=ON",
  43. "-DSDL_STATIC=OFF",
  44. "-DSDL_DISABLE_INSTALL_DOCS=ON",
  45. "-DSDL_RELOCATABLE=ON",
  46. "-DSDL_TEST_LIBRARY=ON",
  47. "-DSDL_TESTS=OFF",
  48. "-DSDL_VENDOR_INFO=libsdl.org"
  49. ],
  50. "shared-static": "args"
  51. },
  52. "files": {
  53. "": [
  54. "build-scripts/pkg-support/mingw/INSTALL.md.in:INSTALL.md",
  55. "build-scripts/pkg-support/mingw/Makefile",
  56. "LICENSE.txt",
  57. "README.md"
  58. ],
  59. "cmake": [
  60. "build-scripts/pkg-support/mingw/cmake/SDL3Config.cmake",
  61. "build-scripts/pkg-support/mingw/cmake/SDL3ConfigVersion.cmake"
  62. ]
  63. },
  64. "dependencies": {
  65. "gameinput": {}
  66. }
  67. },
  68. "msvc": {
  69. "msbuild": {
  70. "archs": [
  71. "x86",
  72. "x64"
  73. ],
  74. "directory-build-props": "build-scripts/pkg-support/msvc/Directory.Build.props",
  75. "projects": [
  76. "VisualC/SDL/SDL.vcxproj",
  77. "VisualC/SDL_test/SDL_test.vcxproj"
  78. ],
  79. "files-lib": {
  80. "": [
  81. "VisualC/SDL/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3.dll"
  82. ]
  83. },
  84. "files-devel": {
  85. "lib/@<@ARCH@>@": [
  86. "VisualC/SDL/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3.dll",
  87. "VisualC/SDL/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3.lib",
  88. "VisualC/SDL/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3.pdb",
  89. "VisualC/SDL_test/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_test.lib"
  90. ]
  91. }
  92. },
  93. "cmake": {
  94. "archs": [
  95. "arm64"
  96. ],
  97. "args": [
  98. "-DSDL_SHARED=ON",
  99. "-DSDL_STATIC=OFF",
  100. "-DSDL_TEST_LIBRARY=ON",
  101. "-DSDL_TESTS=OFF",
  102. "-DSDL_DISABLE_INSTALL_DOCS=ON",
  103. "-DSDL_RELOCATABLE=ON",
  104. "-DSDL_VENDOR_INFO=libsdl.org"
  105. ],
  106. "files-lib": {
  107. "": [
  108. "bin/SDL3.dll"
  109. ]
  110. },
  111. "files-devel": {
  112. "lib/@<@ARCH@>@": [
  113. "bin/SDL3.dll",
  114. "bin/SDL3.pdb",
  115. "lib/SDL3.lib",
  116. "lib/SDL3_test.lib"
  117. ]
  118. }
  119. },
  120. "files-lib": {
  121. "": [
  122. "build-scripts/pkg-support/msvc/@<@ARCH@>@/INSTALL.md.in:INSTALL.md",
  123. "LICENSE.txt",
  124. "README.md"
  125. ]
  126. },
  127. "files-devel": {
  128. "": [
  129. "build-scripts/pkg-support/msvc/INSTALL.md.in:INSTALL.md",
  130. "LICENSE.txt",
  131. "README.md"
  132. ],
  133. "cmake": [
  134. "build-scripts/pkg-support/msvc/cmake/SDL3Config.cmake.in:SDL3Config.cmake",
  135. "build-scripts/pkg-support/msvc/cmake/SDL3ConfigVersion.cmake.in:SDL3ConfigVersion.cmake",
  136. "cmake/sdlcpu.cmake"
  137. ],
  138. "include/SDL3": [
  139. "include/SDL3/*.h"
  140. ]
  141. },
  142. "dependencies": {
  143. "gameinput": {}
  144. }
  145. },
  146. "android": {
  147. "cmake": {
  148. "args": [
  149. "-DSDL_SHARED=ON",
  150. "-DSDL_STATIC=OFF",
  151. "-DSDL_TEST_LIBRARY=ON",
  152. "-DSDL_TESTS=OFF",
  153. "-DSDL_ANDROID_JAR=ON",
  154. "-DSDL_INSTALL=ON",
  155. "-DSDL_INSTALL_DOCS=ON",
  156. "-DSDL_VENDOR_INFO=libsdl.org"
  157. ]
  158. },
  159. "modules": {
  160. "SDL3-Headers": {
  161. "type": "interface",
  162. "includes": {
  163. "SDL3": ["include/SDL3/*.h"]
  164. }
  165. },
  166. "Headers": {
  167. "type": "interface",
  168. "export-libraries": [":SDL3-Headers"]
  169. },
  170. "SDL3_test": {
  171. "type": "library",
  172. "library": "lib/libSDL3_test.a",
  173. "export-libraries": [":Headers"]
  174. },
  175. "SDL3-shared": {
  176. "type": "library",
  177. "library": "lib/libSDL3.so",
  178. "export-libraries": [":Headers"]
  179. },
  180. "SDL3": {
  181. "type": "interface",
  182. "export-libraries": [":SDL3-shared"]
  183. }
  184. },
  185. "jars": {
  186. "classes": "share/java/@<@PROJECT_NAME@>@/@<@PROJECT_NAME@>@-@<@PROJECT_VERSION@>@.jar",
  187. "sources": "share/java/@<@PROJECT_NAME@>@/@<@PROJECT_NAME@>@-@<@PROJECT_VERSION@>@-sources.jar",
  188. "doc": "share/javadoc/@<@PROJECT_NAME@>@/@<@PROJECT_NAME@>@-@<@PROJECT_VERSION@>@-javadoc.jar"
  189. },
  190. "abis": [
  191. "armeabi-v7a",
  192. "arm64-v8a",
  193. "x86",
  194. "x86_64"
  195. ],
  196. "api-minimum": 21,
  197. "api-target": 35,
  198. "ndk-minimum": 28,
  199. "aar-files": {
  200. "": [
  201. "android-project/app/proguard-rules.pro:proguard.txt",
  202. "build-scripts/pkg-support/android/aar/__main__.py.in:__main__.py",
  203. "build-scripts/pkg-support/android/aar/description.json.in:description.json"
  204. ],
  205. "META-INF": [
  206. "LICENSE.txt"
  207. ],
  208. "cmake": [
  209. "cmake/sdlcpu.cmake",
  210. "build-scripts/pkg-support/android/aar/cmake/SDL3Config.cmake",
  211. "build-scripts/pkg-support/android/aar/cmake/SDL3ConfigVersion.cmake.in:SDL3ConfigVersion.cmake"
  212. ]
  213. },
  214. "files": {
  215. "": [
  216. "build-scripts/pkg-support/android/INSTALL.md.in:INSTALL.md",
  217. "LICENSE.txt",
  218. "README.md"
  219. ]
  220. }
  221. }
  222. }