Created
April 27, 2019 20:56
-
-
Save znerol/cdd294fc9d4c2a7a01693b22f7b7dcf5 to your computer and use it in GitHub Desktop.
Build instructions for AEO-light (debian)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch | |
# Install basic build dependencies | |
RUN apt-get update && apt-get -y install \ | |
autoconf automake build-essential git libtool python-minimal | |
RUN mkdir -p /src | |
# Build libdpx | |
WORKDIR /src | |
RUN git clone https://github.com/PatrickPalmer/dpx.git | |
WORKDIR /src/dpx | |
RUN libtoolize && aclocal && autoconf && automake -a && ./configure && make | |
# Build dspfilters | |
WORKDIR /src | |
RUN git clone https://github.com/vinniefalco/DSPFilters.git | |
WORKDIR /src/DSPFilters | |
RUN python waf configure && python waf build && python waf install | |
# Install remaining build dependencies | |
RUN apt-get -y install \ | |
libavcodec-dev \ | |
libavfilter-dev \ | |
libavformat-dev \ | |
libavutil-dev \ | |
libtiff5-dev \ | |
qt5-default \ | |
qtmultimedia5-dev | |
WORKDIR /src | |
RUN git clone https://github.com/usc-imi/aeo-light.git | |
WORKDIR /src/aeo-light | |
# Note: libdpx is linked statically, the qmake project file expects the librari in CWD | |
RUN cp ../dpx/libdpx/libdpx.a ./libdpx.a | |
# Note: The library is installed as `libDSPFilters.so`, thus it is necessary to patch the project file otherwise linking fails on case-sensitive filesystems. | |
RUN sed -i 's#-ldspfilters#-lDSPFilters#g' aeogui.pro | |
RUN qmake && make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment