git: 14bfb9975e58 - main - graphics/cairomm: Various improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jan 2026 19:21:03 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=14bfb9975e589161ff43659e5442fe6bd9ac1b39
commit 14bfb9975e589161ff43659e5442fe6bd9ac1b39
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-01-17 19:18:48 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-01-17 19:20:58 +0000
graphics/cairomm: Various improvements
- Add USES=xorg, otherwise USE_XORG has no effect
- Add DOCS option
- Add testing support
Differential Revision: https://reviews.freebsd.org/D33939
Co-authored-by: Charlie Li <vishwin@FreeBSD.org>
---
graphics/cairomm/Makefile | 16 +++++++++++++++-
graphics/cairomm/pkg-plist | 1 +
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile
index 236c51ff46ad..7a8f755d90ba 100644
--- a/graphics/cairomm/Makefile
+++ b/graphics/cairomm/Makefile
@@ -12,7 +12,7 @@ LICENSE= LGPL20
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpng.so:graphics/png
-USES= compiler:c++11-lang gnome meson pkgconfig tar:xz
+USES= compiler:c++11-lang gnome meson pkgconfig tar:xz xorg
USE_GNOME= cairo libsigc++20
USE_XORG= x11 xext xrender
USE_LDCONFIG= yes
@@ -20,4 +20,18 @@ USE_LDCONFIG= yes
MESON_ARGS= -Dbuild-examples=false \
-Dbuild-tests=false
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-1.0
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS TEST
+
+DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
+ xsltproc:textproc/libxslt
+DOCS_USES= perl5
+DOCS_USE= perl5=build
+DOCS_MESON_TRUE= build-documentation
+
+TEST_LIB_DEPENDS= libboost_unit_test_framework.so:devel/boost-libs
+TEST_MESON_TRUE= build-tests
+
.include <bsd.port.mk>
diff --git a/graphics/cairomm/pkg-plist b/graphics/cairomm/pkg-plist
index d3e968bbbc61..ebb5f1d6840b 100644
--- a/graphics/cairomm/pkg-plist
+++ b/graphics/cairomm/pkg-plist
@@ -32,3 +32,4 @@ libdata/pkgconfig/cairomm-ps-1.0.pc
libdata/pkgconfig/cairomm-svg-1.0.pc
libdata/pkgconfig/cairomm-xlib-1.0.pc
libdata/pkgconfig/cairomm-xlib-xrender-1.0.pc
+share/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2