|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 BUILD_BITS = 64_and_32 |
|
27 # Also, all components using gobject-introspection must be built with gcc as |
|
28 # gobject-introspection does not produce correct results when using Studio. |
|
29 COMPILER = gcc |
|
30 include ../../../make-rules/shared-macros.mk |
|
31 |
|
32 COMPONENT_NAME= cogl |
|
33 COMPONENT_VERSION= 1.22.0 |
|
34 COMPONENT_PROJECT_URL= https://developer.gnome.org/cogl/ |
|
35 COMPONENT_ARCHIVE_HASH= \ |
|
36 sha256:689dfb5d14fc1106e9d2ded0f7930dcf7265d0bc84fa846b4f03941633eeaa91 |
|
37 COMPONENT_BUGDB= gnome/libraries |
|
38 |
|
39 TPNO= 25267 |
|
40 |
|
41 # Needs gobject-introspection, not available on S11. |
|
42 ifeq ($(BUILD_TYPE), evaluation) |
|
43 BUILD_32_and_64= |
|
44 INSTALL_32_and_64= |
|
45 PUBLISH_STAMP= |
|
46 endif |
|
47 |
|
48 # Enable tests once all dependencies are install on the build server |
|
49 TEST_TARGET = $(SKIP_TEST) |
|
50 |
|
51 include $(WS_MAKE_RULES)/gnome-component.mk |
|
52 |
|
53 # Delete this when build servers are installed with an updated versions of |
|
54 # gst-plugins-base |
|
55 GST_BASE = $(WS_COMPONENTS)/desktop/gstreamer1/gst-plugins-base/build/prototype/$(MACH) |
|
56 PKG_CONFIG_PATHS.32 += $(GST_BASE)/usr/lib/pkgconfig/ |
|
57 PKG_CONFIG_PATHS.64 += $(GST_BASE)/usr/lib/$(MACH64)/pkgconfig/ |
|
58 PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS)) |
|
59 CPPFLAGS += -I$(GST_BASE)/usr/include/gstreamer-1.0 |
|
60 LD_OPTIONS.32 += -L $(GST_BASE)/usr/lib |
|
61 LD_OPTIONS.64 += -L $(GST_BASE)/usr/lib/$(MACH64) |
|
62 LD_OPTIONS += $(LD_OPTIONS.$(BITS)) |
|
63 |
|
64 DEPENDED += $(WS_TOP)/components/desktop/gstreamer1/gst-plugins-base/build/manifest-$(MACH)-gst-plugins-base.depend |
|
65 |
|
66 # Temporary until dependencies are all on build machines |
|
67 REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../../desktop/gstreamer1/gst-plugins-base/Makefile) |
|
68 # end Delete |
|
69 |
|
70 CONFIGURE_OPTION += --disable-static |
|
71 # Required for other components. |
|
72 CONFIGURE_OPTIONS += --enable-glib |
|
73 # Required for other components. |
|
74 CONFIGURE_OPTIONS += --enable-cogl-pango |
|
75 # Required for other components. |
|
76 CONFIGURE_OPTIONS += --enable-cogl-gst |
|
77 # Required for other components. |
|
78 CONFIGURE_OPTIONS += --enable-cogl-path |
|
79 # Required for other components. |
|
80 CONFIGURE_OPTIONS += --enable-gdk-pixbuf |
|
81 # Required for other components. |
|
82 CONFIGURE_OPTIONS += --enable-gl |
|
83 # Required for other components. |
|
84 CONFIGURE_OPTIONS += --enable-glx |
|
85 # Required for other components. |
|
86 CONFIGURE_OPTIONS += --enable-introspection |
|
87 CONFIGURE_OPTIONS += --enable-shared |
|
88 CONFIGURE_OPTIONS += --with-pic |
|
89 CONFIGURE_OPTIONS += --with-x |
|
90 |
|
91 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
|
92 REQUIRED_PACKAGES += library/desktop/cairo |
|
93 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
94 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
|
95 REQUIRED_PACKAGES += library/desktop/gstreamer-1 |
|
96 REQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base |
|
97 REQUIRED_PACKAGES += library/desktop/pango |
|
98 REQUIRED_PACKAGES += library/glib2 |
|
99 REQUIRED_PACKAGES += service/opengl/ogl-select |
|
100 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
101 REQUIRED_PACKAGES += system/library/math |
|
102 REQUIRED_PACKAGES += x11/library/libx11 |
|
103 REQUIRED_PACKAGES += x11/library/libx11 |
|
104 REQUIRED_PACKAGES += x11/library/libxdamage |
|
105 REQUIRED_PACKAGES += x11/library/libxext |
|
106 REQUIRED_PACKAGES += x11/library/libxfixes |
|
107 REQUIRED_PACKAGES += x11/library/libxrandr |