Skip to content

Commit 20a9381

Browse files
committed
steam runtime 4
1 parent a8eca22 commit 20a9381

3 files changed

Lines changed: 6 additions & 34 deletions

File tree

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
FROM steamrt_sniper_amd64
1+
FROM registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk
22
ENV DEBIAN_FRONTEND=noninteractive
33
ARG BOOST_VERSION=1.87.0
44
ARG BOOST_VERSION_=1_87_0
5-
ARG PANGO_VERSION=1.50
6-
ARG PANGO_VERSION_FULL=1.50.14
75

86
RUN apt-get update
9-
RUN apt-get install -y scons meson libreadline-dev expect-dev
7+
RUN apt-get install -y scons libreadline-dev expect-dev
108

119
RUN wget --max-redirect 3 https://archives.boost.io/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_}.tar.gz
1210
RUN mkdir -p /src/boost && tar zxf boost_${BOOST_VERSION_}.tar.gz -C /src/boost --strip-components=1
13-
RUN cd /src/boost && ./bootstrap.sh --with-libraries=charconv,iostreams,regex,system,filesystem,process,program_options,random,locale,context,coroutine,graph && ./b2 toolset=gcc-10 --layout=system link=static variant=release cxxflags='-fPIE -fstack-protector-strong' define=_FORTIFY_SOURCE=2 install
11+
RUN cd /src/boost && ./bootstrap.sh --with-libraries=charconv,iostreams,regex,system,filesystem,process,program_options,random,locale,context,coroutine,graph && ./b2 toolset=gcc-14 --layout=system link=static variant=release cxxflags='-fPIE -fstack-protector-strong' define=_FORTIFY_SOURCE=2 install
1412

15-
RUN wget --max-redirect 3 https://download.gnome.org/sources/pango/${PANGO_VERSION}/pango-${PANGO_VERSION_FULL}.tar.xz
16-
RUN mkdir -p /src/pango && tar xf pango-${PANGO_VERSION_FULL}.tar.xz -C /src/pango --strip-components=1
17-
RUN cd /src/pango && mkdir build && meson setup . build --prefix=/usr/local && ninja -C build && ninja -C build install

utils/dockerbuilds/make_steam_build

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ if [ -d "$PWD"/../../../build ]; then
1010
echo "Existing scons 'build' directory found, this may cause the build to fail!"
1111
fi
1212

13-
docker run -v "$PWD"/../../..:/wesnoth -v "$PWD"/../steambuild:/output --tmpfs /build:exec,mode=1777 -u "$(id -u)" wesnoth/wesnoth:steamrt-sniper sh -c 'mkdir -p /build && cd /build &&
14-
scons -j `nproc` ctool=gcc-10 cxxtool=g++-10 enable_lto=true boostdir=/usr/local/include boostlibdir=/usr/local/lib extra_flags_config=-lrt -Y /wesnoth &&
15-
cp /build/wesnoth /build/wesnothd /output/ &&
16-
mkdir -p /output/lib && cp /usr/local/lib/x86_64-linux-gnu/libpango* /output/lib/'
13+
docker run -v "$PWD"/../../..:/wesnoth -v "$PWD"/../steambuild:/output --tmpfs /build:exec,mode=1777 -u "$(id -u)" wesnoth/wesnoth:steamrt-4 sh -c 'mkdir -p /build && cd /build &&
14+
scons -j `nproc` ctool=gcc-14 cxxtool=g++-14 enable_lto=true boostdir=/usr/local/include boostlibdir=/usr/local/lib extra_flags_config=-lrt -Y /wesnoth &&
15+
cp /build/wesnoth /build/wesnothd /output/'
1716

1817
cp start.sh ../steambuild

utils/dockerbuilds/make_steam_image

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)