|
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 # 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= tracker |
|
33 COMPONENT_VERSION= 1.6.0 |
|
34 COMPONENT_ARCHIVE_HASH= \ |
|
35 sha256:7e2729627224f43f8cd99c18d027a3b984e049fe924a265a9b31857566c9e28a |
|
36 COMPONENT_BUGDB= gnome/libraries |
|
37 |
|
38 TPNO= 25835 |
|
39 |
|
40 # Needs gobject-introspection, not available in S11 |
|
41 include $(WS_MAKE_RULES)/no-evaluation.mk |
|
42 |
|
43 include $(WS_MAKE_RULES)/gnome-component.mk |
|
44 |
|
45 CFLAGS += $(XPG6MODE) |
|
46 |
|
47 CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)" |
|
48 |
|
49 CONFIGURE_OPTIONS += --disable-libstemmer |
|
50 CONFIGURE_OPTIONS += --disable-maemo |
|
51 CONFIGURE_OPTIONS += --disable-schemas-compile |
|
52 CONFIGURE_OPTIONS += --disable-static |
|
53 CONFIGURE_OPTIONS += --disable-upower |
|
54 CONFIGURE_OPTIONS += --enable-artwork |
|
55 CONFIGURE_OPTIONS += --enable-cfg-man-pages |
|
56 CONFIGURE_OPTIONS += --enable-dvi |
|
57 CONFIGURE_OPTIONS += --enable-generic-media-extractor=gstreamer |
|
58 # Disabled for now because of errors |
|
59 #CONFIGURE_OPTIONS += --enable-gtk-doc |
|
60 CONFIGURE_OPTIONS += --enable-hal |
|
61 CONFIGURE_OPTIONS += --enable-icon |
|
62 CONFIGURE_OPTIONS += --enable-icu-charset-detection |
|
63 # Required for other components. |
|
64 CONFIGURE_OPTIONS += --enable-introspection |
|
65 CONFIGURE_OPTIONS += --enable-journal |
|
66 CONFIGURE_OPTIONS += --enable-libexif |
|
67 CONFIGURE_OPTIONS += --enable-libflac |
|
68 CONFIGURE_OPTIONS += --enable-libgsf |
|
69 CONFIGURE_OPTIONS += --enable-libgxps |
|
70 CONFIGURE_OPTIONS += --enable-libjpeg |
|
71 CONFIGURE_OPTIONS += --enable-libmediaart |
|
72 CONFIGURE_OPTIONS += --enable-libpng |
|
73 CONFIGURE_OPTIONS += --enable-libtiff |
|
74 CONFIGURE_OPTIONS += --enable-libvorbis |
|
75 CONFIGURE_OPTIONS += --enable-libxml2 |
|
76 CONFIGURE_OPTIONS += --enable-miner-apps |
|
77 CONFIGURE_OPTIONS += --enable-miner-fs |
|
78 CONFIGURE_OPTIONS += --enable-miner-user-guides |
|
79 CONFIGURE_OPTIONS += --enable-mp3 |
|
80 CONFIGURE_OPTIONS += --enable-nautilus-extension |
|
81 CONFIGURE_OPTIONS += --enable-playlist |
|
82 CONFIGURE_OPTIONS += --enable-poppler |
|
83 CONFIGURE_OPTIONS += --enable-ps |
|
84 CONFIGURE_OPTIONS += --enable-shared |
|
85 CONFIGURE_OPTIONS += --enable-taglib |
|
86 CONFIGURE_OPTIONS += --enable-text |
|
87 CONFIGURE_OPTIONS += --enable-tracker-fts |
|
88 CONFIGURE_OPTIONS += --enable-tracker-needle |
|
89 CONFIGURE_OPTIONS += --enable-tracker-preferences |
|
90 CONFIGURE_OPTIONS += --enable-tracker-writeback |
|
91 CONFIGURE_OPTIONS += --with-pic |
|
92 CONFIGURE_OPTIONS += --with-unicode-support=libicu |
|
93 CONFIGURE_OPTIONS += --with-bash-completion-dir=/etc/bash_completion.d |
|
94 |
|
95 # Required due to patches. |
|
96 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
|
97 |
|
98 # Delete once builds servers have nautilus installed |
|
99 NAUTILUS_BASE = $(WS_COMPONENTS)/gnome/nautilus/build/prototype/$(MACH) |
|
100 PKG_CONFIG_PATHS += $(NAUTILUS_BASE)$(PKG_CONFIG_PATH.$(BITS)) |
|
101 |
|
102 LD_OPTIONS += -L $(NAUTILUS_BASE)$(USRLIB.$(BITS)) |
|
103 |
|
104 CPPFLAGS += -I$(NAUTILUS_BASE)$(USRINCDIR)/nautilus |
|
105 |
|
106 DEPENDED += $(WS_TOP)/components/gnome/nautilus/build/manifest-$(MACH)-nautilus.depend |
|
107 |
|
108 REQUIRED_PACKAGES += $(shell $(GSED) -n -e 's/REQUIRED_PACKAGES +=//p' ../nautilus/Makefile) |
|
109 #end Delete |
|
110 |
|
111 REQUIRED_PACKAGES += codec/flac |
|
112 REQUIRED_PACKAGES += codec/libogg |
|
113 REQUIRED_PACKAGES += codec/libvorbis |
|
114 REQUIRED_PACKAGES += codec/ogg-vorbis |
|
115 REQUIRED_PACKAGES += database/sqlite-3 |
|
116 REQUIRED_PACKAGES += desktop/pdf-viewer/poppler |
|
117 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
|
118 REQUIRED_PACKAGES += developer/icu |
|
119 REQUIRED_PACKAGES += developer/vala |
|
120 REQUIRED_PACKAGES += gnome/file-manager/nautilus |
|
121 REQUIRED_PACKAGES += image/library/libexif |
|
122 REQUIRED_PACKAGES += image/library/libjpeg |
|
123 REQUIRED_PACKAGES += image/library/libpng |
|
124 REQUIRED_PACKAGES += image/library/libtiff |
|
125 REQUIRED_PACKAGES += library/audio/taglib |
|
126 REQUIRED_PACKAGES += library/desktop/atk |
|
127 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
128 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
|
129 REQUIRED_PACKAGES += library/desktop/gstreamer-1 |
|
130 REQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base |
|
131 REQUIRED_PACKAGES += library/desktop/gtk3 |
|
132 REQUIRED_PACKAGES += library/desktop/libgsf |
|
133 REQUIRED_PACKAGES += library/exempi |
|
134 REQUIRED_PACKAGES += library/glib2 |
|
135 REQUIRED_PACKAGES += library/desktop/libgxps |
|
136 REQUIRED_PACKAGES += library/gnome/libmediaart |
|
137 REQUIRED_PACKAGES += library/icu |
|
138 REQUIRED_PACKAGES += library/libxml2 |
|
139 REQUIRED_PACKAGES += library/media-player/totem-pl-parser |
|
140 REQUIRED_PACKAGES += system/hal |
|
141 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
142 REQUIRED_PACKAGES += system/library/libdbus |
|
143 REQUIRED_PACKAGES += system/library/libdbus-glib |
|
144 REQUIRED_PACKAGES += system/library/math |