1 # $NetBSD: options.mk,v 1.12 2012/01/19 15:17:42 reed Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.gtk2
4 PKG_SUPPORTED_OPTIONS
= cups debug
5 PKG_OPTIONS_REQUIRED_GROUPS
= gdk-target
6 PKG_OPTIONS_GROUP.gdk-target
= x11
7 .if exists
(/System
/Library
/Frameworks
/Quartz.framework
)
8 PKG_OPTIONS_GROUP.gdk-target
+= quartz
10 PKG_SUGGESTED_OPTIONS
= x11
12 .
include "../../mk/bsd.options.mk"
15 .if
!empty
(PKG_OPTIONS
:Mcups
)
16 .
include "../../print/cups/buildlink3.mk"
19 CONFIGURE_ENV
+= ac_cv_path_CUPS_CONFIG
=no
22 .if
!empty
(PKG_OPTIONS
:Mdebug
)
23 CONFIGURE_ARGS
+= --enable-debug
=yes
29 PLIST_VARS
+= quartz x11
30 .if
!empty
(PKG_OPTIONS
:Mquartz
)
31 CONFIGURE_ARGS
+= --without-x
32 CONFIGURE_ARGS
+= --with-gdktarget
=quartz
35 CONFIGURE_ARGS
+= --with-xinput
=xfree
36 CONFIGURE_ENV
+= ac_cv_header_X11_extensions_Xinerama_h
=no
37 CONFIGURE_ENV
+= ac_cv_lib_Xinerama_XineramaQueryExtension
=no
40 BUILDLINK_API_DEPENDS.Xft2
+= Xft2
>=2.1.2nb2
42 .
include "../../x11/libX11/buildlink3.mk"
43 .
include "../../x11/libXcursor/buildlink3.mk"
44 .
include "../../x11/libXft/buildlink3.mk"
45 .
include "../../x11/libXfixes/buildlink3.mk"
46 .
include "../../x11/libXinerama/buildlink3.mk"
47 BUILDLINK_API_DEPENDS.libXi
+= libXi
>=1.3.0
48 .
include "../../x11/libXi/buildlink3.mk"
49 .
include "../../x11/libXrandr/buildlink3.mk"
50 .
include "../../x11/libXrender/buildlink3.mk"
51 .
include "../../x11/libXt/buildlink3.mk"
52 .
include "../../x11/libXext/buildlink3.mk"
53 .
include "../../x11/libXcomposite/buildlink3.mk"