mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Update Opus to 1.5.2
This fixes compatibility with cmake 4
This commit is contained in:
@@ -121,12 +121,11 @@ RUN git clone -b 1.0.7 --depth=1 {{ GIT }}/google/highway.git \
|
|||||||
&& rm -rf highway
|
&& rm -rf highway
|
||||||
|
|
||||||
FROM builder AS opus
|
FROM builder AS opus
|
||||||
RUN git clone -b v1.4 --depth=1 {{ GIT }}/xiph/opus.git \
|
RUN git clone -b v1.5.2 --depth=1 {{ GIT }}/xiph/opus.git \
|
||||||
&& cd opus \
|
&& cd opus \
|
||||||
&& ./autogen.sh \
|
&& cmake -GNinja -B build . -DCMAKE_BUILD_TYPE=None \
|
||||||
&& ./configure \
|
&& cmake --build build --parallel \
|
||||||
&& make -j$(nproc) \
|
&& DESTDIR="{{ LibrariesPath }}/opus-cache" cmake --install build \
|
||||||
&& make DESTDIR="{{ LibrariesPath }}/opus-cache" install \
|
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -rf opus
|
&& rm -rf opus
|
||||||
|
|
||||||
|
@@ -660,9 +660,8 @@ mac:
|
|||||||
""")
|
""")
|
||||||
|
|
||||||
stage('opus', """
|
stage('opus', """
|
||||||
git clone -b v1.3.1 https://github.com/xiph/opus.git
|
git clone -b v1.5.2 https://github.com/xiph/opus.git
|
||||||
cd opus
|
cd opus
|
||||||
git cherry-pick 927de8453c
|
|
||||||
win:
|
win:
|
||||||
cmake -B out . ^
|
cmake -B out . ^
|
||||||
-A %WIN32X64% ^
|
-A %WIN32X64% ^
|
||||||
|
Reference in New Issue
Block a user