Skip to content

Commit ac0bc0b

Browse files
committed
Use cairomm and pangomm
1 parent 1c85c08 commit ac0bc0b

3 files changed

Lines changed: 176 additions & 183 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
blocks: -DUNICODE_BLOCKS=/usr/share/unicode/Blocks.txt
2222
install_packages: >
2323
sudo apt update &&
24-
sudo apt install cmake gettext libcairo2-dev libglib2.0-dev libfmt-dev libfreetype6-dev libpango1.0-dev ninja-build pkg-config unicode-data
24+
sudo apt install cmake gettext libcairo2-dev libcairomm-1.0-dev libglib2.0-dev libfmt-dev libfreetype6-dev libpango1.0-dev libpangomm-1.4-dev ninja-build pkg-config unicode-data
2525
- os: macos-latest
2626
env:
2727
- CMAKE_PREFIX_PATH: /usr/local/opt/gettext
2828
install_packages: >
2929
brew update &&
30-
brew install cairo cmake fmt fontconfig freetype gettext glib pango ninja pkg-config
30+
brew install cairo cairomm cmake fmt fontconfig freetype gettext glib pango pangomm ninja pkg-config
3131
3232
runs-on: ${{matrix.os}}
3333

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,17 @@ endif()
2727

2828
pkg_check_modules(pkgs REQUIRED IMPORTED_TARGET
2929
cairo>=1.15.4
30+
cairomm-1.16
31+
cairomm-ft-1.16
32+
cairomm-pdf-1.16
33+
cairomm-ps-1.16
34+
cairomm-svg-1.16
3035
fontconfig
3136
freetype2
3237
glib-2.0
3338
pangocairo>=1.37.0
3439
pangoft2>=1.37.0
40+
pangomm-2.48
3541
)
3642

3743
include(DownloadUnicodeBlocks)

0 commit comments

Comments
 (0)