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
|
||||
|
||||
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 \
|
||||
&& meson build \
|
||||
--buildtype=release \
|
||||
@ -437,9 +437,8 @@ RUN git clone -b 0.3.33 --depth=1 $GIT/PipeWire/pipewire.git \
|
||||
FROM builder AS openal
|
||||
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 \
|
||||
&& 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 . \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIBTYPE:STRING=STATIC \
|
||||
|
@ -976,7 +976,7 @@ release:
|
||||
mac:
|
||||
git clone https://github.com/kcat/openal-soft.git
|
||||
cd openal-soft
|
||||
git checkout 1.22.1
|
||||
git checkout 1.22.2
|
||||
CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -B build . \\
|
||||
-D CMAKE_INSTALL_PREFIX:PATH=$USED_PREFIX \\
|
||||
-D ALSOFT_EXAMPLES=OFF \\
|
||||
|
@ -237,7 +237,7 @@ parts:
|
||||
openal:
|
||||
source: https://github.com/kcat/openal-soft.git
|
||||
source-depth: 1
|
||||
source-tag: 1.22.1
|
||||
source-tag: 1.22.2
|
||||
plugin: cmake
|
||||
build-packages:
|
||||
- libasound2-dev
|
||||
@ -256,9 +256,6 @@ parts:
|
||||
- -DALSOFT_EXAMPLES=OFF
|
||||
- -DALSOFT_UTILS=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:
|
||||
- -./usr/include
|
||||
- -./usr/lib/$CRAFT_ARCH_TRIPLET/cmake
|
||||
|
Loading…
Reference in New Issue
Block a user