mosquitto: fix build
[oi-userland.git] / components / desktop / tracker / Makefile
blobcbb8c583dcd5e703f604c86da02a2a251a00b048
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Alexander Pyhalov
14 # Copyright 2018 Michal Nowak
15 # Copyright 2019 Tim Mooney
18 USE_PARALLEL_BUILD= yes
19 USE_DEFAULT_TEST_TRANSFORMS= yes
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= tracker
23 COMPONENT_VERSION= 1.8.3
24 COMPONENT_REVISION= 16
25 COMPONENT_SUMMARY= Desktop search tool
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= sha256:9bbf8c8525b3a1496716a350bc50ba06af5e880a4386506ca3e45d6779065c42
29 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/1.8/$(COMPONENT_ARCHIVE)
30 COMPONENT_PROJECT_URL= https://gitlab.gnome.org/GNOME/tracker
31 COMPONENT_FMRI= library/desktop/search/tracker
32 COMPONENT_CLASSIFICATION=Applications/System Utilities
33 COMPONENT_LICENSE= GPLv2,LGPLv2.1
35 include $(WS_MAKE_RULES)/common.mk
37 PATH= $(PATH.gnu)
39 CFLAGS += -std=gnu89 $(XPG6MODE)
41 # Use default libjpeg
42 CPPFLAGS += $(JPEG_CPPFLAGS)
43 CFLAGS += $(JPEG_CFLAGS)
44 LDFLAGS += $(JPEG_LDFLAGS)
45 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
47 COMPONENT_PREP_ACTION= ( cd $(@D) && autoreconf -fi)
49 COMPONENT_PRE_CONFIGURE_ACTION = ( $(CLONEY) $(SOURCE_DIR) $(@D) )
51 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
52 CONFIGURE_OPTIONS += --disable-libstemmer
53 CONFIGURE_OPTIONS += --disable-maemo
54 CONFIGURE_OPTIONS += --disable-schemas-compile
55 CONFIGURE_OPTIONS += --disable-static
56 CONFIGURE_OPTIONS += --disable-upower
57 CONFIGURE_OPTIONS += --enable-artwork
58 CONFIGURE_OPTIONS += --enable-cfg-man-pages
59 CONFIGURE_OPTIONS += --enable-dvi
60 CONFIGURE_OPTIONS += --enable-generic-media-extractor=gstreamer
61 # Evolution miner is broken (crashes on startup)
62 CONFIGURE_OPTIONS += --disable-miner-evolution
63 # Disabled for now because of errors
64 CONFIGURE_OPTIONS += --disable-gtk-doc
65 CONFIGURE_OPTIONS += --enable-hal
66 CONFIGURE_OPTIONS += --enable-icon
67 CONFIGURE_OPTIONS += --enable-icu-charset-detection
68 # Required for other components.
69 CONFIGURE_OPTIONS += --enable-introspection
70 CONFIGURE_OPTIONS += --enable-journal
71 CONFIGURE_OPTIONS += --enable-libexif
72 CONFIGURE_OPTIONS += --enable-libflac
73 CONFIGURE_OPTIONS += --enable-libjpeg
74 CONFIGURE_OPTIONS += --enable-libpng
75 CONFIGURE_OPTIONS += --enable-libtiff
76 CONFIGURE_OPTIONS += --enable-libvorbis
77 CONFIGURE_OPTIONS += --enable-libxml2
78 CONFIGURE_OPTIONS += --enable-miner-apps
79 CONFIGURE_OPTIONS += --enable-miner-fs
80 CONFIGURE_OPTIONS += --disable-miner-firefox
81 CONFIGURE_OPTIONS += --disable-miner-thunderbird
82 CONFIGURE_OPTIONS += --enable-miner-user-guides
83 CONFIGURE_OPTIONS += --enable-mp3
84 CONFIGURE_OPTIONS += --disable-nautilus-extension
85 CONFIGURE_OPTIONS += --enable-playlist
86 CONFIGURE_OPTIONS += --enable-poppler
87 CONFIGURE_OPTIONS += --enable-ps
88 CONFIGURE_OPTIONS += --enable-shared
89 CONFIGURE_OPTIONS += --enable-taglib
90 CONFIGURE_OPTIONS += --enable-text
91 CONFIGURE_OPTIONS += --enable-tracker-fts
92 CONFIGURE_OPTIONS += --enable-tracker-needle
93 CONFIGURE_OPTIONS += --enable-tracker-preferences
94 CONFIGURE_OPTIONS += --enable-tracker-writeback
95 CONFIGURE_OPTIONS += --disable-miner-firefox
96 CONFIGURE_OPTIONS += --with-pic
97 CONFIGURE_OPTIONS += --with-unicode-support=libicu
98 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
101 CONFIGURE_ENV += PERL=$(PERL)
103 COMPONENT_BUILD_ENV += CC=$(CC)
104 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
106 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
108 # Build dependencies
109 REQUIRED_PACKAGES += utility/bash-completion
110 REQUIRED_PACKAGES += developer/icu
111 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
112 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
114 # Auto-generated dependencies
115 REQUIRED_PACKAGES += $(ICU_LIBRARY_PKG)
116 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
117 REQUIRED_PACKAGES += codec/flac
118 REQUIRED_PACKAGES += database/sqlite-3
119 REQUIRED_PACKAGES += gnome/accessibility/at-spi2-core
120 REQUIRED_PACKAGES += image/library/libexif
121 REQUIRED_PACKAGES += image/library/libpng16
122 REQUIRED_PACKAGES += image/library/libtiff
123 REQUIRED_PACKAGES += library/audio/gstreamer1
124 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base
125 REQUIRED_PACKAGES += library/audio/taglib
126 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
127 REQUIRED_PACKAGES += library/desktop/gtk3
128 REQUIRED_PACKAGES += library/desktop/libgsf
129 REQUIRED_PACKAGES += library/giflib
130 REQUIRED_PACKAGES += library/glib2
131 REQUIRED_PACKAGES += library/libpoppler
132 REQUIRED_PACKAGES += library/libvorbis
133 REQUIRED_PACKAGES += library/libxml2
134 REQUIRED_PACKAGES += library/media-player/totem-pl-parser
135 REQUIRED_PACKAGES += service/hal
136 REQUIRED_PACKAGES += system/library
137 REQUIRED_PACKAGES += system/library/libdbus
138 REQUIRED_PACKAGES += system/library/libdbus-glib
139 REQUIRED_PACKAGES += system/library/math