mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-20 22:41:11 +00:00
Update openal to 1.22.2
This commit is contained in:
parent
bf0ad9e7ca
commit
aeddaf3dbd
@ -422,7 +422,7 @@ RUN git init ffmpeg \
|
|||||||
&& rm -rf ffmpeg
|
&& rm -rf ffmpeg
|
||||||
|
|
||||||
FROM builder AS pipewire
|
FROM builder AS pipewire
|
||||||
RUN git clone -b 0.3.33 --depth=1 $GIT/PipeWire/pipewire.git \
|
RUN git clone -b 0.3.25 --depth=1 $GIT/PipeWire/pipewire.git \
|
||||||
&& cd pipewire \
|
&& cd pipewire \
|
||||||
&& meson build \
|
&& meson build \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
@ -437,9 +437,8 @@ RUN git clone -b 0.3.33 --depth=1 $GIT/PipeWire/pipewire.git \
|
|||||||
FROM builder AS openal
|
FROM builder AS openal
|
||||||
COPY --from=pipewire ${LibrariesPath}/pipewire-cache /
|
COPY --from=pipewire ${LibrariesPath}/pipewire-cache /
|
||||||
|
|
||||||
RUN git clone -b 1.22.1 --depth=1 $GIT/kcat/openal-soft.git \
|
RUN git clone -b 1.22.2 --depth=1 $GIT/kcat/openal-soft.git \
|
||||||
&& cd openal-soft \
|
&& cd openal-soft \
|
||||||
&& sed -i 's@PW_CHECK_VERSION(major, minor, revision)@!PW_CHECK_VERSION(major, minor, revision + 1)@' alc/backends/pipewire.cpp \
|
|
||||||
&& CFLAGS="$HFLAGS" CXXFLAGS="$HFLAGS" cmake -GNinja -B build . \
|
&& CFLAGS="$HFLAGS" CXXFLAGS="$HFLAGS" cmake -GNinja -B build . \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DLIBTYPE:STRING=STATIC \
|
-DLIBTYPE:STRING=STATIC \
|
||||||
|
@ -976,7 +976,7 @@ release:
|
|||||||
mac:
|
mac:
|
||||||
git clone https://github.com/kcat/openal-soft.git
|
git clone https://github.com/kcat/openal-soft.git
|
||||||
cd openal-soft
|
cd openal-soft
|
||||||
git checkout 1.22.1
|
git checkout 1.22.2
|
||||||
CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -B build . \\
|
CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -B build . \\
|
||||||
-D CMAKE_INSTALL_PREFIX:PATH=$USED_PREFIX \\
|
-D CMAKE_INSTALL_PREFIX:PATH=$USED_PREFIX \\
|
||||||
-D ALSOFT_EXAMPLES=OFF \\
|
-D ALSOFT_EXAMPLES=OFF \\
|
||||||
|
@ -237,7 +237,7 @@ parts:
|
|||||||
openal:
|
openal:
|
||||||
source: https://github.com/kcat/openal-soft.git
|
source: https://github.com/kcat/openal-soft.git
|
||||||
source-depth: 1
|
source-depth: 1
|
||||||
source-tag: 1.22.1
|
source-tag: 1.22.2
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
build-packages:
|
build-packages:
|
||||||
- libasound2-dev
|
- libasound2-dev
|
||||||
@ -256,9 +256,6 @@ parts:
|
|||||||
- -DALSOFT_EXAMPLES=OFF
|
- -DALSOFT_EXAMPLES=OFF
|
||||||
- -DALSOFT_UTILS=OFF
|
- -DALSOFT_UTILS=OFF
|
||||||
- -DALSOFT_INSTALL_CONFIG=OFF
|
- -DALSOFT_INSTALL_CONFIG=OFF
|
||||||
override-pull: |
|
|
||||||
craftctl default
|
|
||||||
sed -i 's@PW_CHECK_VERSION(major, minor, revision)@!PW_CHECK_VERSION(major, minor, revision + 1)@' alc/backends/pipewire.cpp
|
|
||||||
prime:
|
prime:
|
||||||
- -./usr/include
|
- -./usr/include
|
||||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET/cmake
|
- -./usr/lib/$CRAFT_ARCH_TRIPLET/cmake
|
||||||
|
Loading…
Reference in New Issue
Block a user