1 # $NetBSD: options.mk,v 1.4 2012/11/13 21:55:27 adam Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.gtk3
4 PKG_SUPPORTED_OPTIONS
= gtk3-atk-bridge 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
= gtk3-atk-bridge 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
+= --enable-quartz-backend
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 . if
!empty
(PKG_OPTIONS
:Mgtk3-atk-bridge
)
41 BUILDLINK_API_DEPENDS.at-spi2-atk
+= at-spi2-atk
>=2.6.1
42 .
include "../../devel/at-spi2-atk/buildlink3.mk"
44 CONFIGURE_ARGS
+= --without-atk-bridge
47 BUILDLINK_API_DEPENDS.Xft2
+= Xft2
>=2.1.2nb2
49 .
include "../../x11/libX11/buildlink3.mk"
50 .
include "../../x11/libXcursor/buildlink3.mk"
51 .
include "../../x11/libXft/buildlink3.mk"
52 .
include "../../x11/libXfixes/buildlink3.mk"
53 .
include "../../x11/libXinerama/buildlink3.mk"
54 .
include "../../x11/libXi/buildlink3.mk"
55 .
include "../../x11/libXrandr/buildlink3.mk"
56 .
include "../../x11/libXrender/buildlink3.mk"
57 .
include "../../x11/libXt/buildlink3.mk"
58 .
include "../../x11/libXext/buildlink3.mk"
59 .
include "../../x11/libXcomposite/buildlink3.mk"