Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/3rdparty/opusfile/mingw/Dockerfile
Joshua Goins a7fc58f7b5 Improve Windows support
Graph now includes more libraries out of the box, similiar
to Prism.
2022-03-27 22:22:02 -04:00

21 lines
577 B
Docker

FROM fedora:28
MAINTAINER opus@xiph.org
# 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://git.xiph.org/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