diff options
| author | claude-bot <[email protected]> | 2026-07-13 12:40:01 +0000 |
|---|---|---|
| committer | claude-bot <[email protected]> | 2026-07-13 12:40:01 +0000 |
| commit | 02fe7437413eaaf7cee46e5a1862c1fc7ac0dbba (patch) | |
| tree | 50a2f61b89ee66f9ff58b7b9167a8e5232e19e3c /mingw/Dockerfile | |
| download | opusfile-master.tar.gz opusfile-master.zip | |
Snapshot for re3/reVC vendoring, per @lzcnt.
Source: https://github.com/xiph/opusfile (4174c26e0aaab19d01afdea0a46f7f95fdc6b3e6).
Diffstat (limited to 'mingw/Dockerfile')
| -rw-r--r-- | mingw/Dockerfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mingw/Dockerfile b/mingw/Dockerfile new file mode 100644 index 0000000..f394e90 --- /dev/null +++ b/mingw/Dockerfile @@ -0,0 +1,21 @@ +FROM fedora:32 +MAINTAINER [email protected] + +# Linux build. +RUN dnf update -y --setopt=deltarpm=0 +RUN dnf install -y git gcc make wget xz +RUN dnf install -y autoconf automake libtool pkgconfig + +# mingw cross build. +RUN dnf install -y mingw32-gcc zip + +RUN dnf clean all + +RUN git clone https://gitlab.xiph.org/xiph/opusfile.git + +WORKDIR opusfile +RUN git pull +COPY Makefile mingw/Makefile +RUN make -C mingw +RUN ./autogen.sh && ./configure --host=i686-w64-mingw32 --prefix=${PWD}/mingw PKG_CONFIG_PATH=${PWD}/mingw/lib/pkgconfig && make && make check && make install +RUN make -C mingw package |
