mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-04 05:09:27 +00:00
* Parallelized compression for rpm package (with pigz) * Fixed dependencies in docker files * Fixed qt configure in RPM spec file (added font support with fontconfig, accessibility options, text-to-speech...) * Little sed + xargs hack to workaround some distros refusing to build with python2 shebangs * Change Qt git repo for building docker image to https in order to pass firewall and avoid timeout while cloning
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-ubuntu:rolling
|
|
|
|
MAINTAINER Peio Rigaux <peio.rigaux@belledonne-communications.com>
|
|
|
|
#Tools for QT buid script
|
|
RUN sudo apt-get update && sudo apt-get install -y python3 pigz
|
|
|
|
|
|
#QT Dependencies
|
|
#atspi and dbus may be used to enable qt accessibility for screan reader
|
|
#xkbcommon is needed for special keyboard features
|
|
#flite1-dev, libspeechd-dev speech-dispatcher are needed for text to speech
|
|
#libfontconfig1-dev is needed to load correct fonts (support of ideograms, etc..)
|
|
RUN sudo apt-get update && sudo apt-get install -y libxkbcommon* flite1-dev libspeechd-dev speech-dispatcher libfontconfig1-dev qdbus-qt5 libqt5dbus5 libdbus-1-dev libdbus-glib-1-dev libatspi2.0-0 libatspi2.0-dev
|
|
|
|
#needed fot qt to find dbus
|
|
ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
|
# Build qt5.12.5
|
|
RUN git clone -b master --single-branch https://gitlab.linphone.org/BC/public/linphone-desktop.git && \
|
|
./linphone-desktop/tools/build_qt_rpm && \
|
|
find "./linphone-desktop/rpm-linphone-qt-5.12.5/rpmbuild/RPMS/x86_64/" -iname "*.rpm" -exec sudo fakeroot alien -d {} + && \
|
|
find "." -maxdepth 1 -iname "*.deb" -exec sudo dpkg -i --force-overwrite {} + && \
|
|
rm -rf ./linphone-desktop
|
|
|
|
ENV Qt5_DIR=/opt/com.belledonne-communications/linphone/lib/cmake
|
|
ENV PATH=$PATH:/opt/com.belledonne-communications/linphone/bin
|
|
|
|
#Appimage deps
|
|
RUN sudo apt-get install -y wget fuse libfuse2 gnupg2
|
|
|
|
USER bc
|
|
WORKDIR /home/bc
|
|
CMD bash
|