1DOLLY 72TOOLCHAIN zero-ad-deps3REQUIRES HOST runtime@04REQUIRES HOST audio@05REQUIRES HOST display@06REQUIRES HOST input@07REQUIRES HOST http@08REQUIRES HOST threads@0910# Build-only: the libraries the 0 A.D. engine links, installed from their11# packages, and ENet with Dolly's transport built here from the pinned upstream12# source of build-sources.tsv; pkgconf for its premake scripts.13FROM /v0.1.5/Dollyfile-system-tools 39e8ad7c80d06b7a0c420bbeaae2e6b2423e7e633d38640e82d72a73c20e232a14INSTALL /v0.1.5/demos/zero-ad/Dollyfile-openal 0f3cea1aeb11fca7fe8e37d6c78a756bdc41a159e5ce7032594cada2b5e6460b15INSTALL /v0.1.5/demos/zero-ad/Dollyfile-pkgconf 093ecdba243fbc62c20fd1c9c51aef92ed4a8f256f5500944e8011c832a9525816INSTALL /v0.1.5/demos/zero-ad/Dollyfile-freetype 678cbfa3ebea858fe30f962853897958e256d1adf145fb8062fc0c5fc390ec6d17INSTALL /v0.1.5/demos/xonotic/Dollyfile-libvorbis ab7723d060e33e116f8fc93bc2a67c50b5a9bff4959a9c81104ace47ac8889b118INSTALL /v0.1.5/demos/zero-ad/Dollyfile-fmt 50edebb34c1bb667fa35f2dc0b20633ca76f23baae1277829ac7f5e489b122b019INSTALL /v0.1.5/demos/zero-ad/Dollyfile-libxml2 fa068ab84f77e6c6deb408aa098dc83b1fabb19858201342db1308f57a2bef2a20INSTALL /v0.1.5/demos/zero-ad/Dollyfile-libsodium ce5e6bc926442c044596ff843f0b2229f22c7509a43da929d1bbc77d3560139a21INSTALL /v0.1.5/demos/zero-ad/Dollyfile-boost-headers 289d198b97a9d809c5f97d44787e3562936d811315c2633ca38dd3e0e45ea81922INSTALL /v0.1.5/demos/zero-ad/Dollyfile-icu a2994aa6215c1d5227de5143385e9cba3892f529016b241169816639f0f7767f23COPY /v0.1.5/demos/sdl2/Dollyfile-sdl2 cd864c7c3220d915822ca58199fe4df7c7f2e5fb21d34c77a6aa86f77ed466dc /usr/include/SDL2 /usr/include/SDL224COPY /v0.1.5/demos/sdl2/Dollyfile-sdl2 cd864c7c3220d915822ca58199fe4df7c7f2e5fb21d34c77a6aa86f77ed466dc /usr/lib/libSDL2.a /usr/lib/libSDL2.a25REQUIRES HEADER libc26REQUIRES HEADER cpp27REQUIRES TOOL cc28REQUIRES TOOL c++29REQUIRES TOOL ar30REQUIRES TOOL make31REQUIRES TOOL gzip32REQUIRES TOOL tar33REQUIRES TOOL cp34REQUIRES TOOL mkdir35REQUIRES TOOL rm3637SOURCE /v0.1.5/dist/static/zero-ad-build/deps.tar.gz 18922d6461ca5e99d0c62930aae4c3f7f65f5c19d20fe98a711e225e9e8c3048 /tmp/zad/deps.tar.gz38SLOP gzip -dc /tmp/zad/deps.tar.gz | tar -xf - -C /39# Licences of the libraries the engine links; zero-ad copies them.40COPY /v0.1.5/demos/sdl2/Dollyfile-sdl2 cd864c7c3220d915822ca58199fe4df7c7f2e5fb21d34c77a6aa86f77ed466dc /usr/share/licenses/SDL2 /usr/share/licenses/SDL241FOLDER /usr/share/licenses4243# ENet keeps its protocol; dolly.c replaces the unix.c and win32.c socket backends.44SLOP cp /tmp/zad/enet-dolly.c /tmp/zad/enet/dolly.c45SLOP rm /tmp/zad/enet/unix.c /tmp/zad/enet/win32.c46FILE /tmp/zad/enet/Makefile47    CFLAGS := -O2 -I/tmp/zad/enet/include48    /usr/lib/libenet.a: $(patsubst %.c,%.o,$(wildcard /tmp/zad/enet/*.c))49    	ar rcs $@ $^50SLOP make -C /tmp/zad/enet -j451SLOP cp -R /tmp/zad/enet/include/enet /usr/include/5253# pkg-config descriptions of SDL2 (copied without its own), of Dolly's libcurl54# and of ENet, built without its upstream build system.55FILE /usr/lib/pkgconfig/sdl2.pc56    Name: sdl257    Description: Simple DirectMedia Layer58    Version: 2.32.1059    Cflags: -I/usr/include/SDL260    Libs: -lSDL2 -lm61FILE /usr/lib/pkgconfig/libcurl.pc62    Name: libcurl63    Description: Dolly's libcurl over the HTTP broker64    Version: 8.21.065    Libs: -lcurl66FILE /usr/lib/pkgconfig/libenet.pc67    Name: libenet68    Description: Low-latency UDP networking library supporting optional reliability69    Version: 1.3.1870    Libs: -lenet71SLOP pkg-config --exists zlib libcurl icu-i18n libsodium libenet libpng freetype2 vorbisfile fmt libxml-2.0 openal sdl27273# Probes for test/0ad-enet-browser.mjs and test/0ad-openal-browser.mjs.74SLOP mkdir -p /usr/libexec/zero-ad75SLOP cc -O1 /tmp/zad/enet-check.c -lenet -o /usr/libexec/zero-ad/enet-check76SLOP c++ -O1 /tmp/zad/openal-check.cpp -lopenal -lm -o /usr/libexec/zero-ad/openal-check77FOLDER /usr/libexec/zero-ad7879EXPORTS FOLDER zero-ad-pkgconfig /usr/lib/pkgconfig80EXPORTS HEADER enet /usr/include/enet81EXPORTS LIB enet /usr/lib/libenet.a8283ENTRY /bin/foreground -i /bin/slop84