Commit f41d8f54 authored by Martin Storsjö's avatar Martin Storsjö

dav1d-debian-unstable: Install wine, modify cross files for using wine

parent 5c67c19a
Pipeline #4681 failed with stage
in 3 minutes and 24 seconds
......@@ -21,10 +21,15 @@ RUN addgroup --quiet --gid ${VIDEOLAN_UID} videolan && \
python3-setuptools python3-wheel nasm clang \
gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 \
gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools \
libc6-dev:i386 libgcc-8-dev:i386 && \
libc6-dev:i386 libgcc-8-dev:i386 \
wine wine32 wine64 procps && \
pip3 install meson ninja && \
apt-get clean -y && rm -rf /var/lib/apt/lists/*
COPY crossfiles/ /opt/crossfiles/
USER videolan
COPY scripts/wait_process.sh /opt/wine/
RUN wine wineboot --init && \
/opt/wine/wait_process.sh wineserver
......@@ -4,9 +4,11 @@ cpp = 'i686-w64-mingw32-g++'
ar = 'i686-w64-mingw32-ar'
strip = 'i686-w64-mingw32-strip'
windres = 'i686-w64-mingw32-windres'
exe_wrapper = ['wine']
[properties]
c_link_args = ['-static-libgcc']
needs_exe_wrapper = true
[host_machine]
system = 'windows'
......
......@@ -4,9 +4,11 @@ cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
exe_wrapper = ['wine']
[properties]
c_link_args = ['-static-libgcc']
needs_exe_wrapper = true
[host_machine]
system = 'windows'
......
#!/bin/sh
# inspired by http://stackoverflow.com/a/10407912
echo "Start waiting on $@"
while pgrep -u xclient "$@" > /dev/null; do
echo "waiting ..."
sleep 1;
done
echo "$@ completed"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment