commit: 717edcbc8eaa6e94de16b469e433351cbc80dcb9
parent 64a18c61e2089e623b20f34715293d8bd4748952
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 12 Jun 2023 09:55:21 +0200
www-apps/pleroma: Do not strip BEAMs, exclude erts, always recompile
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/www-apps/pleroma/pleroma-2.5.2.ebuild b/www-apps/pleroma/pleroma-2.5.2.ebuild
@@ -59,12 +59,14 @@ src_prepare() {
sed -i "s!source_url: .*!source_url: \"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
fi
+ sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
+
echo "import Mix.Config" > config/prod.secret.exs || die
}
src_compile() {
mkdir -p pleroma || die
- emix release --path pleroma
+ emix release --overwrite --path pleroma
}
src_install() {
diff --git a/www-apps/pleroma/pleroma-9999.ebuild b/www-apps/pleroma/pleroma-9999.ebuild
@@ -59,12 +59,14 @@ src_prepare() {
sed -i "s!source_url: .*!source_url: \"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
fi
+ sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
+
echo "import Mix.Config" > config/prod.secret.exs || die
}
src_compile() {
mkdir -p pleroma || die
- emix release --path pleroma
+ emix release --overwrite --path pleroma
}
src_install() {