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.6/Dollyfile-system-tools 69127104c12ae52e00d0e0a8787c3c99ece25f59a2c382fc9c811d66a090e5ec14INSTALL /v0.1.6/demos/zero-ad/Dollyfile-openal b087e168ba2c1f7d73f539d969c90ad0a7a73873acf1f11b8099ea342ff0e11f15INSTALL /v0.1.6/demos/zero-ad/Dollyfile-pkgconf c23689c5e826c5143377ee1b66de9a5c2830187fa84d6b7cc9bd4fe63e6d2bba16INSTALL /v0.1.6/demos/zero-ad/Dollyfile-freetype a637b97200e1ceeb75232ea15cd62810b10ebd1dc08aef8222012a5cd94c24e317INSTALL /v0.1.6/demos/xonotic/Dollyfile-libvorbis e096e811ce3b09ac43ccae40dc47e8823d97c46a5540732058f28a51e5da928b18INSTALL /v0.1.6/demos/zero-ad/Dollyfile-fmt 0531c4fbcebcf1b8f8e6f736445d2610ec9957f5251bef3dc3cbed9797803c6719INSTALL /v0.1.6/demos/zero-ad/Dollyfile-libxml2 b614d5f0e479dc95ad190f658a3f0a273a78591d226bfdabfc58e52e9261eb7620INSTALL /v0.1.6/demos/zero-ad/Dollyfile-libsodium 4736b3f79f29f83ff4d81324156d14c7f9f2e217f0a180f377da9c466df9ec8221INSTALL /v0.1.6/demos/zero-ad/Dollyfile-boost-headers a853cfea77f00d28417bbde55abe07f3afeaec603b12f8e15f90d9007dc490f322INSTALL /v0.1.6/demos/zero-ad/Dollyfile-icu 22036b4a532c8c43546e0f165cae7a2b223172dd12a33a3d0b8d0f0ead7271ec23COPY /v0.1.6/demos/sdl2/Dollyfile-sdl2 0cb3d31f4b0eb87610b9d1d5956d1adbc575e67c662b9b8f7d8d50183da65333 /usr/include/SDL2 /usr/include/SDL224COPY /v0.1.6/demos/sdl2/Dollyfile-sdl2 0cb3d31f4b0eb87610b9d1d5956d1adbc575e67c662b9b8f7d8d50183da65333 /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.6/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.6/demos/sdl2/Dollyfile-sdl2 0cb3d31f4b0eb87610b9d1d5956d1adbc575e67c662b9b8f7d8d50183da65333 /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