Date: Mon, 8 Jan 2024 18:25:26 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fc5be254502e - main - devel/gobject-introspection: Move cairo dependency under TEST option. Message-ID: <202401081825.408IPQkT005914@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc5be254502ef92e9f1acc28c7040f9c795e7b43 commit fc5be254502ef92e9f1acc28c7040f9c795e7b43 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-01-08 18:24:15 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-01-08 18:24:15 +0000 devel/gobject-introspection: Move cairo dependency under TEST option. PR: 276117 Reported by: Siva Mahadevan <me@svmhdvn.name> --- devel/gobject-introspection/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile index f3f5b9c31bcb..2b980c99f7d0 100644 --- a/devel/gobject-introspection/Makefile +++ b/devel/gobject-introspection/Makefile @@ -1,5 +1,6 @@ PORTNAME= gobject-introspection DISTVERSION= 1.78.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= GNOME @@ -14,8 +15,6 @@ LICENSE_COMB= multi LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LGPL LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL -# we need cairo otherwise the generated Cairo gir is broken -BUILD_DEPENDS= cairo-trace:graphics/cairo LIB_DEPENDS= libffi.so:devel/libffi PORTSCOUT= limitw:1,even @@ -26,6 +25,11 @@ USE_LDCONFIG= yes MESON_ARGS= -Ddoctool=disabled \ -Dpython=${PYTHON_CMD} +OPTIONS_DEFINE= TEST + +TEST_MESON_ENABLED= cairo +TEST_LIB_DEPENDS= libcairo.so:graphics/cairo + post-patch: @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/tools/meson.build
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401081825.408IPQkT005914>