Andreas Wacknitz
2024-03-29 970adddbfc48d143ebaae950543ddbfcb6eb25c5
commit | author | age
19cc85 1 #
AP 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.
6 #
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.
10 #
11
12 #
9a40ec 13 # Copyright 2017 Alexander Pyhalov
169fa5 14 # Copyright 2018 Michal Nowak
8a03d1 15 # Copyright 2019 Tim Mooney
19cc85 16 #
AP 17
62f285 18 USE_PARALLEL_BUILD= yes
AW 19 USE_DEFAULT_TEST_TRANSFORMS= yes
be7974 20 include ../../../make-rules/shared-macros.mk
19cc85 21
fb2871 22 COMPONENT_NAME=         tracker
AL 23 COMPONENT_VERSION=      1.8.3
62f285 24 COMPONENT_REVISION=     15
fb2871 25 COMPONENT_SUMMARY=      Desktop search tool
AL 26 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.xz
b5071b 28 COMPONENT_ARCHIVE_HASH= sha256:9bbf8c8525b3a1496716a350bc50ba06af5e880a4386506ca3e45d6779065c42
AW 29 COMPONENT_ARCHIVE_URL=  https://download.gnome.org/sources/$(COMPONENT_NAME)/1.8/$(COMPONENT_ARCHIVE)
fb2871 30 COMPONENT_PROJECT_URL=  https://gitlab.gnome.org/GNOME/tracker
AL 31 COMPONENT_FMRI=         library/desktop/search/tracker
32 COMPONENT_CLASSIFICATION=Applications/System Utilities
33 COMPONENT_LICENSE=      GPLv2,LGPLv2.1
19cc85 34
5b602b 35 include $(WS_MAKE_RULES)/common.mk
19cc85 36
7492f2 37 PATH= $(PATH.gnu)
c6d8e0 38
a2f252 39 CFLAGS += -std=gnu89 $(XPG6MODE)
19cc85 40
9a40ec 41 # Use default libjpeg
AP 42 CPPFLAGS += $(JPEG_CPPFLAGS)
43 CFLAGS += $(JPEG_CFLAGS)
44 LDFLAGS += $(JPEG_LDFLAGS)
45 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
19cc85 46
9a40ec 47 COMPONENT_PREP_ACTION= ( cd $(@D) && autoreconf -fi)
19cc85 48
9a1b13 49 COMPONENT_PRE_CONFIGURE_ACTION = ( $(CLONEY) $(SOURCE_DIR) $(@D) )
19cc85 50
a2f252 51 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
9a40ec 52 CONFIGURE_OPTIONS += --disable-libstemmer
AP 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
fb2871 64 CONFIGURE_OPTIONS += --disable-gtk-doc
9a40ec 65 CONFIGURE_OPTIONS += --enable-hal
AP 66 CONFIGURE_OPTIONS += --enable-icon
67 CONFIGURE_OPTIONS += --enable-icu-charset-detection
68 # Required for other components.
a2f252 69 CONFIGURE_OPTIONS += --enable-introspection
9a40ec 70 CONFIGURE_OPTIONS += --enable-journal
AP 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
c53fa4 80 CONFIGURE_OPTIONS += --disable-miner-firefox
AW 81 CONFIGURE_OPTIONS += --disable-miner-thunderbird
9a40ec 82 CONFIGURE_OPTIONS += --enable-miner-user-guides
AP 83 CONFIGURE_OPTIONS += --enable-mp3
3b2287 84 CONFIGURE_OPTIONS += --disable-nautilus-extension
3e334a 85 CONFIGURE_OPTIONS += --enable-playlist
9a40ec 86 CONFIGURE_OPTIONS += --enable-poppler
AP 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)
99
19cc85 100
a2f252 101 CONFIGURE_ENV += PERL=$(PERL)
19cc85 102
be7974 103 COMPONENT_BUILD_ENV += CC=$(CC)
AP 104 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
105
19cc85 106 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
169fa5 107
140379 108 # Build dependencies
AL 109 REQUIRED_PACKAGES += utility/bash-completion
8a03d1 110 REQUIRED_PACKAGES += developer/icu
7274f5 111 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
JMC 112 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
140379 113
AL 114 # Auto-generated dependencies
a2f252 115 REQUIRED_PACKAGES += $(ICU_LIBRARY_PKG)
7492f2 116 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
9a40ec 117 REQUIRED_PACKAGES += codec/flac
72f032 118 REQUIRED_PACKAGES += database/sqlite-3
AP 119 REQUIRED_PACKAGES += image/library/libexif
62f285 120 REQUIRED_PACKAGES += image/library/libjpeg-turbo
72f032 121 REQUIRED_PACKAGES += image/library/libpng16
AP 122 REQUIRED_PACKAGES += image/library/libtiff
9a40ec 123 REQUIRED_PACKAGES += library/audio/gstreamer1
AP 124 REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base
8a03d1 125 REQUIRED_PACKAGES += library/audio/taglib
9a40ec 126 REQUIRED_PACKAGES += library/desktop/atk
72f032 127 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
9a40ec 128 REQUIRED_PACKAGES += library/desktop/gtk3
140379 129 REQUIRED_PACKAGES += library/desktop/libgsf
72f032 130 REQUIRED_PACKAGES += library/giflib
AP 131 REQUIRED_PACKAGES += library/glib2
132 REQUIRED_PACKAGES += library/libpoppler
9a40ec 133 REQUIRED_PACKAGES += library/libvorbis
72f032 134 REQUIRED_PACKAGES += library/libxml2
3e334a 135 REQUIRED_PACKAGES += library/media-player/totem-pl-parser
72f032 136 REQUIRED_PACKAGES += service/hal
AP 137 REQUIRED_PACKAGES += system/library
138 REQUIRED_PACKAGES += system/library/libdbus
139 REQUIRED_PACKAGES += system/library/libdbus-glib
140 REQUIRED_PACKAGES += system/library/math