From 13a4c7acac01250db6ed8adab988fc402874aa55 Mon Sep 17 00:00:00 2001 From: lookshe Date: Sat, 28 Nov 2020 21:11:26 +0100 Subject: add jamulus for debian 7 and 10 --- jamulus-wheezy/Dockerfile | 30 ++++++++++++++++++++++++++++++ jamulus-wheezy/out/.gitignore | 2 ++ jamulus/Dockerfile | 26 ++++++++++++++++++++++++++ jamulus/out/.gitignore | 2 ++ 4 files changed, 60 insertions(+) create mode 100644 jamulus-wheezy/Dockerfile create mode 100644 jamulus-wheezy/out/.gitignore create mode 100644 jamulus/Dockerfile create mode 100644 jamulus/out/.gitignore diff --git a/jamulus-wheezy/Dockerfile b/jamulus-wheezy/Dockerfile new file mode 100644 index 0000000..3820630 --- /dev/null +++ b/jamulus-wheezy/Dockerfile @@ -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 ' 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 . + diff --git a/jamulus-wheezy/out/.gitignore b/jamulus-wheezy/out/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/jamulus-wheezy/out/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/jamulus/Dockerfile b/jamulus/Dockerfile new file mode 100644 index 0000000..1acc9c5 --- /dev/null +++ b/jamulus/Dockerfile @@ -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 . + diff --git a/jamulus/out/.gitignore b/jamulus/out/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/jamulus/out/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore -- cgit v1.2.3