aboutsummaryrefslogtreecommitdiff
path: root/extra/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cairo')
-rwxr-xr-xextra/cairo/build37
-rw-r--r--extra/cairo/checksums3
-rw-r--r--extra/cairo/sources2
-rw-r--r--extra/cairo/version2
4 files changed, 18 insertions, 26 deletions
diff --git a/extra/cairo/build b/extra/cairo/build
index 90ed8ead..758be720 100755
--- a/extra/cairo/build
+++ b/extra/cairo/build
@@ -1,27 +1,18 @@
#!/bin/sh -e
-sed_i() {
- for file; do :; done
- sed "$@" >_
- cat _ > "$file"; rm -f _
-}
+export DESTDIR="$1"
-# Disable building 'cairo-sphinx'.
-sed_i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure
-sed_i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure
+cl-meson \
+ -Ddefault_library=both \
+ -Dtee=enabled \
+ -Dglib=enabled \
+ -Dfontconfig=enabled \
+ -Dfreetype=enabled \
+ -Dgtk_doc=false \
+ -Dxcb=enabled \
+ -Dzlib=enabled \
+ -Dpng=enabled \
+ . output
-./configure \
- --prefix=/usr \
- --enable-tee \
- --enable-gl \
- --enable-egl \
- --enable-xlib-xcb \
- --enable-xcb \
- --enable-xlib-xrender \
- --enable-xlib \
- --disable-trace \
- --disable-valgrind \
- --disable-gtk-doc-html
-
-make
-make DESTDIR="$1" install
+ninja -C output
+ninja -C output install
diff --git a/extra/cairo/checksums b/extra/cairo/checksums
index a07be27b..24def2b9 100644
--- a/extra/cairo/checksums
+++ b/extra/cairo/checksums
@@ -1 +1,2 @@
-5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331 cairo-1.16.0.tar.xz
+%BLAKE3
+87aa80e009ba292c6bb0d9192bfa259927e668db366f0cb00823a3247daa4e5b cairo-1.18.2.tar.xz
diff --git a/extra/cairo/sources b/extra/cairo/sources
index e43c5aab..144d874b 100644
--- a/extra/cairo/sources
+++ b/extra/cairo/sources
@@ -1 +1 @@
-https://cairographics.org/releases/cairo-1.16.0.tar.xz
+https://cairographics.org/releases/cairo-1.18.2.tar.xz
diff --git a/extra/cairo/version b/extra/cairo/version
index 7a092de2..456db47c 100644
--- a/extra/cairo/version
+++ b/extra/cairo/version
@@ -1 +1 @@
-1.16.0 3
+1.18.2 1