openbsd-ports/x11/gnome/tracker/Makefile
2011-09-26 12:31:40 +00:00

144 lines
5.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.79 2011/09/26 12:31:40 ajacoutot Exp $
# XXX Binary files patch-src_tracker-control_tracker-control-general_c
# and patch-src_tracker-control_tracker-control-general_c.new differ
DIFF_ARGS= -a
SHARED_ONLY= Yes
COMMENT-main= powerful desktop search tool and indexer
COMMENT-evolution= (meta-)tracker indexer plugin for evolution
COMMENT-nautilus= (meta-)tracker tagging plugin for nautilus
GNOME_PROJECT= tracker
GNOME_VERSION= 0.12.3
# there is already audio/tracker, so this port has to live
# as meta-tracker.
PKGNAME= meta-tracker-${VERSION}
PKGNAME-main= meta-tracker-${VERSION}
PKGNAME-evolution= evolution-meta-tracker-${VERSION}
PKGNAME-nautilus= nautilus-meta-tracker-${VERSION}
MAJ_V= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
EVO_VERSION= 3.2
SUBST_VARS= MAJ_V EVO_VERSION
SHARED_LIBS += tracker-common 2.0 # 1201.0
SHARED_LIBS += tracker-data 2.0 # 1201.0
SHARED_LIBS += tracker-sparql-0.12 0.0 # 1201.0
SHARED_LIBS += tracker-extract-0.12 0.0 # 1201.0
SHARED_LIBS += tracker-miner-0.12 0.0 # 1201.0
HOMEPAGE= http://tracker-project.org/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext \
x11/gnome \
devel/dconf
MULTI_PACKAGES= -main -evolution -nautilus
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm drm expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += kvm m pcre pixman-1 pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z ffi
WANTLIB-main += ${WANTLIB}
WANTLIB-main += ORBit-2 archive assuan atk-1.0 bz2 c cairo cairo-gobject
WANTLIB-main += dbus-1 dbus-glib-1 e2fs-uuid enca exempi exif gconf-2
WANTLIB-main += gcrypt gdk-3 gdk-x11-2.0 gdk_pixbuf-2.0 gee gif gmime-2.6
WANTLIB-main += gnome-keyring gpg-error gpgme-pthread gsf-1 gtk-3 icudata
WANTLIB-main += icui18n icuuc jpeg lcms lzma openjpeg panel-applet-4
WANTLIB-main += pango-1.0 pangocairo-1.0 pangoft2-1.0 png poppler poppler-glib
WANTLIB-main += pthread rest-0.7 soup-2.4 soup-gnome-2.4 sqlite3 stdc++
WANTLIB-main += tag tag_c tiff totem-plparser upower-glib xml2 gstvideo-0.10
WANTLIB-main += gstbase-0.10 gstpbutils-0.10 gstreamer-0.10 gsttag-0.10
WANTLIB-evolution += ${WANTLIB}
WANTLIB-evolution += ICE ORBit-2 SM asn1 atk-1.0 cairo cairo-gobject camel-1.2
WANTLIB-evolution += camel-provider-1.2 com_err crypto db dbus-1 e2fs-uuid
WANTLIB-evolution += ebackend-1.2 ebook-1.2 ecal-1.2 edataserver-1.2 edataserverui-3.0
WANTLIB-evolution += enchant gailutil-3 gconf-2 gcrypt gdk-3 gdk_pixbuf-2.0
WANTLIB-evolution += gnome-desktop-3 gnome-keyring gpg-error gssapi gtk-3
WANTLIB-evolution += gtkhtml-4.0 gtkhtml-editor-4.0 ical icalss icalvcal
WANTLIB-evolution += icui18n icuuc krb5 nspr4 nss3 nssutil3 pango-1.0 pangocairo-1.0
WANTLIB-evolution += pangoft2-1.0 plc4 plds4 png smime3 softokn3 soup-2.4
WANTLIB-evolution += sqlite3 ssl3 stdc++ tracker-miner-0.12 tracker-sparql-0.12
WANTLIB-evolution += xml2
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/emiscwidgets
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/eshell
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/etable
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/etext
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/eutil
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/evolution-a11y
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/filter
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/gnomecanvas
WANTLIB-evolution += lib/evolution/${EVO_VERSION}/menus
WANTLIB-nautilus += ${WANTLIB}
WANTLIB-nautilus += lib/tracker-${MAJ_V}/tracker-common
WANTLIB-nautilus += lib/tracker-${MAJ_V}/tracker-data
WANTLIB-nautilus += atk-1.0 cairo cairo-gobject e2fs-uuid gdk-3 gdk_pixbuf-2.0
WANTLIB-nautilus += gtk-3 icui18n icuuc nautilus-extension pango-1.0 pangocairo-1.0
WANTLIB-nautilus += pangoft2-1.0 png sqlite3 tracker-sparql-0.12
LIB_DEPENDS-main= ${LIB_DEPENDS} \
x11/gnome/panel \
x11/gnome/totem-pl-parser \
print/poppler \
devel/libgsf \
devel/libgee \
net/librest \
sysutils/upower \
textproc/exempi \
sysutils/e2fsprogs \
graphics/libexif \
graphics/libungif
RUN_DEPENDS-evolution= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-evolution= ${LIB_DEPENDS} \
x11/gnome/tracker,-main \
mail/evolution>=3.0.0
RUN_DEPENDS-nautilus= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-nautilus= ${LIB_DEPENDS} \
x11/gnome/tracker,-main \
x11/gnome/nautilus>=3.0.0
LIBTOOL_FLAGS= --tag=disable-static
MODGNOME_TOOLS= goi vala
MODGNOME_DESKTOP_FILE= Yes
CONFIGURE_ARGS= --disable-static \
--disable-functional-tests \
--disable-miner-thunderbird \
--disable-miner-firefox \
--disable-network-manager \
--disable-qt
# needs libgrss
CONFIGURE_ARGS += --disable-miner-rss
# needs libiptcdata
CONFIGURE_ARGS += --disable-libiptcdata
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib \
-Wl,-rpath,${TRUEPREFIX}/lib/tracker-${MAJ_V}"
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/meta-tracker/
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/tracker-needle/tracker-needle.vala
.include <bsd.port.mk>