cairo 1.18.0-2

This commit is contained in:
xhaa123 2024-04-30 21:40:01 +08:00
parent 98db1752e2
commit 0d5c40815d

View File

@ -6,20 +6,26 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=cairo
pkgver=1.18.0
pkgrel=1
pkgrel=2
pkgdesc="2D graphics library with support for multiple output devices"
arch=('x86_64')
url="https://cairographics.org"
license=('LGPL-2.1-only OR MPL-1.1')
depends=('fontconfig' 'freetype2' 'glib2' 'libpng' 'libx11' 'libxcb' 'libxext' 'libxrender' 'lzo' 'pixman' 'zlib')
makedepends=('meson')
makedepends=('meson' 'gtk-doc' 'valgrind')
source=(https://www.cairographics.org/releases/${pkgname}-${pkgver}.tar.xz)
sha256sums=(SKIP)
build() {
cd ${pkgname}-${pkgver}
meson setup build --prefix=/usr --buildtype=release
meson setup build \
--prefix=/usr \
--buildtype=release \
-Dgtk_doc=true \
-Dspectre=disabled \
-Dsymbol-lookup=disabled \
-Dtests=disabled
meson compile -C build
}