2010-03-21 06:41:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2010/03/21 10:41:37 ajacoutot Exp $
|
2009-04-21 17:34:46 -04:00
|
|
|
|
|
|
|
COMMENT= powerful desktop search tool and indexer
|
|
|
|
|
2009-04-21 19:39:43 -04:00
|
|
|
# there is already audio/tracker, so this port has to live
|
|
|
|
# as tracker-search.
|
2009-04-21 17:34:46 -04:00
|
|
|
GNOME_PROJECT= tracker
|
2010-03-21 06:41:37 -04:00
|
|
|
GNOME_VERSION= 0.6.96
|
|
|
|
PKGNAME= tracker-search-${VERSION}
|
2009-04-21 17:34:46 -04:00
|
|
|
|
2009-10-09 13:40:12 -04:00
|
|
|
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
|
2009-04-21 17:34:46 -04:00
|
|
|
SHARED_LIBS += tracker-module 0.0 # .0.0
|
2009-10-09 13:40:12 -04:00
|
|
|
SHARED_LIBS += tracker-gtk 0.1 # .695.0
|
2009-04-21 17:34:46 -04:00
|
|
|
|
2009-08-30 07:46:14 -04:00
|
|
|
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
|
|
|
|
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
|
2009-11-29 04:28:28 -05:00
|
|
|
WANTLIB += Xrender art_lgpl_2 atk-1.0 avahi-client avahi-common
|
2009-08-30 07:46:14 -04:00
|
|
|
WANTLIB += avahi-glib bonobo-2 bonobo-activation bonoboui-2 bz2
|
2009-11-29 04:28:28 -05:00
|
|
|
WANTLIB += c cairo crypto curl dbus-1 dbus-glib-1 execinfo expat
|
|
|
|
WANTLIB += fontconfig freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 glade-2.0 glib-2.0 glitz gmime-2.4 gmodule-2.0
|
|
|
|
WANTLIB += gnome-2 gnome-keyring gnomecanvas-2 gnomeui-2 gnomevfs-2
|
|
|
|
WANTLIB += gobject-2.0 gstbase-0.10 gstreamer-0.10 gthread-2.0
|
|
|
|
WANTLIB += gtk-x11-2.0 idn jpeg lcms m ogg pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png popt pthread pthread-stubs
|
|
|
|
WANTLIB += ssl startup-notification-1 tiff util xcb xcb-atom xcb-aux
|
|
|
|
WANTLIB += xcb-event xml2 xslt z
|
2009-08-30 07:46:14 -04:00
|
|
|
|
2009-04-21 17:34:46 -04:00
|
|
|
HOMEPAGE= http://tracker-project.org/
|
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-10-12 13:42:55 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2009-04-21 17:34:46 -04:00
|
|
|
|
2009-10-12 13:42:55 -04:00
|
|
|
LIB_DEPENDS= vorbis::audio/libvorbis \
|
|
|
|
qdbm::databases/qdbm \
|
|
|
|
sqlite3::databases/sqlite3 \
|
|
|
|
gsf-1::devel/libgsf \
|
|
|
|
notify::devel/libnotify \
|
|
|
|
exif::graphics/libexif \
|
2010-03-21 06:41:37 -04:00
|
|
|
exempi.>=1::textproc/exempi \
|
2009-11-29 04:28:28 -05:00
|
|
|
gsttag-0.10:gstreamer-plugins-base->=0.10.25:multimedia/gstreamer-0.10/plugins-base \
|
2009-10-12 13:42:55 -04:00
|
|
|
poppler-glib,poppler::print/poppler \
|
|
|
|
raptor::textproc/raptor \
|
|
|
|
gnome-desktop-2::x11/gnome/desktop \
|
2009-11-29 04:28:28 -05:00
|
|
|
totem-plparser.>=2:totem-pl-parser->=2.28.1:x11/gnome/totem-pl-parser
|
2009-10-12 13:42:55 -04:00
|
|
|
BUILD_DEPENDS= ::devel/xdg-utils
|
2009-12-04 03:09:57 -05:00
|
|
|
RUN_DEPENDS= :gamin-*:sysutils/gamin,-server \
|
2009-10-12 13:42:55 -04:00
|
|
|
::devel/xdg-utils \
|
|
|
|
::textproc/odt2txt
|
2009-04-21 17:34:46 -04:00
|
|
|
|
2009-10-12 13:42:55 -04:00
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
MODPY_RUNDEP= No
|
2009-04-21 17:34:46 -04:00
|
|
|
|
2009-10-12 13:42:55 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-external-qdbm \
|
2010-03-21 06:41:37 -04:00
|
|
|
--enable-video-extractor=gstreamer \
|
2009-10-12 13:42:55 -04:00
|
|
|
--disable-unac \
|
|
|
|
--disable-hal \
|
|
|
|
--enable-libexif \
|
|
|
|
--enable-libgsf \
|
|
|
|
--enable-libjpeg \
|
|
|
|
--enable-libtiff \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-gdkpixbuf \
|
2010-03-21 06:41:37 -04:00
|
|
|
--with-deskbar_applet_dir=${PREFIX}/libexec/deskbar-applet/modules-2.20-compatible
|
2009-10-12 13:42:55 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2009-04-21 17:34:46 -04:00
|
|
|
|
2009-10-12 13:42:55 -04:00
|
|
|
# see patch-configure
|
|
|
|
CONFIGURE_ENV+= have_deskbar_applet="module"
|
|
|
|
|
|
|
|
FAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/tracker-search/
|
2009-04-22 03:06:04 -04:00
|
|
|
|
2009-04-21 19:39:43 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/data/modules/applications.module
|
|
|
|
|
2009-04-21 17:34:46 -04:00
|
|
|
.include <bsd.port.mk>
|