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.

45 lines
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/mako.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="A lightweight Wayland notification daemon"
  11. HOMEPAGE="https://github.com/emersion/mako"
  12. if [[ $PV = 9999* ]]; then
  13. SRC_URI=""
  14. else
  15. SRC_URI="https://github.com/emersion/mako/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. x11-libs/pango
  24. || (
  25. sys-auth/elogind
  26. sys-apps/systemd
  27. )
  28. "
  29. DEPEND="${RDEPEND}
  30. >=dev-util/meson-0.47
  31. dev-util/ninja"
  32. src_configure() {
  33. meson_src_configure
  34. }