openbsd-ports/x11/gnome/tracker/Makefile
2009-08-11 08:38:41 +00:00

91 lines
3.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2009/08/11 08:39:39 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.94
PKGNAME= tracker-search-${VERSION}p4
SHARED_LIBS += stemmer 0.0 # .694.0
SHARED_LIBS += tracker-common 0.0 # .694.0
SHARED_LIBS += tracker-db 0.0 # .694.0
SHARED_LIBS += tracker-data 0.0 # .694.0
SHARED_LIBS += trackerclient 0.0 # .694.0
SHARED_LIBS += tracker-module 0.0 # .0.0
SHARED_LIBS += tracker-gtk 0.0 # .694.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 \
lang/python \
x11/gnome
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 bonobo-2 bonobo-activation
WANTLIB += bonoboui-2 bz2 c cairo camel-1.2 com_err crypto curl
WANTLIB += dbus-1 dbus-glib-1 edataserver-1.2 expat fontconfig
WANTLIB += freetype 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 gsttag-0.10 gthread-2.0
WANTLIB += gtk-x11-2.0 idn jpeg krb5 m nspr4 nss3 ogg pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 plc4 plds4
WANTLIB += png popt pthread smime3 softokn3 soup-2.4 ssl ssl3
WANTLIB += startup-notification-1 tasn1 tiff totem-plparser util
WANTLIB += xml2 xslt z pthread-stubs xcb
WANTLIB += avahi-client avahi-common avahi-glib
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 \
gstbase-0.10,gstreamer-0.10::multimedia/gstreamer-0.10/core \
poppler-glib,poppler::print/poppler \
raptor::textproc/raptor \
gnome-desktop-2::x11/gnome/desktop
BUILD_DEPENDS= ::devel/xdg-utils \
::x11/gnome/deskbar-applet
RUN_DEPENDS= ::devel/glib2,-fam \
::devel/xdg-utils \
::textproc/odt2txt \
::x11/gnome/deskbar-applet
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-handler-dir="${LOCALBASE}/lib/python${MODPY_VERSION}/site-packages/deskbar/handlers/"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/tracker-search/
pre-configure:
${SUBST_CMD} ${WRKSRC}/data/modules/applications.module
.include <bsd.port.mk>