openbsd-ports/x11/gnome/tracker/Makefile

94 lines
3.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2009/10/14 09:26:58 ajacoutot Exp $
COMMENT= powerful desktop search tool and indexer
# there is already audio/tracker, so this port has to live
# as tracker-search.
GNOME_PROJECT= tracker
GNOME_VERSION= 0.6.95
PKGNAME= tracker-search-${VERSION}p1
SHARED_LIBS += stemmer 0.1 # .695.0
SHARED_LIBS += tracker-common 0.1 # .695.0
SHARED_LIBS += tracker-db 0.1 # .695.0
SHARED_LIBS += tracker-data 0.1 # .695.0
SHARED_LIBS += trackerclient 0.1 # .695.0
SHARED_LIBS += tracker-module 0.0 # .0.0
SHARED_LIBS += tracker-gtk 0.1 # .695.0
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender art_lgpl_2 asn1 atk-1.0 avahi-client avahi-common
WANTLIB += avahi-glib bonobo-2 bonobo-activation bonoboui-2 bz2
WANTLIB += c cairo camel-1.2 com_err crypto curl dbus-1 dbus-glib-1
WANTLIB += edataserver-1.2 execinfo expat fontconfig freetype
WANTLIB += gailutil gconf-2 gcrypt gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glade-2.0 glib-2.0 glitz gmodule-2.0 gnome-2
WANTLIB += gnome-keyring gnomecanvas-2 gnomeui-2 gnomevfs-2 gnutls
WANTLIB += gobject-2.0 gpg-error gssapi gstbase-0.10 gstreamer-0.10
WANTLIB += gthread-2.0 gtk-x11-2.0 idn jpeg krb5 m nspr4 nss3
WANTLIB += ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += plc4 plds4 png popt pthread pthread-stubs smime3 softokn3
WANTLIB += soup-2.4 ssl ssl3 startup-notification-1 tasn1 tiff
WANTLIB += util xcb xcb-atom xcb-aux xcb-event xml2 xslt z lcms
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 \
lang/python \
x11/gnome
LIB_DEPENDS= vorbis::audio/libvorbis \
qdbm::databases/qdbm \
sqlite3::databases/sqlite3 \
gsf-1::devel/libgsf \
notify::devel/libnotify \
exif::graphics/libexif \
gmime-2.0:gmime->=2.2,<2.4:mail/gmime \
gsttag-0.10::multimedia/gstreamer-0.10/plugins-base \
poppler-glib,poppler::print/poppler \
raptor::textproc/raptor \
gnome-desktop-2::x11/gnome/desktop \
totem-plparser.>=1::x11/gnome/totem-pl-parser
BUILD_DEPENDS= ::devel/xdg-utils
RUN_DEPENDS= ::devel/glib2,-fam \
::devel/xdg-utils \
::textproc/odt2txt
DESKTOP_FILES= Yes
MODPY_RUNDEP= No
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-external-qdbm \
--enable-video-extractor="gstreamer" \
--disable-unac \
--disable-xmp \
--disable-hal \
--enable-libexif \
--enable-libgsf \
--enable-libjpeg \
--enable-libtiff \
--enable-libvorbis \
--enable-gdkpixbuf \
--enable-deskbar-applet \
--with-deskbar_applet_dir=${PREFIX}/libexec/deskbar-applet/modules-2.20-compatible \
--with-deskbar-applet-handler-dir="${LOCALBASE}/lib/python${MODPY_VERSION}/site-packages/deskbar/handlers/"
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# see patch-configure
CONFIGURE_ENV+= have_deskbar_applet="module"
FAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/tracker-search/
pre-configure:
${SUBST_CMD} ${WRKSRC}/data/modules/applications.module
.include <bsd.port.mk>