Chris@1539: FROM fedora:25
Chris@1539: MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@1539: RUN dnf update -y && dnf groupinstall -y "Development tools"
Chris@1539: RUN dnf install -y \
Chris@1539:     gcc-c++ \
Chris@1539:     alsa-lib-devel \
Chris@1539:     bzip2-devel \
Chris@1539:     fftw-devel \
Chris@1539:     flac-devel \
Chris@1539:     jack-audio-connection-kit-devel \
Chris@1539:     libid3tag-devel \
Chris@1539:     liblo-devel \
Chris@1539:     liblrdf-devel \
Chris@1539:     libmad-devel \
Chris@1539:     liboggz-devel \
Chris@1539:     libfishsound-devel \
Chris@1539:     libsamplerate-devel \
Chris@1539:     libsndfile-devel \
Chris@1539:     libvorbis-devel \
Chris@1539:     portaudio-devel \
Chris@1539:     pulseaudio-libs-devel \
Chris@1539:     qt5-qtbase-devel qt5-qtsvg-devel \
Chris@1539:     sord-devel \
Chris@1539:     speex-devel \
Chris@1539:     rubberband-devel \
Chris@1539:     git mercurial \
Chris@1539:     curl wget \
Chris@1539:     autoconf automake libtool \
Chris@1539:     langpacks-en
Chris@1539: ENV LANG en_US.UTF-8  
Chris@1539: ENV LC_ALL en_US.UTF-8
Chris@1539: RUN git clone https://github.com/sandstorm-io/capnproto
Chris@1539: WORKDIR capnproto/c++
Chris@1539: RUN ./setup-autotools.sh && autoreconf -i 
Chris@1539: RUN ./configure --enable-static --disable-shared
Chris@1539: RUN make && make install
Chris@1539: WORKDIR ../..
Chris@1539: ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
Chris@1539: RUN hg clone https://code.soundsoftware.ac.uk/hg/sonic-visualiser
Chris@1539: WORKDIR sonic-visualiser
Chris@1539: RUN hg update -r782025ae1249
Chris@1539: RUN perl -i -p -e 's,#include "version.h",#include "../version.h",' main/Surveyer.cpp
Chris@1539: RUN perl -i -p -e 's,#include "version.h",#include "../version.h",' main/PreferencesDialog.cpp
Chris@1539: RUN ./configure
Chris@1539: RUN make -j3
Chris@1539: RUN cp checker/vamp-plugin-load-checker .
Chris@1539: # package...?