logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

pleroma-1.0.2.ebuild (2191B)


  1. # Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. inherit mix
  5. DESCRIPTION="Microblogging software federating over OStatus and ActivityPub"
  6. HOMEPAGE="https://pleroma.social/"
  7. LICENSE="AGPL-3 CC-BY-SA-4.0 Unsplash"
  8. if [[ "${PV}" == "9999" ]]; then
  9. inherit git-r3
  10. EGIT_REPO_URI="https://git.pleroma.social/pleroma/pleroma.git"
  11. else
  12. SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/pleroma-v${PV}.tar.bz2"
  13. KEYWORDS="~amd64 ~arm ~arm64"
  14. fi
  15. SLOT="0"
  16. IUSE=""
  17. # dev-lang/erlang is required for binary compat
  18. DEPEND="
  19. dev-lang/erlang:=
  20. >=dev-lang/elixir-1.7:=
  21. dev-elixir/auto_linker
  22. >=dev-elixir/cachex-3.0.2
  23. >=dev-elixir/calendar-0.17.4
  24. >=dev-elixir/comeonin-4.1.1
  25. >=dev-elixir/cors_plug-1.5
  26. >=dev-elixir/credo-0.9.3
  27. dev-elixir/crypt
  28. >=dev-elixir/earmark-1.3
  29. >=dev-elixir/ecto_sql-3.0.5
  30. >=dev-elixir/ex_aws-2.0
  31. >=dev-elixir/ex_aws_s3-2.0
  32. >=dev-elixir/ex_doc-1.5
  33. >=dev-elixir/ex_machina-2.3
  34. >=dev-elixir/ex_syslogger-1.4.0
  35. >=dev-elixir/floki-0.20.0
  36. >=dev-elixir/gen_smtp-0.13
  37. >=dev-elixir/gettext-0.15
  38. >=dev-elixir/html_entities-0.4
  39. >=dev-elixir/html_sanitize_ex-1.3.0
  40. >=dev-elixir/httpoison-1.2.0
  41. >=dev-elixir/jason-1.0
  42. >=dev-elixir/mock-0.3.1
  43. >=dev-elixir/mogrify-0.6.1
  44. >=dev-elixir/pbkdf2_elixir-0.12.3
  45. >=dev-elixir/phoenix-1.4.1
  46. >=dev-elixir/phoenix_ecto-4.0
  47. >=dev-elixir/phoenix_pubsub-1.1
  48. >=dev-elixir/pleroma_job_queue-0.2.0
  49. >=dev-elixir/plug_cowboy-2.0
  50. >=dev-elixir/poison-3.0
  51. >=dev-elixir/postgrex-0.13.5
  52. >=dev-elixir/prometheus_ecto-1.4
  53. >=dev-elixir/prometheus_ex-3.0
  54. >=dev-elixir/prometheus_pheonix-1.2
  55. >=dev-elixir/prometheus_plugs-1.1
  56. >=dev-elixir/quack-0.1.1
  57. >=dev-elixir/recon-2.4.0
  58. >=dev-elixir/swoosh-0.20
  59. >=dev-elixir/telemetry-0.3
  60. >=dev-elixir/tesla-1.2
  61. >=dev-elixir/timex-3.5
  62. >=dev-elixir/trailing_format_plug-0.0.7
  63. >=dev-elixir/ueberauth-0.4
  64. >=dev-elixir/web_push_encryption-0.2.1
  65. dev-elixir/websocket_client
  66. "
  67. RDEPEND="${DEPEND}"
  68. src_prepare() {
  69. sed -i '/pleroma: \[/a\ include_erts: false,' ./mix.exs || die "Failed setting release to: include_erts: false"
  70. default
  71. }
  72. src_compile() {
  73. mix release
  74. }