6327N/A#
6327N/A# CDDL HEADER START
6327N/A#
6327N/A# The contents of this file are subject to the terms of the
6327N/A# Common Development and Distribution License (the "License").
6327N/A# You may not use this file except in compliance with the License.
6327N/A#
6327N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6327N/A# or http://www.opensolaris.org/os/licensing.
6327N/A# See the License for the specific language governing permissions
6327N/A# and limitations under the License.
6327N/A#
6327N/A# When distributing Covered Code, include this CDDL HEADER in each
6327N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6327N/A# If applicable, add the following below this CDDL HEADER, with the
6327N/A# fields enclosed by brackets "[]" replaced with your own identifying
6327N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6327N/A#
6327N/A# CDDL HEADER END
6327N/A#
6327N/A
6327N/A#
6327N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6327N/A#
6327N/A
6327N/ABUILD_BITS = 64_and_32
6327N/A# All components using gobject-introspection must be built with gcc as
6327N/A# gobject-introspection does not produce correct results when using Studio.
6327N/ACOMPILER = gcc
6327N/Ainclude ../../../make-rules/shared-macros.mk
6327N/A
6327N/ACOMPONENT_NAME= gupnp
6327N/ACOMPONENT_VERSION= 0.20.14
6327N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/GUPnP
6327N/ACOMPONENT_ARCHIVE_HASH= \
6327N/A sha256:77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd
6327N/ACOMPONENT_BUGDB= gnome/libraries
6327N/A
6327N/ATPNO= 25395
6327N/A
6327N/A# Tests don't work on Solaris yet
6327N/ATEST_TARGET = $(SKIP_TEST)
6327N/A
6327N/A# Contains a single Python script written for Python 2.x/3.x; prefer 3.4.
6327N/APYTHON=3.4
6327N/APYTHON_VERSIONS=3.4
6327N/A
6327N/A# Needs gobject-introspection and gssdp, not available on S11.
6327N/Aifeq ($(BUILD_TYPE), evaluation)
6327N/ABUILD_32_and_64=
6327N/AINSTALL_32_and_64=
6327N/APUBLISH_STAMP=
6327N/Aendif
6327N/A
6327N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6327N/A
6327N/A# uuid detection fails due to Solaris bug 15586738.
6327N/ACONFIGURE_OPTIONS += ac_cv_search_uuid_to_string=generic
6327N/ACONFIGURE_ENV += UUID_CFLAGS="-I/usr/include/uuid"
6327N/ACONFIGURE_ENV.32 += UUID_LIBS="-luuid"
6327N/ACONFIGURE_ENV.64 += UUID_LIBS="-L/usr/lib/$(MACH64) -luuid"
6327N/A
6327N/ACONFIGURE_OPTIONS += --disable-static
6327N/A# Required for documentation.
6327N/ACONFIGURE_OPTIONS += --enable-gtk-doc
6327N/A# Required for other components.
6327N/ACONFIGURE_OPTIONS += --enable-introspection
6327N/ACONFIGURE_OPTIONS += --enable-largefile
6327N/ACONFIGURE_OPTIONS += --enable-shared
6327N/ACONFIGURE_OPTIONS += --with-pic
6327N/A
6327N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6327N/AREQUIRED_PACKAGES += developer/vala
6327N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6327N/AREQUIRED_PACKAGES += library/glib2
6327N/AREQUIRED_PACKAGES += library/desktop/gssdp
6327N/AREQUIRED_PACKAGES += library/libsoup
6327N/AREQUIRED_PACKAGES += library/libxml2
6327N/AREQUIRED_PACKAGES += runtime/python-34