Date: Fri, 25 Sep 2020 06:54:37 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549990 - head/graphics/cairo Message-ID: <202009250654.08P6sbrq071429@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Fri Sep 25 06:54:37 2020 New Revision: 549990 URL: https://svnweb.freebsd.org/changeset/ports/549990 Log: graphics/cairo: Allow GLESv2 backend as an options This is useful for X11-less setups. Reviewed by: tcberner Approved by: desktop (tcberner@) Differential Revision: https://reviews.freebsd.org/D26437 Modified: head/graphics/cairo/Makefile head/graphics/cairo/pkg-plist Modified: head/graphics/cairo/Makefile ============================================================================== --- head/graphics/cairo/Makefile Fri Sep 25 06:50:17 2020 (r549989) +++ head/graphics/cairo/Makefile Fri Sep 25 06:54:37 2020 (r549990) @@ -4,6 +4,7 @@ PORTNAME= cairo PORTVERSION= 1.16.0 # update to 1.17.2 causes problems, see bug#249290 PORTEPOCH= 3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ \ http://cairographics.org/snapshots/ @@ -32,11 +33,12 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ --disable-directfb \ --disable-gallium \ - --disable-glesv2 \ --disable-wgl \ --enable-tee -OPTIONS_DEFINE= OPENGL XCB GLIB X11 DOCS +OPTIONS_SINGLE= GL +OPTIONS_SINGLE_GL= OPENGL GLESV2 +OPTIONS_DEFINE= XCB GLIB X11 DOCS OPTIONS_DEFAULT=OPENGL XCB GLIB X11 OPTIONS_SLAVE= ${ARCH:tu} OPTIONS_SUB= yes @@ -49,6 +51,11 @@ X11_CONFIGURE_OFF=--disable-glx OPENGL_USES= gl OPENGL_USE= gl=egl OPENGL_CONFIGURE_ENABLE=gl egl + +GLESV2_USES= gl +GLESV2_USE= gl=glesv2 +GLESV2_DESC= Enable GLESv2 rendering +GLESV2_CONFIGURE_ENABLE=glesv2 GLIB_DESC= Enable GObject Functions Feature GLIB_USES= gettext-runtime Modified: head/graphics/cairo/pkg-plist ============================================================================== --- head/graphics/cairo/pkg-plist Fri Sep 25 06:50:17 2020 (r549989) +++ head/graphics/cairo/pkg-plist Fri Sep 25 06:54:37 2020 (r549990) @@ -38,6 +38,7 @@ lib/libcairo.so.%%LIBVER%% libdata/pkgconfig/cairo-fc.pc libdata/pkgconfig/cairo-ft.pc %%OPENGL%%libdata/pkgconfig/cairo-gl.pc +%%GLESV2%%libdata/pkgconfig/cairo-glesv2.pc %%OPENGL%%%%X11%%libdata/pkgconfig/cairo-glx.pc %%GLIB%%libdata/pkgconfig/cairo-gobject.pc libdata/pkgconfig/cairo-pdf.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009250654.08P6sbrq071429>