components/gnome/libgdata/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 23 Aug 2016 11:45:22 -0700
changeset 6672 bf764124d33c
child 7293 a449e2e641be
permissions -rw-r--r--
23245330 Move libgdata to Userland and update to 0.17.3 PSARC/2010/143 GNOME 2.30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6672
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER=gcc
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		libgdata
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	0.17.3
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Projects/libgdata
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
    sha256:ff280b031c50a99ed735c3fa18fbea9ae3e4cc5e3d7dd58ebae09994b01b513b
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=        gnome/libraries
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TPNO=			25082
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
# Needs gobject-introspection, not available on S11.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/no-evaluation.mk
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
include $(WS_MAKE_RULES)/gnome-component.mk
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
# Documentation XML is malformed; skip building.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS += --disable-gtk-doc
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS += --disable-static
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
# Required for other components.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --enable-gnome
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --enable-goa
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# Required for other components.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --enable-introspection
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
# Required for other components.
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --enable-vala
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --with-pic
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
# Delete once builds servers have goa installed
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
GOA_BASE = $(WS_COMPONENTS)/gnome/gnome-online-accounts/build/prototype/$(MACH)
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
PKG_CONFIG_PATHS += $(GOA_BASE)/usr/lib/$(MACH64)/pkgconfig
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
LD_OPTIONS += -L $(GOA_BASE)$(USRLIB.$(BITS))
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
CONFIGURE_ENV += GNOME_CFLAGS="-D_REENTRANT -I$(GOA_BASE)/usr/include/goa-1.0 -I$(GOA_BASE)/usr/lib/$(MACH64)/goa-1.0/include -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/$(MACH64)/glib-2.0/include"
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
COMPONENT_BUILD_ENV  += \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
	XDG_DATA_DIRS="$(GOA_BASE)/usr/share/:/usr/share/"
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_64="$(GOA_BASE)$(USRLIB.$(BITS)):$(BUILD_DIR_64)/gdata/.libs"
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
# The dependency isn't installed, so add it manually since pkgdepend
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
# can't resolve them yet: 15708323
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
DEPENDED += $(WS_TOP)/components/gnome/gnome-online-accounts/build/manifest-$(MACH)-gnome-online-accounts.depend
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
# Temporary until dependencies are all on build machines
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../gnome-online-accounts/Makefile)
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
#end Delete
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
# for the tests
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
unexport SHELLOPTS
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
COMPONENT_TEST_ARGS =   -k -i
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
COMPONENT_TEST_TRANSFORMS += \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
        '-n ' \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
        '-e "/TOTAL:/p" ' \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    87
        '-e "/SKIP:/p" ' \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    88
        '-e "/PASS:/p" ' \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    89
        '-e "/FAIL:/p" ' \
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    90
        '-e "/ERROR:/p" '
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    91
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    92
REQUIRED_PACKAGES += developer/vala
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    93
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    94
REQUIRED_PACKAGES += library/glib2
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    95
REQUIRED_PACKAGES += library/gnome/gcr
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    96
REQUIRED_PACKAGES += library/gnome/gnome-online-accounts
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    97
REQUIRED_PACKAGES += library/json-glib
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    98
REQUIRED_PACKAGES += library/liboauth
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    99
REQUIRED_PACKAGES += library/libsoup
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   100
REQUIRED_PACKAGES += library/libxml2
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   101
REQUIRED_PACKAGES += library/uhttpmock
bf764124d33c 23245330 Move libgdata to Userland and update to 0.17.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   102
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime