opt/cairo/Pkgfile
Juergen Daubert 70cdf5f84a [notify] cairo: update to 1.17.4
Note:
-----
build system switched from autotools to meson, therefore
all libtool files (*.la) are gone.
Every port that lists the old libcairo.la file in its own
libtool file has to be rebuild if other ports depends at
build time on it.

To find the broken files the following script can be usesd:

  for f in $(grep -lrs libcairo.la /usr/lib/); do \
    pkginfo -o $f | awk '!/^Package/ {print $1}'; \
  done | sort -u
2021-01-03 13:04:53 +01:00

27 lines
790 B
Plaintext

# Description: A 2D graphics library with support for multiple output devices
# URL: https://www.cairographics.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: fontconfig, xorg-libxext, xorg-libxrender, xorg-libpixman, xorg-xcb-util, glib
name=cairo
version=1.17.4
release=1
source=(https://cairographics.org/snapshots/$name-$version.tar.xz
xlib-xcb.diff fix-library-versioning.diff)
build() {
patch -p1 -d $name-$version -i $SRC/fix-library-versioning.diff
patch -p1 -d $name-$version -i $SRC/xlib-xcb.diff
meson setup build $name-$version \
--prefix=/usr \
--buildtype=plain \
-D spectre=disabled \
-D tee=enabled \
-D tests=disabled
meson compile -C build
DESTDIR=$PKG meson install -C build
chmod +x $PKG/usr/bin/cairo-trace
}