65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# CDDL HEADER START
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# The contents of this file are subject to the terms of the
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Common Development and Distribution License (the "License").
65fea56f17cd614bc8908264df980a62e1931468vboxsync# You may not use this file except in compliance with the License.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
65fea56f17cd614bc8908264df980a62e1931468vboxsync# or http://www.opensolaris.org/os/licensing.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# See the License for the specific language governing permissions
65fea56f17cd614bc8908264df980a62e1931468vboxsync# and limitations under the License.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# When distributing Covered Code, include this CDDL HEADER in each
65fea56f17cd614bc8908264df980a62e1931468vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If applicable, add the following below this CDDL HEADER, with the
65fea56f17cd614bc8908264df980a62e1931468vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
65fea56f17cd614bc8908264df980a62e1931468vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# CDDL HEADER END
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncBUILD_BITS = 64_and_32
65fea56f17cd614bc8908264df980a62e1931468vboxsync# All components using gobject-introspection must be built with gcc as
65fea56f17cd614bc8908264df980a62e1931468vboxsync# gobject-introspection does not produce correct results when using Studio.
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCOMPILER = gcc
65fea56f17cd614bc8908264df980a62e1931468vboxsyncinclude ../../../make-rules/shared-macros.mk
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCOMPONENT_NAME= totem
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCOMPONENT_VERSION= 3.18.1
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCOMPONENT_ARCHIVE_HASH= \
65fea56f17cd614bc8908264df980a62e1931468vboxsync sha256:d7816eae9606846c44fd508902eae10bdaed28e6d4f621531990d473184107a2
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCOMPONENT_BUGDB= gnome/multimedia
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTPNO= 25794
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTEST_TARGET = $(NO_TESTS)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Needs gobject-introspection, not available in S11
65fea56f17cd614bc8908264df980a62e1931468vboxsyncinclude $(WS_MAKE_RULES)/no-evaluation.mk
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncinclude $(WS_MAKE_RULES)/gnome-component.mk
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync# The build process modifies the shebang line to use the version of Python
65fea56f17cd614bc8908264df980a62e1931468vboxsync# automatically found; to avoid using the current system default, one is
65fea56f17cd614bc8908264df980a62e1931468vboxsync# explicitly specified here.
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_ENV += PYTHON="$(PYTHON)"
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Only build Python 2.7 support; most of GNOME still uses Python 2.x. Building
65fea56f17cd614bc8908264df980a62e1931468vboxsync# both would lead to the possibility of both Python runtimes being loaded into
65fea56f17cd614bc8908264df980a62e1931468vboxsync# the same process space (not a good idea).
65fea56f17cd614bc8908264df980a62e1931468vboxsyncPYTHON_VERSIONS=2.7
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Ensure Python modules are installed to vendor-packages directory;
65fea56f17cd614bc8908264df980a62e1931468vboxsync# the default is site-packages.
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += --disable-static
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += --disable-schemas-compile
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Required for other components.
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += --enable-introspection
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += --enable-nautilus
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Required for other components.
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += --enable-python
65fea56f17cd614bc8908264df980a62e1931468vboxsyncCONFIGURE_OPTIONS += --enable-shared
# Required for other components.
CONFIGURE_OPTIONS += --enable-vala
CONFIGURE_OPTIONS += --with-pic
CONFIGURE_OPTIONS += --with-plugins=autodetect
# Assumes GNU msgfmt is in PATH.
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
# Delete once builds servers have nautilus installed
NAUTILUS_BASE = $(WS_COMPONENTS)/gnome/nautilus/build/prototype/$(MACH)
PKG_CONFIG_PATHS += $(NAUTILUS_BASE)$(PKG_CONFIG_PATH.$(BITS))
LD_OPTIONS += -L $(NAUTILUS_BASE)$(USRLIB.$(BITS))
CPPFLAGS += -I$(NAUTILUS_BASE)$(USRINCDIR)/nautilus
DEPENDED += $(WS_TOP)/components/gnome/nautilus/build/manifest-$(MACH)-nautilus.depend
REQUIRED_PACKAGES += $(shell $(GSED) -n -e 's%\$$(PERL_PKG)%$(PERL_PKG)%' -e 's/REQUIRED_PACKAGES +=//p' ../nautilus/Makefile)
#end Delete
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
REQUIRED_PACKAGES += developer/python/pylint-27
REQUIRED_PACKAGES += developer/vala
REQUIRED_PACKAGES += gnome/file-manager/nautilus
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
REQUIRED_PACKAGES += library/desktop/atk
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/clutter
REQUIRED_PACKAGES += library/desktop/clutter/clutter-gst3
REQUIRED_PACKAGES += library/desktop/clutter/clutter-gtk
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
REQUIRED_PACKAGES += library/desktop/gstreamer-1
REQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
REQUIRED_PACKAGES += library/desktop/gtk3
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/gnome/gnome-desktop
REQUIRED_PACKAGES += library/desktop/grilo
REQUIRED_PACKAGES += library/desktop/libpeas
REQUIRED_PACKAGES += library/graphics/cogl
REQUIRED_PACKAGES += library/media-player/totem-pl-parser
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += x11/library/libx11