author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 6332 | 5256a695cfc2 |
permissions | -rw-r--r-- |
6332
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6332
diff
changeset
|
21 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
6332
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
23 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
BUILD_BITS = 64_and_32 |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
# All components using gobject-introspection must be built with gcc as |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
# gobject-introspection does not produce correct results when using Studio. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
COMPILER = gcc |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
include ../../../make-rules/shared-macros.mk |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= geoclue |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_VERSION= 2.2.0 |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://freedesktop.org/wiki/Software/GeoClue/ |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
sha256:a490de0d4f97cb65f81e9fd0f687c7e84ef2c41509c214a1438964f541c7d446 |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= http://freedesktop.org/software/geoclue/releases/2.2/$(COMPONENT_ARCHIVE) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
38 |
COMPONENT_BUGDB= gnome/libraries |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6332
diff
changeset
|
39 |
COMPONENT_ANITYA_ID= 13108 |
6332
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
TPNO= 25494 |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
TEST_TARGET = $(NO_TESTS) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
# Needs json-glib, not available on S11. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
ifeq ($(BUILD_TYPE), evaluation) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
BUILD_32_and_64= |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
INSTALL_32_and_64= |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
PUBLISH_STAMP= |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
endif |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
include $(WS_MAKE_RULES)/common.mk |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
# Assumes GNU xgettext in PATH |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --disable-static |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
# gtk-doc portion of build has various failures. |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --disable-gtk-doc |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --disable-3g-source |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --disable-cdma-source |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --disable-modem-gps-source |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --enable-shared |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --with-pic |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
CONFIGURE_OPTIONS += --libexecdir=$(USRLIB) |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
|
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += library/glib2 |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/libsoup |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += library/json-glib |
5256a695cfc2
23245624 Deliver geoclue 2.2.0 in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
71 |
REQUIRED_PACKAGES += system/library/math |