Files
ports/graphics/cairo/Makefile
T
Tijl Coosemans 299bcfac71 graphics/cairo: Update to 1.18.2
Upstream has removed OpenGL support and switched from autoconf to meson.

Some ports needed to be fixed:

audio/fogpad-lv2, audio/ssr-lv2, audio/stone-phaser-lv2,
audio/string-machine-lv2: Add dependency on libGL now that cairo
no longer pulls it in.

devel/doxygen: Add upstream patches to support compressed PDF files
generated by more recent versions of cairo.

www/webkit2-gtk3, www/webkit2-gtk4: Remove requirement for cairo-egl.

x11/hyprpaper: Remove inclusion of unused GLES3 headers so a dependency
on libGLES is not needed.

x11/rofi-file-browser-extended: Fix patch to make sure
GLIB2_INCLUDE_DIRS is defined.

PR:		283531
Reviewed by:	diizzy
Exp-run by:	antoine
2025-01-07 11:34:47 +01:00

60 lines
1.5 KiB
Makefile

PORTNAME= cairo
DISTVERSION= 1.18.2
PORTEPOCH= 3
CATEGORIES= graphics
MASTER_SITES= https://cairographics.org/releases/
PATCH_SITES= https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/commit/
PATCHFILES= f19e2fe080ddcfce93c8234a919fd882f3d63362.patch:-p1
MAINTAINER= desktop@FreeBSD.org
COMMENT= Vector graphics library with cross-device output support
WWW= https://www.cairographics.org/
LICENSE= LGPL21 MPL11
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING-LGPL-2.1
LICENSE_FILE_MPL11= ${WRKSRC}/COPYING-MPL-1.1
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
liblzo2.so:archivers/lzo2 \
libpng.so:graphics/png
USES= cpe gnome localbase:ldflags meson pkgconfig python:build \
shebangfix tar:xz xorg
CPE_VENDOR= cairographics
USE_LDCONFIG= yes
USE_XORG= pixman
SHEBANG_FILES= version.py
# spectre only used by tests; symbol-lookup because libbfd is difficult
# to use (https://sourceware.org/bugzilla/show_bug.cgi?id=14243);
# tests has circular dependencies
MESON_ARGS= -Dspectre=disabled \
-Dsymbol-lookup=disabled \
-Dtests=disabled
DOCSDIR= ${PREFIX}/share/gtk-doc/html
PORTSCOUT= skipv:5c-1.1,5c-1.2,5c-1.5
PLIST_SUB= LIBVER=2.11802.2
OPTIONS_DEFINE= DOCS GLIB X11
OPTIONS_DEFAULT=DOCS GLIB X11
OPTIONS_SUB= yes
GLIB_DESC= Enable GObject Functions Feature
DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
DOCS_MESON_TRUE= gtk_doc
GLIB_USE= GNOME=glib20
GLIB_MESON_ENABLED= glib
X11_USE= XORG=x11,xcb,xext,xorgproto,xrender
X11_MESON_ENABLED= xcb xlib
.include <bsd.port.mk>