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

PortSystem      1.0
PortGroup       bitbucket 1.0

bitbucket.setup cmende scmpc 0.4.1
categories      audio
platforms       darwin
license         GPL-2+
maintainers     nomaintainer
description     a client for MPD that submits your tracks to last.fm
long_description \
    scmpc is ${description}.

bitbucket.tarball_from downloads
use_bzip2       yes
checksums       rmd160  f30c5ea2dbcff560961ba7ae8daa83b267f6901a \
                sha256  f89958dc0449f1dfbcbe81b453986812196dc86200153ac700cf606297c3fde3

depends_build   port:pkgconfig

depends_lib     port:curl \
                path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:libconfuse \
                port:libmpdclient

notes "
Please note that scmpc may have some strange behavior on macOS, possibly\
relating to the cache file and SIGKILL. Please read the manpage before\
using, and make sure that scmpc is taking up a reasonable amount of cpu\
and otherwise behaving properly before you leave it on overnight!
"