You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 rivejä
727 B

  1. # Copyright 1999-2018 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. EGIT_REPO_URI="https://github.com/emersion/slurp.git"
  5. EGIT_BRANCH="master"
  6. if [[ ${PV} = 9999* ]]; then
  7. GIT_ECLASS="git-r3"
  8. fi
  9. inherit eutils meson $GIT_ECLASS
  10. DESCRIPTION="Grab images from a Wayland compositor"
  11. HOMEPAGE="https://github.com/emersion/slurp"
  12. if [[ $PV = 9999* ]]; then
  13. SRC_URI=""
  14. else
  15. SRC_URI="https://github.com/emersion/slurp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  16. KEYWORDS="~amd64 ~x86"
  17. fi
  18. LICENSE="MIT"
  19. SLOT="0"
  20. IUSE=""
  21. RDEPEND="dev-libs/wayland
  22. x11-libs/cairo
  23. "
  24. DEPEND="${RDEPEND}
  25. >=dev-util/meson-0.47
  26. dev-util/ninja
  27. app-text/scdoc
  28. "
  29. src_configure() {
  30. meson_src_configure
  31. }