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
This commit is contained in:
parent
919b97d400
commit
61e9f6d72c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549990
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
@ -50,6 +52,11 @@ 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
|
||||
GLIB_USE= gnome=glib20
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue