Make the cairo and gdkpixbuf2 dependencies conditional on
GTKBACKEND and GTKAGGBACKEND. This change restores headless support. Approved by: maintainer (by mail)
This commit is contained in:
@@ -26,7 +26,6 @@ RUN_DEPENDS= ${PYNUMPY} \
|
||||
|
||||
USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs
|
||||
USE_PYTHON= autoplist distutils
|
||||
USE_GNOME= cairo gdkpixbuf2
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4AGGBACKEND \
|
||||
@@ -36,9 +35,9 @@ OPTIONS_SUB= yes
|
||||
GTKBACKEND_DESC= GTK backend support
|
||||
GTKBACKEND_VARS= GTK_BACKEND=True
|
||||
GTKBACKEND_VARS_OFF= GTK_BACKEND=False
|
||||
GTKBACKEND_USE= GNOME=gtk20,pygtk2
|
||||
GTKBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2
|
||||
GTKAGGBACKEND_DESC= GTKAgg backend support
|
||||
GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2
|
||||
GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2
|
||||
GTKAGGBACKEND_VARS= GTKAGG_BACKEND=True
|
||||
GTKAGGBACKEND_VARS_OFF= GTKAGG_BACKEND=False
|
||||
QT4AGGBACKEND_DESC= Qt4Agg backend support
|
||||
|
||||
Reference in New Issue
Block a user