# -*- 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           legacysupport 1.0
PortGroup           meson 1.0

github.setup        cboxdoerfer fsearch 0.2.3
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
epoch               1
revision            5
categories          sysutils
license             GPL-2+
maintainers         {mps @Schamschula} openmaintainer
description         FSearch is a fast file search utility
long_description    {*}${description}, inspired by Everything Search Engine.

checksums           rmd160  3581480a320aa28a62f829f0dec59ea0d6aee1fc \
                    sha256  a99ba6da8e01380a354eb7a7178bdf5e54ac5e2989a763902930885f7c6daf47 \
                    size    677368

compiler.c_standard 2011

# AT_SYMLINK_NOFOLLOW
legacysupport.newest_darwin_requires_legacy 13

depends_build       port:pkgconfig
depends_lib         port:adwaita-icon-theme \
                    port:dbus-glib \
                    port:gettext \
                    port:gsettings-desktop-schemas \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:hicolor-icon-theme \
                    path:lib/pkgconfig/icu-uc.pc:icu \
                    port:intltool \
                    port:pcre2

patchfiles          patch-macos-support.diff \
                    patch-src-fsearch-query-parser.diff

github.livecheck.regex \
                    (\[^ab"\]+)
