mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Update openal to 1.22.1
Downgrade pipewire headers as openal won't work with pipewire version less than headers it builds with now
This commit is contained in:
parent
03c1f15961
commit
28f75525b2
3 changed files with 4 additions and 10 deletions
|
@ -422,15 +422,13 @@ RUN git init ffmpeg \
|
||||||
&& rm -rf ffmpeg
|
&& rm -rf ffmpeg
|
||||||
|
|
||||||
FROM builder AS pipewire
|
FROM builder AS pipewire
|
||||||
RUN git clone -b 0.3.42 --depth=1 $GIT/PipeWire/pipewire.git \
|
RUN git clone -b 0.3.33 --depth=1 $GIT/PipeWire/pipewire.git \
|
||||||
&& cd pipewire \
|
&& cd pipewire \
|
||||||
&& meson build \
|
&& meson build \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
-Dtests=disabled \
|
-Dtests=disabled \
|
||||||
-Dexamples=disabled \
|
-Dexamples=disabled \
|
||||||
-Dpipewire-v4l2=disabled \
|
|
||||||
-Dspa-plugins=disabled \
|
-Dspa-plugins=disabled \
|
||||||
-Dsession-managers=[] \
|
|
||||||
&& meson compile -C build \
|
&& meson compile -C build \
|
||||||
&& DESTDIR="$LibrariesPath/pipewire-cache" meson install -C build \
|
&& DESTDIR="$LibrariesPath/pipewire-cache" meson install -C build \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
|
@ -439,15 +437,12 @@ RUN git clone -b 0.3.42 --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.0 --depth=1 $GIT/kcat/openal-soft.git \
|
RUN git clone -b 1.22.1 --depth=1 $GIT/kcat/openal-soft.git \
|
||||||
&& cd openal-soft \
|
&& cd openal-soft \
|
||||||
&& curl -sSL https://github.com/kcat/openal-soft/commit/2ea5bb91686ee1a7350672bf15b7b63649dbf111.patch \
|
|
||||||
| git apply \
|
|
||||||
&& 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 \
|
||||||
-DALSOFT_EXAMPLES=OFF \
|
-DALSOFT_EXAMPLES=OFF \
|
||||||
-DALSOFT_TESTS=OFF \
|
|
||||||
-DALSOFT_UTILS=OFF \
|
-DALSOFT_UTILS=OFF \
|
||||||
-DALSOFT_INSTALL_CONFIG=OFF \
|
-DALSOFT_INSTALL_CONFIG=OFF \
|
||||||
&& cmake --build build --parallel \
|
&& cmake --build build --parallel \
|
||||||
|
|
|
@ -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 af8e756d
|
git checkout 1.22.1
|
||||||
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.0
|
source-tag: 1.22.1
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
build-packages:
|
build-packages:
|
||||||
- libasound2-dev
|
- libasound2-dev
|
||||||
|
@ -254,7 +254,6 @@ parts:
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
- -DALSOFT_EXAMPLES=OFF
|
- -DALSOFT_EXAMPLES=OFF
|
||||||
- -DALSOFT_TESTS=OFF
|
|
||||||
- -DALSOFT_UTILS=OFF
|
- -DALSOFT_UTILS=OFF
|
||||||
- -DALSOFT_INSTALL_CONFIG=OFF
|
- -DALSOFT_INSTALL_CONFIG=OFF
|
||||||
prime:
|
prime:
|
||||||
|
|
Loading…
Add table
Reference in a new issue