- new backend option WITH_GNUSTEP_CAIRO

This commit is contained in:
Dirk Meyer 2005-10-25 07:45:22 +00:00
parent f660c473ed
commit 1f8d779f25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146301

View File

@ -14,6 +14,8 @@
# WITH_GNUSTEP_LIBART=yes
# use libart as backend instead of xlib.
#
# WITH_GNUSTEP_CAIRO=yes
# use cairo as backend instead of xlib.
#
# Options for a port before include this file:
# ============================================
@ -61,6 +63,7 @@ GNUSTEP_GUI_PORT?= x11-toolkits/gnustep-gui
GNUSTEP_BACK_PORT?= x11-toolkits/gnustep-back
GNUSTEP_XDPS_PORT?= x11-toolkits/gnustep-xdps
GNUSTEP_ART_PORT?= x11-toolkits/gnustep-art
GNUSTEP_CAIRO_PORT?= x11-toolkits/gnustep-cairo
.if ${MACHINE_ARCH} == "i386"
GNU_ARCH= ix86
@ -131,14 +134,14 @@ RUN_DEPENDS+= ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT}
BACKSUFFIX?= -010
.if defined(WITH_GNUSTEP_XDPS)
GNUSTEP_WITH_XDPS=yes
.else
.if defined(WITH_GNUSTEP_LIBART)
.elif defined(WITH_GNUSTEP_LIBART)
USE_GNUSTEP_LIBART=yes
.elif defined(WITH_GNUSTEP_CAIRO)
USE_GNUSTEP_CAIRO=yes
.else
USE_GNUSTEP_XLIB=yes
.endif
.endif
.endif
# ---------------------------------------------------------------------------
# Backend using xlib
@ -173,6 +176,17 @@ BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-art${BACKSUFFIX}.bundle
MAKE_FLAGS+= GUI_BACKEND_LIB=art
.endif
# ---------------------------------------------------------------------------
# Backend using cairo
#
.if defined(USE_GNUSTEP_CAIRO)
BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-cairo${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-cairo${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-cairo${BACKSUFFIX}.bundle
MAKE_FLAGS+= GUI_BACKEND_LIB=cairo
.endif
# ---------------------------------------------------------------------------
# source GNUstep.sh
#