Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

43 rindas
774 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/grim.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/grim"
  12. if [[ $PV = 9999* ]]; then
  13. SRC_URI=""
  14. else
  15. SRC_URI="https://github.com/emersion/grim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  16. KEYWORDS="~amd64 ~x86"
  17. fi
  18. LICENSE="MIT"
  19. SLOT="0"
  20. IUSE="jpeg"
  21. RDEPEND="dev-libs/wayland
  22. >=dev-libs/wayland-protocols-1.14
  23. x11-libs/cairo
  24. jpeg? ( virtual/jpeg )
  25. "
  26. DEPEND="${RDEPEND}
  27. >=dev-util/meson-0.47
  28. dev-util/ninja
  29. "
  30. src_configure() {
  31. meson_src_configure
  32. }