# Copyright 2019 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2

require github [ user="cboxdoerfer" ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]

SUMMARY="A fast file search utility for Unix-like systems based on GTK+3"
HOMEPAGE="http://www.fsearch.org/ ${HOMEPAGE}"

LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""

DEPENDENCIES="
    build:
        dev-util/intltool
        sys-devel/libtool
        virtual/pkg-config
    build+run:
        dev-libs/glib:2
        dev-libs/pcre
        x11-libs/gdk-pixbuf:2.0
        x11-libs/gtk+:3
"

BUGS_TO="hasufell@posteo.de"

src_prepare() {
    edo glib-gettextize --copy --force
    edo intltoolize --force --copy --automake
    eautoreconf
}