# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 EGIT_REPO_URI="https://github.com/emersion/slurp.git" EGIT_BRANCH="master" if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-r3" fi inherit eutils meson $GIT_ECLASS DESCRIPTION="Grab images from a Wayland compositor" HOMEPAGE="https://github.com/emersion/slurp" if [[ $PV = 9999* ]]; then SRC_URI="" else SRC_URI="https://github.com/emersion/slurp/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="MIT" SLOT="0" IUSE="" RDEPEND="dev-libs/wayland x11-libs/cairo " DEPEND="${RDEPEND} >=dev-util/meson-0.47 dev-util/ninja app-text/scdoc " src_configure() { meson_src_configure }