forked from k-kotov/terraform-aws-long
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fetch.xml
executable file
·183 lines (169 loc) · 14 KB
/
fetch.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!-- Call this to fetch all the natives from the build server -->
<project name="fetch-natives" default="all">
<property name="domain" value="http://libgdx.badlogicgames.com/nightlies/dist"/>
<property name="robovm" value="https://oss.sonatype.org/content/repositories/releases/com/mobidevelop/robovm"/>
<property name="robovm-version" value="2.3.6"/>
<property name="lwjgl" value="https://oss.sonatype.org/content/repositories/releases/org/lwjgl"/>
<property name="lwjgl-version" value="3.2.1"/>
<target name="fetch-robovm">
<mkdir dir="backends/gdx-backend-robovm/libs/"/>
<get src="${robovm}/robovm-cacerts-full/${robovm-version}/robovm-cacerts-full-${robovm-version}.jar" dest="backends/gdx-backend-robovm/libs/robovm-cacerts-full.jar"/>
<get src="${robovm}/robovm-cocoatouch/${robovm-version}/robovm-cocoatouch-${robovm-version}.jar" dest="backends/gdx-backend-robovm/libs/robovm-cocoatouch.jar"/>
<get src="${robovm}/robovm-objc/${robovm-version}/robovm-objc-${robovm-version}.jar" dest="backends/gdx-backend-robovm/libs/robovm-objc.jar"/>
<get src="${robovm}/robovm-rt/${robovm-version}/robovm-rt-${robovm-version}.jar" dest="backends/gdx-backend-robovm/libs/robovm-rt.jar"/>
</target>
<target name="fetch-lwjgl3">
<!-- lwjgl -->
<get src="${lwjgl}/lwjgl/${lwjgl-version}/lwjgl-${lwjgl-version}.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl.jar"/>
<get src="${lwjgl}/lwjgl/${lwjgl-version}/lwjgl-${lwjgl-version}-natives-linux.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-natives-linux.jar"/>
<get src="${lwjgl}/lwjgl/${lwjgl-version}/lwjgl-${lwjgl-version}-natives-macos.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-natives-macos.jar"/>
<get src="${lwjgl}/lwjgl/${lwjgl-version}/lwjgl-${lwjgl-version}-natives-windows.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-natives-windows.jar"/>
<!-- lwjgl-glfw -->
<get src="${lwjgl}/lwjgl-glfw/${lwjgl-version}/lwjgl-glfw-${lwjgl-version}.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-glfw.jar"/>
<get src="${lwjgl}/lwjgl-glfw/${lwjgl-version}/lwjgl-glfw-${lwjgl-version}-natives-linux.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-glfw-natives-linux.jar"/>
<get src="${lwjgl}/lwjgl-glfw/${lwjgl-version}/lwjgl-glfw-${lwjgl-version}-natives-macos.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-glfw-natives-macos.jar"/>
<get src="${lwjgl}/lwjgl-glfw/${lwjgl-version}/lwjgl-glfw-${lwjgl-version}-natives-windows.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-glfw-natives-windows.jar"/>
<!-- lwjgl-jemalloc -->
<get src="${lwjgl}/lwjgl-jemalloc/${lwjgl-version}/lwjgl-jemalloc-${lwjgl-version}.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-jemalloc.jar"/>
<get src="${lwjgl}/lwjgl-jemalloc/${lwjgl-version}/lwjgl-jemalloc-${lwjgl-version}-natives-linux.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-jemalloc-natives-linux.jar"/>
<get src="${lwjgl}/lwjgl-jemalloc/${lwjgl-version}/lwjgl-jemalloc-${lwjgl-version}-natives-macos.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-jemalloc-natives-macos.jar"/>
<get src="${lwjgl}/lwjgl-jemalloc/${lwjgl-version}/lwjgl-jemalloc-${lwjgl-version}-natives-windows.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-jemalloc-natives-windows.jar"/>
<!-- lwjgl-openal -->
<get src="${lwjgl}/lwjgl-openal/${lwjgl-version}/lwjgl-openal-${lwjgl-version}.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-openal.jar"/>
<get src="${lwjgl}/lwjgl-openal/${lwjgl-version}/lwjgl-openal-${lwjgl-version}-natives-linux.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-openal-natives-linux.jar"/>
<get src="${lwjgl}/lwjgl-openal/${lwjgl-version}/lwjgl-openal-${lwjgl-version}-natives-macos.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-openal-natives-macos.jar"/>
<get src="${lwjgl}/lwjgl-openal/${lwjgl-version}/lwjgl-openal-${lwjgl-version}-natives-windows.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-openal-natives-windows.jar"/>
<!-- lwjgl-opengl -->
<get src="${lwjgl}/lwjgl-opengl/${lwjgl-version}/lwjgl-opengl-${lwjgl-version}.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-opengl.jar"/>
<get src="${lwjgl}/lwjgl-opengl/${lwjgl-version}/lwjgl-opengl-${lwjgl-version}-natives-linux.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-opengl-natives-linux.jar"/>
<get src="${lwjgl}/lwjgl-opengl/${lwjgl-version}/lwjgl-opengl-${lwjgl-version}-natives-macos.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-opengl-natives-macos.jar"/>
<get src="${lwjgl}/lwjgl-opengl/${lwjgl-version}/lwjgl-opengl-${lwjgl-version}-natives-windows.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-opengl-natives-windows.jar"/>
<!-- lwjgl-stb -->
<get src="${lwjgl}/lwjgl-stb/${lwjgl-version}/lwjgl-stb-${lwjgl-version}.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-stb.jar"/>
<get src="${lwjgl}/lwjgl-stb/${lwjgl-version}/lwjgl-stb-${lwjgl-version}-natives-linux.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-stb-natives-linux.jar"/>
<get src="${lwjgl}/lwjgl-stb/${lwjgl-version}/lwjgl-stb-${lwjgl-version}-natives-macos.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-stb-natives-macos.jar"/>
<get src="${lwjgl}/lwjgl-stb/${lwjgl-version}/lwjgl-stb-${lwjgl-version}-natives-windows.jar" dest="backends/gdx-backend-lwjgl3/libs/lwjgl-stb-natives-windows.jar"/>
</target>
<target name="fetch">
<!-- create a temporary directory for all android and ios natives, to be distributed
across demos and tests. The xxx-natives.jar files are put into the respective
project's libs/ folder -->
<mkdir dir="tmp"/>
<mkdir dir="tmp/ios"/>
<mkdir dir="tmp/armeabi"/>
<mkdir dir="tmp/armeabi-v7a"/>
<mkdir dir="tmp/arm64-v8a"/>
<mkdir dir="tmp/x86"/>
<mkdir dir="tmp/x86_64"/>
<mkdir dir="gdx/libs/ios32"/>
<mkdir dir="gdx/libs/armeabi"/>
<mkdir dir="gdx/libs/armeabi-v7a"/>
<mkdir dir="gdx/libs/arm64-v8a"/>
<mkdir dir="gdx/libs/x86"/>
<mkdir dir="gdx/libs/x86_64"/>
<mkdir dir="extensions/gdx-bullet/libs/ios32"/>
<mkdir dir="extensions/gdx-bullet/libs/armeabi"/>
<mkdir dir="extensions/gdx-bullet/libs/armeabi-v7a"/>
<mkdir dir="extensions/gdx-bullet/libs/arm64-v8a"/>
<mkdir dir="extensions/gdx-bullet/libs/x86"/>
<mkdir dir="extensions/gdx-bullet/libs/x86_64"/>
<mkdir dir="extensions/gdx-freetype/libs/ios32"/>
<mkdir dir="extensions/gdx-freetype/libs/armeabi"/>
<mkdir dir="extensions/gdx-freetype/libs/armeabi-v7a"/>
<mkdir dir="extensions/gdx-freetype/libs/arm64-v8a"/>
<mkdir dir="extensions/gdx-freetype/libs/x86"/>
<mkdir dir="extensions/gdx-freetype/libs/x86_64"/>
<mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/ios32"/>
<mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/armeabi"/>
<mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/armeabi-v7a"/>
<mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/arm64-v8a"/>
<mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/x86"/>
<mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/x86_64"/>
<mkdir dir="extensions/gdx-controllers/gdx-controllers-desktop/libs"/>
<!-- core -->
<get src="https://search.maven.org/remotecontent?filepath=junit/junit/4.11/junit-4.11.jar" dest="gdx/libs/junit-4.11.jar"/>
<get src="https://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar" dest="gdx/libs/hamcrest-core-1.3.jar"/>
<get src="${domain}/gdx-natives.jar" dest="gdx/libs"/>
<get src="${domain}/armeabi/libgdx.so" dest="tmp/armeabi"/>
<get src="${domain}/armeabi/libgdx.so" dest="gdx/libs/armeabi"/>
<get src="${domain}/armeabi-v7a/libgdx.so" dest="tmp/armeabi-v7a"/>
<get src="${domain}/armeabi-v7a/libgdx.so" dest="gdx/libs/armeabi-v7a"/>
<get src="${domain}/arm64-v8a/libgdx.so" dest="tmp/arm64-v8a"/>
<get src="${domain}/arm64-v8a/libgdx.so" dest="gdx/libs/arm64-v8a"/>
<get src="${domain}/x86/libgdx.so" dest="tmp/x86"/>
<get src="${domain}/x86/libgdx.so" dest="gdx/libs/x86"/>
<get src="${domain}/x86_64/libgdx.so" dest="tmp/x86_64"/>
<get src="${domain}/x86_64/libgdx.so" dest="gdx/libs/x86_64"/>
<get src="${domain}/ios/libgdx.a" dest="gdx/libs/ios32"/>
<get src="${domain}/ios/libgdx.a.tvos" dest="gdx/libs/ios32"/>
<get src="${domain}/ios/libObjectAL.a" dest="gdx/libs/ios32"/>
<get src="${domain}/ios/libObjectAL.a.tvos" dest="gdx/libs/ios32"/>
<!-- robovm snapshot jars for robovm backend -->
<antcall target="fetch-robovm"/>
<!-- box2d natives -->
<get src="${domain}/extensions/gdx-box2d/gdx-box2d-natives.jar" dest="extensions/gdx-box2d/gdx-box2d/libs"/>
<get src="${domain}/extensions/gdx-box2d/armeabi/libgdx-box2d.so" dest="tmp/armeabi"/>
<get src="${domain}/extensions/gdx-box2d/armeabi/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/armeabi"/>
<get src="${domain}/extensions/gdx-box2d/armeabi-v7a/libgdx-box2d.so" dest="tmp/armeabi-v7a"/>
<get src="${domain}/extensions/gdx-box2d/armeabi-v7a/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/armeabi-v7a"/>
<get src="${domain}/extensions/gdx-box2d/arm64-v8a/libgdx-box2d.so" dest="tmp/arm64-v8a"/>
<get src="${domain}/extensions/gdx-box2d/arm64-v8a/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/arm64-v8a"/>
<get src="${domain}/extensions/gdx-box2d/x86/libgdx-box2d.so" dest="tmp/x86"/>
<get src="${domain}/extensions/gdx-box2d/x86/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/x86"/>
<get src="${domain}/extensions/gdx-box2d/x86_64/libgdx-box2d.so" dest="tmp/x86_64"/>
<get src="${domain}/extensions/gdx-box2d/x86_64/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/x86_64"/>
<get src="${domain}/extensions/gdx-box2d/ios/libgdx-box2d.a" dest="extensions/gdx-box2d/gdx-box2d/libs/ios32"/>
<get src="${domain}/extensions/gdx-box2d/ios/libgdx-box2d.a.tvos" dest="extensions/gdx-box2d/gdx-box2d/libs/ios32"/>
<!-- bullet natives -->
<get src="${domain}/extensions/gdx-bullet/gdx-bullet-natives.jar" dest="extensions/gdx-bullet/libs"/>
<get src="${domain}/extensions/gdx-bullet/armeabi/libgdx-bullet.so" dest="tmp/armeabi"/>
<get src="${domain}/extensions/gdx-bullet/armeabi/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/armeabi"/>
<get src="${domain}/extensions/gdx-bullet/armeabi-v7a/libgdx-bullet.so" dest="tmp/armeabi-v7a"/>
<get src="${domain}/extensions/gdx-bullet/armeabi-v7a/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/armeabi-v7a"/>
<get src="${domain}/extensions/gdx-bullet/arm64-v8a/libgdx-bullet.so" dest="tmp/arm64-v8a"/>
<get src="${domain}/extensions/gdx-bullet/arm64-v8a/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/arm64-v8a"/>
<get src="${domain}/extensions/gdx-bullet/x86/libgdx-bullet.so" dest="tmp/x86"/>
<get src="${domain}/extensions/gdx-bullet/x86/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/x86"/>
<get src="${domain}/extensions/gdx-bullet/x86_64/libgdx-bullet.so" dest="tmp/x86_64"/>
<get src="${domain}/extensions/gdx-bullet/x86_64/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/x86_64"/>
<get src="${domain}/extensions/gdx-bullet/ios/libgdx-bullet.a" dest="extensions/gdx-bullet/libs/ios32"/>
<get src="${domain}/extensions/gdx-bullet/ios/libgdx-bullet.a.tvos" dest="extensions/gdx-bullet/libs/ios32"/>
<!-- controllers natives, desktop only -->
<get src="${domain}/extensions/gdx-controllers/gdx-controllers-desktop-natives.jar" dest="extensions/gdx-controllers/gdx-controllers-desktop/libs"/>
<!-- freetype natives -->
<get src="${domain}/extensions/gdx-freetype/gdx-freetype-natives.jar" dest="extensions/gdx-freetype/libs"/>
<get src="${domain}/extensions/gdx-freetype/armeabi/libgdx-freetype.so" dest="tmp/armeabi"/>
<get src="${domain}/extensions/gdx-freetype/armeabi/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/armeabi"/>
<get src="${domain}/extensions/gdx-freetype/armeabi-v7a/libgdx-freetype.so" dest="tmp/armeabi-v7a"/>
<get src="${domain}/extensions/gdx-freetype/armeabi-v7a/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/armeabi-v7a"/>
<get src="${domain}/extensions/gdx-freetype/arm64-v8a/libgdx-freetype.so" dest="tmp/arm64-v8a"/>
<get src="${domain}/extensions/gdx-freetype/arm64-v8a/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/arm64-v8a"/>
<get src="${domain}/extensions/gdx-freetype/x86/libgdx-freetype.so" dest="tmp/x86"/>
<get src="${domain}/extensions/gdx-freetype/x86/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/x86"/>
<get src="${domain}/extensions/gdx-freetype/x86_64/libgdx-freetype.so" dest="tmp/x86_64"/>
<get src="${domain}/extensions/gdx-freetype/x86_64/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/x86_64"/>
<get src="${domain}/extensions/gdx-freetype/ios/libgdx-freetype.a" dest="extensions/gdx-freetype/libs/ios32"/>
<get src="${domain}/extensions/gdx-freetype/ios/libgdx-freetype.a.tvos" dest="extensions/gdx-freetype/libs/ios32"/>
<!-- lwjgl 3 -->
<antcall target="fetch-lwjgl3"/>
</target>
<target name="copy">
<!-- copy all extension natives to android tests -->
<copy todir="tests/gdx-tests-android/libs/armeabi">
<fileset dir="tmp/armeabi"/>
</copy>
<copy todir="tests/gdx-tests-android/libs/armeabi-v7a">
<fileset dir="tmp/armeabi-v7a"/>
</copy>
<copy todir="tests/gdx-tests-android/libs/arm64-v8a">
<fileset dir="tmp/arm64-v8a"/>
</copy>
<copy todir="tests/gdx-tests-android/libs/x86">
<fileset dir="tmp/x86"/>
</copy>
<copy todir="tests/gdx-tests-android/libs/x86_64">
<fileset dir="tmp/x86_64"/>
</copy>
</target>
<target name="all" depends="fetch,copy"/>
</project>