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.

55 lines
1.1 KiB

  1. # Copyright 1999-2021 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. PYTHON_COMPAT=( python3_{7..9} )
  5. inherit gnome.org gnome2-utils meson python-any-r1 xdg
  6. DESCRIPTION="Note editor designed to remain simple to use"
  7. HOMEPAGE="https://wiki.gnome.org/Apps/Notes"
  8. LICENSE="GPL-3+"
  9. SLOT="0"
  10. KEYWORDS="amd64 x86"
  11. DEPEND="
  12. app-misc/tracker:3=
  13. >=dev-libs/glib-2.53.4:2
  14. net-libs/gnome-online-accounts:=
  15. >=x11-libs/gtk+-3.19.3:3
  16. dev-libs/json-glib
  17. >=gnome-extra/evolution-data-server-3.33.2:=
  18. >=gui-libs/libhandy-1.0.0:1=
  19. dev-libs/libxml2:2
  20. net-misc/curl
  21. sys-apps/util-linux
  22. >=net-libs/webkit-gtk-2.26:4
  23. "
  24. RDEPEND="${DEPEND}"
  25. BDEPEND="
  26. ${PYTHON_DEPS}
  27. dev-libs/appstream-glib
  28. dev-util/gdbus-codegen
  29. dev-util/glib-utils
  30. dev-util/itstool
  31. >=sys-devel/gettext-0.19.8
  32. virtual/pkgconfig
  33. "
  34. src_configure() {
  35. local emesonargs=(
  36. -Dupdate_mimedb=false
  37. -Dprivate_store=false # private store gets automatically enabled with tracker3
  38. )
  39. meson_src_configure
  40. }
  41. pkg_postinst() {
  42. xdg_pkg_postinst
  43. gnome2_schemas_update
  44. }
  45. pkg_postrm() {
  46. xdg_pkg_postrm
  47. gnome2_schemas_update
  48. }