18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 BUILD_BITS= 64 |
25 BUILD_BITS= 64 |
26 # All components using gobject-introspection must be built with gcc as |
26 # All components using gobject-introspection must be built with gcc as |
27 # gobject-introspection does not produce correct results when using Studio. |
27 # gobject-introspection does not produce correct results when using Studio. |
28 # Also, for now, all things built for C++11 require gcc. |
28 # Also, for now, all things built for C++11 require gcc. |
93 CONFIGURE_ENV.64 += PKG_CONFIG_PATH="$(COMPONENT_DIR):$(PKG_CONFIG_PATH)" |
93 CONFIGURE_ENV.64 += PKG_CONFIG_PATH="$(COMPONENT_DIR):$(PKG_CONFIG_PATH)" |
94 |
94 |
95 # Required due to patches. |
95 # Required due to patches. |
96 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
96 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
97 |
97 |
98 # Delete once builds servers have libgweather installed |
|
99 WEATHER_BASE = $(WS_COMPONENTS)/gnome/libgweather/build/prototype/$(MACH) |
|
100 PKG_CONFIG_PATHS += $(WEATHER_BASE)$(PKG_CONFIG_PATH.$(BITS)) |
|
101 |
|
102 LD_OPTIONS += -L $(WEATHER_BASE)$(USRLIB.$(BITS)) |
|
103 |
|
104 CONFIGURE_ENV+= LIBGWEATHER_CFLAGS="-DMESA_EGL_NO_X11_HEADERS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I$(WEATHER_BASE)/usr/include/libgweather-3.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/$(MACH64)/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib/$(MACH64)/glib-2.0/include" |
|
105 |
|
106 # Delete this when build servers are installed with libical |
|
107 ICAL_BASE = $(WS_COMPONENTS)/desktop/libical/build/prototype/$(MACH) |
|
108 PKG_CONFIG_PATHS += $(ICAL_BASE)$(PKG_CONFIG_PATH.$(BITS)) |
|
109 LD_OPTIONS += -L $(ICAL_BASE)$(USRLIB) |
|
110 CPPFLAGS += -I$(ICAL_BASE)$(USRINCDIR)/libical |
|
111 |
|
112 # The dependency isn't installed, so add it manually since pkgdepend |
|
113 # can't resolve them yet: 15708323 |
|
114 DEPENDED += $(WS_TOP)/components/gnome/libgweather/build/manifest-$(MACH)-libgweather.depend |
|
115 DEPENDED += $(WS_TOP)/components/desktop/libical/build/manifest-$(MACH)-libical.depend |
|
116 |
|
117 # Temporary until dependencies are all on build machines |
|
118 REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../libgweather/Makefile) |
|
119 REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../../desktop/libical/Makefile) |
|
120 #end Delete |
|
121 |
|
122 # for the tests |
98 # for the tests |
123 unexport SHELLOPTS |
99 unexport SHELLOPTS |
124 COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
100 COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
125 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
101 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
126 COMPONENT_TEST_ARGS = -k -i |
102 COMPONENT_TEST_ARGS = -k -i |