template.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. pkgname = "enlightenment"
  2. pkgver = "0.25.4"
  3. pkgrel = 0
  4. build_style = "meson"
  5. configure_args = [
  6. "-Dpam=true", "-Dwl=true", "-Dsystemd=false",
  7. ]
  8. hostmakedepends = [
  9. "meson", "pkgconf", "gettext-tiny", "efl", "xwayland", "wayland-progs"
  10. ]
  11. makedepends = [
  12. "gettext-tiny-devel", "efl-devel", "mesa-devel", "wayland-devel",
  13. "wayland-protocols", "libxkbcommon-devel", "linux-pam-devel",
  14. "libexif-devel", "bluez-devel", "xkeyboard-config"
  15. ]
  16. depends = [
  17. "desktop-file-utils", "hicolor-icon-theme", "xkeyboard-config", "elogind"
  18. ]
  19. pkgdesc = "Enlightenment desktop shell"
  20. license = "BSD-2-Clause"
  21. url = "https://enlightenment.org"
  22. source = f"http://download.enlightenment.org/rel/apps/{pkgname}/{pkgname}-{pkgver}.tar.xz"
  23. sha256 = "56db5d206b821b9a8831d26e713e410ac70b2255a6f43fcdf7c01eefde23b7a2"
  24. suid_files = [
  25. "usr/lib/enlightenment/utils/enlightenment_ckpasswd",
  26. "usr/lib/enlightenment/utils/enlightenment_system",
  27. "usr/lib/enlightenment/utils/enlightenment_sys",
  28. ]
  29. # FIXME int: janky codebase
  30. hardening = ["!int"]
  31. def post_install(self):
  32. self.install_license("COPYING")
  33. @subpackage("enlightenment-devel")
  34. def _devel(self):
  35. self.depends += [f"enlightenment={pkgver}-r{pkgrel}"]
  36. return self.default_devel()