components/gnome/totem/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 30 Jan 2017 17:47:32 +0000
changeset 7624 50e5cc11a34e
parent 7194 d2bff3b7b244
child 7687 1093e2a9adbd
permissions -rw-r--r--
25453912 Undo the temporary Makefile changes made for building gnome/desktop
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7194
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
7624
50e5cc11a34e 25453912 Undo the temporary Makefile changes made for building gnome/desktop
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7194
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
7194
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64_and_32
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		totem
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	3.18.1
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH= \
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
	sha256:d7816eae9606846c44fd508902eae10bdaed28e6d4f621531990d473184107a2
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=        gnome/multimedia
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
TPNO=			25794
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
TEST_TARGET = $(NO_TESTS)
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
# Needs gobject-introspection, not available in S11
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/no-evaluation.mk
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/gnome-component.mk
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
# The build process modifies the shebang line to use the version of Python
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
# automatically found; to avoid using the current system default, one is
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
# explicitly specified here.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_ENV += PYTHON="$(PYTHON)"
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# Only build Python 2.7 support; most of GNOME still uses Python 2.x.  Building
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
# both would lead to the possibility of both Python runtimes being loaded into
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
# the same process space (not a good idea).
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
PYTHON_VERSIONS=2.7
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
# Ensure Python modules are installed to vendor-packages directory;
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
# the default is site-packages.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --disable-static
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --disable-schemas-compile
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
# Required for other components.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --enable-introspection
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_OPTIONS += --enable-nautilus
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
# Required for other components.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
CONFIGURE_OPTIONS += --enable-python
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
CONFIGURE_OPTIONS += --enable-shared
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
# Required for other components.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
CONFIGURE_OPTIONS += --enable-vala
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
CONFIGURE_OPTIONS += --with-pic
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
CONFIGURE_OPTIONS += --with-plugins=autodetect
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
# Assumes GNU msgfmt is in PATH.
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += developer/python/pylint-27
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += developer/vala
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += gnome/file-manager/nautilus
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += library/desktop/atk
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
REQUIRED_PACKAGES += library/desktop/cairo
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
REQUIRED_PACKAGES += library/desktop/clutter
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
REQUIRED_PACKAGES += library/desktop/clutter/clutter-gst3
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    87
REQUIRED_PACKAGES += library/desktop/clutter/clutter-gtk
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    88
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    89
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    90
REQUIRED_PACKAGES += library/desktop/gstreamer-1
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    91
REQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    92
REQUIRED_PACKAGES += library/desktop/gtk3
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    93
REQUIRED_PACKAGES += library/desktop/pango
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    94
REQUIRED_PACKAGES += library/glib2
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    95
REQUIRED_PACKAGES += library/gnome/gnome-desktop
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    96
REQUIRED_PACKAGES += library/desktop/grilo
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    97
REQUIRED_PACKAGES += library/desktop/libpeas
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    98
REQUIRED_PACKAGES += library/graphics/cogl
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    99
REQUIRED_PACKAGES += library/media-player/totem-pl-parser
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   100
REQUIRED_PACKAGES += library/libxml2
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   101
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   102
REQUIRED_PACKAGES += system/library/math
d2bff3b7b244 23245355 Move totem to Userland and update to 3.18.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   103
REQUIRED_PACKAGES += x11/library/libx11