# -*- 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               github 1.0
PortGroup               xcode 1.0

github.setup            HermesApp Hermes 1.3.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
revision                1
name                    HermesApp
categories              aqua audio
maintainers             {ryandesign @ryandesign} openmaintainer
license                 MIT

description             compact macOS Pandora client that doesn't use Flash

long_description        Hermes is a {*}${description}.

homepage                https://hermesapp.org

# stealth update; remove for next version
dist_subdir             ${name}/${version}_1
checksums               rmd160  92e98c929fd39cd423422015caeaee4dfe98b305 \
                        sha256  28cbd617240d4e433b81b9d1bb002672dad170c96295cf1cad42675f6de8db01 \
                        size    1675053

# The bundled Sparkle framework is built for this architecture only.
# https://github.com/HermesApp/Hermes/issues/372
supported_archs         x86_64

patchfiles              patch-no-Werror.diff

xcode.target            Hermes
xcode.configuration     Release
xcode.build.settings    CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO
xcode.destroot.settings {*}${xcode.build.settings}

github.livecheck.regex  {([0-9.]+)}
