|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 |
|
24 BUILD_BITS= 64 |
|
25 COMPILER= gcc |
|
26 include ../../../make-rules/shared-macros.mk |
|
27 |
|
28 COMPONENT_NAME= gnome-clocks |
|
29 COMPONENT_VERSION= 3.18.0 |
|
30 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Gnome-Clocks |
|
31 COMPONENT_ARCHIVE_HASH= \ |
|
32 sha256:ca0818ec89e3539201da6b5388365e3d66df815198beccc90e2be44c7822baa0 |
|
33 COMPONENT_BUGDB= gnome/applications |
|
34 |
|
35 TPNO= 25788 |
|
36 |
|
37 TEST_TARGET = $(NO_TESTS) |
|
38 |
|
39 # Needs gsound, not available on S11. |
|
40 include $(WS_MAKE_RULES)/no-evaluation.mk |
|
41 |
|
42 include $(WS_MAKE_RULES)/gnome-component.mk |
|
43 |
|
44 COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
|
45 |
|
46 CONFIGURE_OPTIONS += --disable-static |
|
47 |
|
48 # Assumes GNU msgfmt in PATH. |
|
49 CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)" |
|
50 COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)" |
|
51 |
|
52 # Delete when libgweather is installed on the build server |
|
53 WEATHER_BASE = $(WS_COMPONENTS)/gnome/libgweather/build/prototype/$(MACH) |
|
54 PKG_CONFIG_PATHS += $(WEATHER_BASE)$(PKG_CONFIG_PATH.$(BITS)) |
|
55 |
|
56 LD_OPTIONS += -L $(WEATHER_BASE)$(USRLIB.$(BITS)) |
|
57 |
|
58 CPPFLAGS += -I$(WEATHER_BASE)/usr/include/libgweather-3.0 |
|
59 |
|
60 # The dependency isn't installed, so add it manually since pkgdepend |
|
61 # can't resolve them yet: 15708323 |
|
62 DEPENDED += $(WS_TOP)/components/gnome/libgweather/build/manifest-$(MACH)-libgweather.depend |
|
63 |
|
64 # Temporary until dependencies are all on build machines |
|
65 REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../libgweather/Makefile) |
|
66 #end Delete |
|
67 |
|
68 |
|
69 REQUIRED_PACKAGES += developer/vala |
|
70 REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas |
|
71 REQUIRED_PACKAGES += library/desktop/cairo |
|
72 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
73 REQUIRED_PACKAGES += library/desktop/geoclue |
|
74 REQUIRED_PACKAGES += library/desktop/geocode-glib |
|
75 REQUIRED_PACKAGES += library/desktop/gsound |
|
76 REQUIRED_PACKAGES += library/desktop/gtk3 |
|
77 REQUIRED_PACKAGES += library/desktop/libgweather |
|
78 REQUIRED_PACKAGES += library/desktop/pango |
|
79 REQUIRED_PACKAGES += library/glib2 |
|
80 REQUIRED_PACKAGES += library/gnome/gnome-desktop |
|
81 REQUIRED_PACKAGES += system/library/math |