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..52ef9c5e 100644
--- a/extra/cairo/checksums
+++ b/extra/cairo/checksums
@@ -1 +1,2 @@
-5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331 cairo-1.16.0.tar.xz
+%BLAKE3
+55b4b6406668e08dd6b816beba82c86df8e9a5468352c66597badb4f6583930e cairo-1.18.0.tar.xz
diff --git a/extra/cairo/sources b/extra/cairo/sources
index e43c5aab..35ab0ad8 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.0.tar.xz
diff --git a/extra/cairo/version b/extra/cairo/version
index 7a092de2..f0fb559d 100644
--- a/extra/cairo/version
+++ b/extra/cairo/version
@@ -1 +1 @@
-1.16.0 3
+1.18.0 1