59 CONFIGURE_OPTIONS += --enable-shared |
59 CONFIGURE_OPTIONS += --enable-shared |
60 # Required for other components. |
60 # Required for other components. |
61 CONFIGURE_OPTIONS += --enable-vala |
61 CONFIGURE_OPTIONS += --enable-vala |
62 CONFIGURE_OPTIONS += --with-pic |
62 CONFIGURE_OPTIONS += --with-pic |
63 |
63 |
64 # Delete this when build servers are installed with an updated colord |
|
65 COLORD_BASE = $(WS_COMPONENTS)/desktop/colord/build/prototype/$(MACH) |
64 COLORD_BASE = $(WS_COMPONENTS)/desktop/colord/build/prototype/$(MACH) |
66 PKG_CONFIG_PATHS.32 += $(COLORD_BASE)/usr/lib/pkgconfig/ |
|
67 PKG_CONFIG_PATHS.64 += $(COLORD_BASE)/usr/lib/$(MACH64)/pkgconfig/ |
|
68 PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS)) |
|
69 |
|
70 LD_OPTIONS.32 += -L $(COLORD_BASE)/usr/lib |
|
71 LD_OPTIONS.64 += -L $(COLORD_BASE)/usr/lib/$(MACH64) |
|
72 LD_OPTIONS += $(LD_OPTIONS.$(BITS)) |
|
73 |
|
74 COMPONENT_BUILD_ENV += \ |
65 COMPONENT_BUILD_ENV += \ |
75 libdir=$(COLORD_BASE)/usr/lib |
66 XDG_DATA_DIRS="$(COLORD_BASE)/usr/share:/usr/share" |
76 |
|
77 COMPONENT_BUILD_ENV += \ |
|
78 XDG_DATA_DIRS="$(COLORD_BASE)/usr/share:/usr/share" |
|
79 |
|
80 CPPFLAGS += -I$(COLORD_BASE)/usr/include/colord-1 |
|
81 |
|
82 COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_32="$(BUILD_DIR_32)/libcolord-gtk/.libs:$(COLORD_BASE)$(USRLIB.$(BITS))" |
|
83 COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_64="$(BUILD_DIR_64)/libcolord-gtk/.libs:$(COLORD_BASE)$(USRLIB.$(BITS))" |
|
84 |
|
85 # The dependency isn't installed, so add it manually since pkgdepend |
|
86 # can't resolve them yet: 15708323 |
|
87 DEPENDED += $(WS_TOP)/components/desktop/colord/build/manifest-$(MACH)-colord.depend |
|
88 |
|
89 # Temporary until dependencies are all on build machines |
|
90 REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../colord/Makefile) |
|
91 #end Delete |
|
92 |
|
93 |
67 |
94 REQUIRED_PACKAGES += developer/vala |
68 REQUIRED_PACKAGES += developer/vala |
95 REQUIRED_PACKAGES += library/desktop/cairo |
69 REQUIRED_PACKAGES += library/desktop/cairo |
96 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
70 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
97 REQUIRED_PACKAGES += library/desktop/gtk3 |
71 REQUIRED_PACKAGES += library/desktop/gtk3 |