add jamulus for debian 7 and 10
This commit is contained in:
parent
b026ec3dd1
commit
13a4c7acac
4 changed files with 60 additions and 0 deletions
30
jamulus-wheezy/Dockerfile
Normal file
30
jamulus-wheezy/Dockerfile
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
ARG JAMULUS_VERSION=r3_6_1
|
||||||
|
|
||||||
|
FROM debian/eol:wheezy AS build-stage
|
||||||
|
|
||||||
|
ARG JAMULUS_VERSION
|
||||||
|
|
||||||
|
RUN echo "deb http://archive.debian.org/debian/ wheezy-backports main contrib non-free" >> /etc/apt/sources.list
|
||||||
|
RUN echo "deb-src http://archive.debian.org/debian/ wheezy-backports main contrib non-free" >> /etc/apt/sources.list
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
qt5-qmake \
|
||||||
|
qtdeclarative5-dev \
|
||||||
|
qt5-default \
|
||||||
|
qttools5-dev-tools \
|
||||||
|
wget
|
||||||
|
RUN wget --no-check-certificate https://github.com/corrados/jamulus/archive/$JAMULUS_VERSION.tar.gz
|
||||||
|
RUN tar xzf $JAMULUS_VERSION.tar.gz
|
||||||
|
# fix "error: 'runtime_error' is not a member of 'std'"
|
||||||
|
RUN sed -i '37i#include <stdexcept>' jamulus-$JAMULUS_VERSION/src/recorder/jamrecorder.h
|
||||||
|
RUN cd jamulus-$JAMULUS_VERSION \
|
||||||
|
&& qmake "CONFIG+=nosound headless noupcasename" Jamulus.pro \
|
||||||
|
&& make
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
|
||||||
|
ARG JAMULUS_VERSION
|
||||||
|
|
||||||
|
COPY --from=build-stage /jamulus-$JAMULUS_VERSION/jamulus .
|
||||||
|
|
2
jamulus-wheezy/out/.gitignore
vendored
Normal file
2
jamulus-wheezy/out/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
26
jamulus/Dockerfile
Normal file
26
jamulus/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
ARG JAMULUS_VERSION=r3_6_1
|
||||||
|
|
||||||
|
FROM debian:buster-backports AS build-stage
|
||||||
|
|
||||||
|
ARG JAMULUS_VERSION
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
qt5-qmake \
|
||||||
|
qtdeclarative5-dev \
|
||||||
|
qt5-default \
|
||||||
|
qttools5-dev-tools \
|
||||||
|
wget
|
||||||
|
RUN wget https://github.com/corrados/jamulus/archive/$JAMULUS_VERSION.tar.gz
|
||||||
|
RUN tar xzf $JAMULUS_VERSION.tar.gz
|
||||||
|
RUN cd jamulus-$JAMULUS_VERSION \
|
||||||
|
&& qmake "CONFIG+=nosound headless noupcasename" Jamulus.pro \
|
||||||
|
&& make
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
|
||||||
|
ARG JAMULUS_VERSION
|
||||||
|
|
||||||
|
COPY --from=build-stage /jamulus-$JAMULUS_VERSION/jamulus .
|
||||||
|
|
2
jamulus/out/.gitignore
vendored
Normal file
2
jamulus/out/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
Reference in a new issue