diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-04-26 02:12:46 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-04-26 02:12:46 +0800 |
commit | dfc30719d9758d9e6b3e06963e4bf5175ae16825 (patch) | |
tree | 3c84ec64b1dd1a9a2618a75efa664a18033890bd /sysutils/tracker/Makefile | |
parent | d0d9889c61e774a633eda7b5bce0688ca50d1ac8 (diff) | |
download | marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.gz marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.bz2 marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.lz marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.xz marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.zst marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.zip |
Update MC-ports to GNOME 3.12.
Dragons beware! Although most of them should be sleeping.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19571 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/tracker/Makefile')
-rw-r--r-- | sysutils/tracker/Makefile | 155 |
1 files changed, 89 insertions, 66 deletions
diff --git a/sysutils/tracker/Makefile b/sysutils/tracker/Makefile index b25795746..684adcc50 100644 --- a/sysutils/tracker/Makefile +++ b/sysutils/tracker/Makefile @@ -3,8 +3,8 @@ # $MCom$ PORTNAME= tracker -PORTVERSION= 0.14.4 -PORTREVISION= 1 +PORTVERSION= 1.0.0 +PORTREVISION= 3 CATEGORIES= sysutils gnome MASTER_SITES= GNOME @@ -12,53 +12,35 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Object database, tag/metadata database, search tool and indexer LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ - libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ - libexif.so:${PORTSDIR}/graphics/libexif \ - libwv-1.2.so:${PORTSDIR}/textproc/wv \ libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \ - libexempi.so:${PORTSDIR}/textproc/exempi \ libhal.so:${PORTSDIR}/sysutils/hal \ - libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \ libraptor.so:${PORTSDIR}/textproc/raptor \ - libogg.so:${PORTSDIR}/audio/libogg \ - libiptcdata.so:${PORTSDIR}/graphics/libiptcdata \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ - librest-0.7.so:${PORTSDIR}/devel/librest \ - libgif.so:${PORTSDIR}/graphics/giflib \ - libFLAC.so:${PORTSDIR}/audio/flac \ - libcue.so:${PORTSDIR}/textproc/libcue \ - libtag.so:${PORTSDIR}/audio/taglib + libmediaart-1.0.so:${PORTSDIR}/multimedia/libmediaart \ + librest-0.7.so:${PORTSDIR}/devel/librest RUN_DEPENDS= xdg-desktop-icon:${PORTSDIR}/devel/xdg-utils \ o3totxt:${PORTSDIR}/converters/o3read \ pdftotext:${PORTSDIR}/graphics/poppler-utils \ w3m:${PORTSDIR}/www/w3m -PLIST_SUB= TRACKER_VER="0.14" - -TRACKER_VER= 0.14 +PLIST_SUB= TRACKER_VER="1.0" -USES= gettext gmake pathfix pkgconfig -USE_SQLITE= 3 -USE_XZ= yes -USE_GNOME= gnomeprefix gtk30 intltool ltverhack +USES= gettext gmake libtool pathfix pkgconfig tar:xz +USE_GNOME= gnomeprefix gtk30 intltool introspection:build USE_LDCONFIG= yes -USE_GSTREAMER= core +USE_SQLITE= 3 +USE_GSTREAMER1= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/tracker CONFIGURE_ARGS= --enable-video-extractor=gstreamer \ --with-session-bus-services-dir=${LOCALBASE}/share/dbus-1/services \ - --enable-libexif --enable-libvorbis \ - --enable-libiptcdata --enable-miner-fs \ + --disable-libiptcdata --enable-miner-fs \ --disable-meegotouch --disable-miner-flickr \ - --enable-taglib \ - --enable-tracker-preferences --enable-poppler \ - --enable-libgsf \ - --disable-libosinfo --enable-libgif \ - --enable-libjpeg --enable-libtiff \ - --enable-libvorbis --enable-libflac \ - --enable-libcue + --enable-tracker-preferences \ + --disable-libosinfo \ + --enable-generic-media-extractor=gstreamer GLIB_SCHEMAS= org.freedesktop.Tracker.DB.gschema.xml \ org.freedesktop.Tracker.Extract.gschema.xml \ org.freedesktop.Tracker.FTS.gschema.xml \ @@ -68,47 +50,88 @@ GLIB_SCHEMAS= org.freedesktop.Tracker.DB.gschema.xml \ org.freedesktop.Tracker.enums.xml \ org.freedesktop.Tracker.gschema.xml -# --enable-miner-evolution -# --enable-miner-thunderbird -# --enable-miner-firefox enable Firefox email data miner [[default=auto]] -# --enable-nautilus-extension -# --enable-tracker-search-bar -# --enable-qt enable Qt support, (MP3 album art) [[default=auto]] -# --enable-tracker-search-bar -# enable tracker-search-bar[[default=auto]] -# --enable-tracker-needle enable tracker-needle [[default=auto]] -# enable the tracker preferences dialog -# [[default=auto]] -# --enable-tracker-explorer -# enable tracker-explorer[[default=auto]] -# --enable-libstreamanalyzer -# enable libstreamananalyzer [[default=no]] -# --disable-libxml2 disable HTML/XML extractors [[default=yes]] -# --enable-gdkpixbuf enable GdkPixbuf support, (MP3 album art) -# [[default=auto]] -# --enable-generic-media-extractor=ARG -# enables one of the (gstreamer, xine, external, auto) -# generic media extractor backends [[default=auto]] -# --disable-unzip-ps-gz-files -# disable unzipping ps.gz files [[default=yes]] -# -# -# --enable-playlist enable playlist support [[default=auto]] -# --enable-guarantee-metadata -# enable guaranteed existence of some metadata -# [[default=no]] -# -# +OPTIONS_DEFINE= AUDIO_MINERS DOCUMENT_MINERS GRAPHIC_MINERS WEB_MINERS +OPTIONS_DEFAULT= AUDIO_MINERS DOCUMENT_MINERS GRAPHIC_MINER +WEB_MINERS_DESC= Support for Firefox, Thunderbird and Evolution +AUDIO_MINERS_DESC= Support for audio files +DOCUMENT_MINERS_DESC= Support for some sort of documents (pdf, ps, xps, office) +GRAPHIC_MINERS_DESC= Support for some graphic formats (gif, png, tiff) .include <bsd.port.pre.mk> -post-patch: - @${REINPLACE_CMD} -e 's|libpng|libpng15|' ${WRKSRC}/configure +.if ${PORT_OPTIONS:MWEB_MINERS} +CONFIGURE_ARGS+= --enable-miner-evolution --enable-miner-firefox \ + --enable-miner-thunderbird +PLIST_SUB+= WEB_MINERS="" +.else +CONFIGURE_ARGS+= --disable-miner-evolution --disable-miner-firefox \ + --disable-miner-thunderbird +PLIST_SUB+= WEB_MINERS="@comment " +.endif + +.if ${PORT_OPTIONS:MAUDIO_MINERS} +LIB_DEPENDS+= libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \ + libFLAC.so:${PORTSDIR}/audio/flac \ + libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libcue.so:${PORTSDIR}/textproc/libcue \ + libogg.so:${PORTSDIR}/audio/libogg \ + libtag.so:${PORTSDIR}/audio/taglib +CONFIGURE_ARGS+= --enable-libvorbis --enable-libflac \ + --enable-taglib --enable-mp3 \ + --enable-libcue --enable-playlist +PLIST_SUB+= AUDIO_MINERS="" +.else +CONFIGURE_ARGS+= --disable-libvorbis --disable-libflac \ + --disable-taglib --disable-mp3 \ + --disable-libcue --disable-playlist +PLIST_SUB+= AUDIO_MINERS="@comment " +.endif + +.if ${PORT_OPTIONS:MDOCUMENT_MINERS} +LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ + libgxps.so:${PORTSDIR}/graphics/libgxps \ + libgsf-1.so:${PORTSDIR}/devel/libgsf \ + libexempi.so:${PORTSDIR}/textproc/exempi \ + libwv-1.2.so:${PORTSDIR}/textproc/wv +CONFIGURE_ARGS+= --enable-libgxps --enable-poppler \ + --enable-libxml2 --enable-exif \ + --enable-libgsf --enable-abiword \ + --enable-dvi --enable-ps \ + --enable-exempi --enable-text +PLIST_SUB+= DOCUMENT_MINERS="" +.else +CONFIGURE_ARGS+= --disable-libgxps --disable-poppler \ + --disable-libxml2 --disable-exif \ + --disable-libgsf --disable-abiword \ + --disable-dvi --disable-ps \ + --disable-exempi --disable-text +PLIST_SUB+= DOCUMENT_MINERS="@comment " +.endif + +.if ${PORT_OPTIONS:MGRAPHIC_MINERS} +LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif \ + libgif.so:${PORTSDIR}/graphics/giflib \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff +CONFIGURE_ARGS+= --enable-libgif \ + --enable-libjpeg \ + --enable-libtiff \ + --enable-icon \ + --enable-libpng15 +PLIST_SUB+= GRAPHIC_MINERS="" +.else +CONFIGURE_ARGS+= --disable-libgif \ + --disable-libjpeg \ + --disable-libtiff \ + --disable-icon \ + --disable-libpng15 +PLIST_SUB+= GRAPHIC_MINERS="@comment " +.endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtracker-*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtracker-*.so.0 - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tracker-0.14/*.so - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tracker-0.14/*/*.so* + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tracker-1.0/*.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tracker-1.0/*/*.so* .include <bsd.port.post.mk> |