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

require neovim-gtk

SLOT="0"
PLATFORMS="~amd64 ~x86"

DEPENDENCIES="
    build+run:
        app-editors/neovim
        dev-libs/glib:2
        x11-libs/cairo
        x11-libs/gtk+:3[>=3.22.0]
        x11-libs/pango
    run:
        gnome-desktop/gsettings-desktop-schemas
"

DEFAULT_SRC_PREPARE_PATCHES=(
    "${FILES}"/Try-to-fix-render-issues-due-to-changes-in-pango_1.4.patch
)