Skip to content
Snippets Groups Projects
Commit 2f1ebdd4 authored by Amin Bandali's avatar Amin Bandali
Browse files

packaging: build bundled ffmpeg for libclient and client-qt

Recent libclient and client-qt use avframe from ffmpeg's libavutil.

Change-Id: Ia860e374eb2b8d6c22a79ee0f5a22673a292bf19
parent fd10998d
Branches
Tags
No related merge requests found
...@@ -32,6 +32,23 @@ users. ...@@ -32,6 +32,23 @@ users.
%setup -n jami-project %setup -n jami-project
%build %build
# Configure and build bundled ffmpeg (for libavutil/avframe).
mkdir -p %{_builddir}/jami-project/daemon/contrib/native
cd %{_builddir}/jami-project/daemon/contrib/native && \
../bootstrap \
--no-checksums \
--disable-ogg \
--disable-flac \
--disable-vorbis \
--disable-vorbisenc \
--disable-speex \
--disable-sndfile \
--disable-gsm \
--disable-speexdsp \
--disable-natpmp && \
make list && \
make fetch && \
make %{_smp_mflags} V=1 .ffmpeg
# Qt-related variables # Qt-related variables
cd %{_builddir}/jami-project/lrc && \ cd %{_builddir}/jami-project/lrc && \
mkdir build && cd build && \ mkdir build && cd build && \
......
...@@ -38,6 +38,23 @@ privacy of its users. ...@@ -38,6 +38,23 @@ privacy of its users.
%setup -n jami-project %setup -n jami-project
%build %build
# Configure and build bundled ffmpeg (for libavutil/avframe).
mkdir -p %{_builddir}/jami-project/daemon/contrib/native
cd %{_builddir}/jami-project/daemon/contrib/native && \
../bootstrap \
--no-checksums \
--disable-ogg \
--disable-flac \
--disable-vorbis \
--disable-vorbisenc \
--disable-speex \
--disable-sndfile \
--disable-gsm \
--disable-speexdsp \
--disable-natpmp && \
make list && \
make fetch && \
make %{_smp_mflags} V=1 .ffmpeg
# Qt-related variables # Qt-related variables
cd %{_builddir}/jami-project/client-qt && \ cd %{_builddir}/jami-project/client-qt && \
mkdir build && cd build && \ mkdir build && cd build && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment