logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: f75cbd39b72f6c2b34783a164b7685002c92f1f4
parent bc3aace04a18b6d83e32538c9a2de19363b44199
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 17 Feb 2022 17:06:38 +0100

www-apps/pleroma: Rework, this time with dirty dependencies

Diffstat:

Awww-apps/pleroma/Manifest1+
Awww-apps/pleroma/pleroma-2.4.2.ebuild56++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest @@ -0,0 +1 @@ +DIST pleroma-v2.4.2.tar.gz 36538934 BLAKE2B b235a54c50f3b469798f0e2a44ea0443344ebda5cb79021ba30d508fbb0346dcd0e9641b1e4bb6300cf5ce12893daa7a10126597b4fa44aca43b54aad4bbd5d2 SHA512 b46c81e717094dc81ad3bcf2441e529d1a1ab2550a9ff6941059df09216c6ddabd82da8c0aa3a46e7f6c576a7fe4892e771ce581fa34b1bbbd0ebe1f93cc6702 diff --git a/www-apps/pleroma/pleroma-2.4.2.ebuild b/www-apps/pleroma/pleroma-2.4.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit mix + +DESCRIPTION="ActivityPub social networking software compatible with other Fediverse software" +HOMEPAGE="https://pleroma.social/" +SRC_URI="https://git.pleroma.social/pleroma/pleroma/-/archive/v${PV}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" +LICENSE="AGPL-3 CC-BY-SA-4.0 CC-BY-4.0" +SLOT="otp" +KEYWORDS="~aarch64 ~amd64 ~arm" +IUSE="imagemagick ffmpeg exiftool" + +BDEPEND=" + dev-lang/erlang:= + dev-lang/elixir:= + dev-util/cmake + dev-erlang/rebar + dev-elixir/hex +" +DEPEND=" + sys-libs/ncurses:= + sys-apps/file +" +RDEPEND=" + ${DEPEND} + imagemagick? ( media-gfx/imagemagick ) + ffmpeg? ( media-video/ffmpeg ) + exiftool? ( media-libs/exiftool ) +" + +src_unpack() { + default + + cd "${S}" || die + emix deps.get --only prod +} + +src_prepare() { + default + + echo "import Mix.Config" > config/prod.secret.exs || die +} + +src_compile() { + mkdir -p pleroma || die + emix release --path pleroma +} + +src_install() { + insinto /opt/ + doins -r pleroma +}