# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                gnome-online-miners
version             3.24.0
revision            1
license             GPL-2
set branch          [join [lrange [split ${version} .] 0 1] .]
description         Index your online content in Tracker.
long_description    GNOME Online Miners provides a set of crawlers that go through your \
                    online content and index them locally in Tracker. It has miners for \
                    Facebook, Flickr, Google, ownCloud and SkyDrive.

maintainers         {devans @dbevans} openmaintainer
categories          gnome
platforms           darwin
homepage            https://wiki.gnome.org/Projects/GnomeOnlineMiners
master_sites        gnome:sources/${name}/${branch}/

use_xz              yes

checksums           rmd160  ffe7becda973a17b03a7e1b33faba6ab00cdd280 \
                    sha256  8c0508f459b0364bed5f2f6a997aa81c1cbe75a94b23cc8fcfd83b0d3485d3ab \
                    size    272572

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:gnome-online-accounts \
                    port:gfbgraph \
                    port:grilo \
                    port:grilo-plugins \
                    port:libgdata \
                    port:tracker

# requires C++11
compiler.cxx_standard 2011

configure.args      --enable-facebook=yes \
                    --enable-flickr=yes \
                    --enable-google=yes \
                    --enable-media-server=yes \
                    --enable-owncloud=yes \
                    --enable-windows-live=no \
                    --disable-silent-rules \
                    --enable-compile-warnings=no

livecheck.type      gnome