]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_shout] Enable module in Dockerfile example. 1966/head
authors3rj1k <evasive.gyron@gmail.com>
Thu, 16 Feb 2023 16:11:28 +0000 (18:11 +0200)
committers3rj1k <evasive.gyron@gmail.com>
Thu, 16 Feb 2023 16:11:28 +0000 (18:11 +0200)
Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
docker/examples/Debian11/Dockerfile

index 2497a39850d54d074c12eaa6414df47756098ab6..10d9302be18adfc6d0a9abbd0bde267aa1e22f02 100644 (file)
@@ -31,13 +31,18 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install \
 # mod_pgsql\r
     libpq-dev \\r
 # mod_sndfile\r
-    libsndfile1-dev libflac-dev libogg-dev libvorbis-dev\r
-  \r
+    libsndfile1-dev libflac-dev libogg-dev libvorbis-dev \\r
+# mod_shout\r
+    libshout3-dev libmpg123-dev libmp3lame-dev\r
+\r
 RUN cd /usr/src/libs/libks && cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBBACKTRACE=1 && make install\r
 RUN cd /usr/src/libs/sofia-sip && ./bootstrap.sh && ./configure CFLAGS="-g -ggdb" --with-pic --with-glib=no --without-doxygen --disable-stun --prefix=/usr && make -j`nproc --all` && make install\r
 RUN cd /usr/src/libs/spandsp && ./bootstrap.sh && ./configure CFLAGS="-g -ggdb" --with-pic --prefix=/usr && make -j`nproc --all` && make install\r
 RUN cd /usr/src/libs/signalwire-c && PKG_CONFIG_PATH=/usr/lib/pkgconfig cmake . -DCMAKE_INSTALL_PREFIX=/usr && make install\r
 \r
+# Enable modules\r
+RUN sed -i 's|#formats/mod_shout|formats/mod_shout|' /usr/src/freeswitch/build/modules.conf.in\r
+\r
 RUN cd /usr/src/freeswitch && ./bootstrap.sh -j\r
 RUN cd /usr/src/freeswitch && ./configure\r
 RUN cd /usr/src/freeswitch && make -j`nproc` && make install\r
@@ -46,4 +51,4 @@ RUN cd /usr/src/freeswitch && make -j`nproc` && make install
 RUN apt-get clean\r
 \r
 # Uncomment to cleanup even more\r
-#RUN rm -rf /usr/src/*
\ No newline at end of file
+#RUN rm -rf /usr/src/*\r