Skip to content

Commit

Permalink
Build with poppler in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Jan 13, 2024
1 parent dad7fcc commit e945f84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/conf/AppImageBuilder.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ AppDir:
- libswscale5
- libdeflate0
- libsixel1
#- libpoppler-glib8
- librsvg2-2
- libcairo-gobject2

files:
include:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ jobs:
sudo apt install librsvg2-dev libcairo-dev
sudo apt install libavcodec-dev libavformat-dev libavdevice-dev
sudo apt install libopenslide-dev
sudo apt install libpoppler-glib-dev
sudo apt install pandoc
- name: Build timg with all options enabled
run: |
mkdir build
cd build
cmake .. -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On -DWITH_STB_IMAGE=On -DWITH_RSVG=On -DWITH_LIBSIXEL=On
cmake .. -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On -DWITH_STB_IMAGE=On -DWITH_RSVG=On -DWITH_POPPLER=On -DWITH_LIBSIXEL=On
make -k
- name: Print timg Version string
Expand Down Expand Up @@ -143,6 +144,7 @@ jobs:
sudo apt install libturbojpeg-dev libexif-dev
sudo apt install librsvg2-dev libcairo-dev
sudo apt install libsixel-dev
sudo apt install libpoppler-glib-dev
sudo apt install pandoc
- name: Set Version
Expand All @@ -156,6 +158,7 @@ jobs:
./.github/bin/prepare-app-image.sh \
-DWITH_GRAPHICSMAGICK=Off \
-DWITH_RSVG=On \
-DWITH_POPPLER=Off \
-DWITH_VIDEO_DECODING=Off \
-DWITH_VIDEO_DEVICE=Off \
-DWITH_OPENSLIDE_SUPPORT=Off \
Expand Down

0 comments on commit e945f84

Please sign in to comment.