Chris@1539
|
1 FROM fedora:25
|
Chris@1539
|
2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
|
Chris@1539
|
3 RUN dnf update -y && dnf groupinstall -y "Development tools"
|
Chris@1539
|
4 RUN dnf install -y \
|
Chris@1539
|
5 gcc-c++ \
|
Chris@1539
|
6 alsa-lib-devel \
|
Chris@1539
|
7 bzip2-devel \
|
Chris@1539
|
8 fftw-devel \
|
Chris@1539
|
9 flac-devel \
|
Chris@1539
|
10 jack-audio-connection-kit-devel \
|
Chris@1539
|
11 libid3tag-devel \
|
Chris@1539
|
12 liblo-devel \
|
Chris@1539
|
13 liblrdf-devel \
|
Chris@1539
|
14 libmad-devel \
|
Chris@1539
|
15 liboggz-devel \
|
Chris@1539
|
16 libfishsound-devel \
|
Chris@1539
|
17 libsamplerate-devel \
|
Chris@1539
|
18 libsndfile-devel \
|
Chris@1539
|
19 libvorbis-devel \
|
Chris@1539
|
20 portaudio-devel \
|
Chris@1539
|
21 pulseaudio-libs-devel \
|
Chris@1539
|
22 qt5-qtbase-devel qt5-qtsvg-devel \
|
Chris@1539
|
23 sord-devel \
|
Chris@1539
|
24 speex-devel \
|
Chris@1539
|
25 rubberband-devel \
|
Chris@1539
|
26 git mercurial \
|
Chris@1539
|
27 curl wget \
|
Chris@1539
|
28 autoconf automake libtool \
|
Chris@1539
|
29 langpacks-en
|
Chris@1539
|
30 ENV LANG en_US.UTF-8
|
Chris@1539
|
31 ENV LC_ALL en_US.UTF-8
|
Chris@1539
|
32 RUN git clone https://github.com/sandstorm-io/capnproto
|
Chris@1539
|
33 WORKDIR capnproto/c++
|
Chris@1539
|
34 RUN ./setup-autotools.sh && autoreconf -i
|
Chris@1539
|
35 RUN ./configure --enable-static --disable-shared
|
Chris@1539
|
36 RUN make && make install
|
Chris@1539
|
37 WORKDIR ../..
|
Chris@1539
|
38 ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
|
Chris@1539
|
39 RUN hg clone https://code.soundsoftware.ac.uk/hg/sonic-visualiser
|
Chris@1539
|
40 WORKDIR sonic-visualiser
|
Chris@1539
|
41 RUN hg update -r782025ae1249
|
Chris@1539
|
42 RUN perl -i -p -e 's,#include "version.h",#include "../version.h",' main/Surveyer.cpp
|
Chris@1539
|
43 RUN perl -i -p -e 's,#include "version.h",#include "../version.h",' main/PreferencesDialog.cpp
|
Chris@1539
|
44 RUN ./configure
|
Chris@1539
|
45 RUN make -j3
|
Chris@1539
|
46 RUN cp checker/vamp-plugin-load-checker .
|
Chris@1539
|
47 # package...?
|