Skip to content

Commit 8bc1abb

Browse files
victoryforceTurboGit
authored andcommitted
Add our plugin-free libheif build instead of using the packaged version
1 parent 2a87f15 commit 8bc1abb

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,36 @@ jobs:
100100
- name: Install extra dependencies
101101
run: |
102102
sudo apt-get -y install \
103+
libaom-dev \
103104
libavif-dev \
104105
libgphoto2-dev \
105-
libheif-dev \
106+
libde265-dev \
106107
libimath-dev \
107108
libjpeg-turbo8-dev \
108109
libjxl-dev \
109110
libopenexr-dev \
111+
libopenh264-dev \
110112
libopenjp2-7-dev \
113+
libsharpyuv-dev \
114+
libx265-dev \
111115
x11proto-dev \
112116
libxfixes-dev
117+
- name: Build and install fresh libheif with built-in decoders
118+
run: |
119+
git clone --branch v1.20.1 --depth 1 https://github.com/strukturag/libheif src-libheif
120+
cd src-libheif
121+
cmake -S . -B build -G Ninja \
122+
-DCMAKE_BUILD_TYPE=Release \
123+
-DENABLE_PLUGIN_LOADING=OFF \
124+
-DWITH_LIBDE265=ON \
125+
-DWITH_AOM_DECODER=ON \
126+
-DWITH_AOM_ENCODER=ON \
127+
-DWITH_OpenH264_DECODER=ON \
128+
-DWITH_LIBSHARPYUV=ON \
129+
-DCMAKE_INSTALL_PREFIX=/usr
130+
ninja -C build
131+
sudo ninja -C build install
132+
cd ..
113133
- name: Build and install a more recent version of exiv2
114134
run: |
115135
git clone --branch v0.28.7 --depth 1 https://github.com/Exiv2/exiv2 src-exiv2

0 commit comments

Comments
 (0)