mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
www-apps/pleroma: synchronize current release with live
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -24,14 +24,15 @@ RESTRICT="network-sandbox"
|
||||
|
||||
BDEPEND="
|
||||
<dev-lang/erlang-27:=
|
||||
<dev-lang/elixir-1.15:=
|
||||
<dev-lang/elixir-1.16:=
|
||||
dev-build/cmake
|
||||
>=dev-util/rebar-3.20.0-r1
|
||||
dev-elixir/hex
|
||||
"
|
||||
DEPEND="
|
||||
sys-libs/ncurses:=
|
||||
media-libs/vips:=
|
||||
sys-apps/file
|
||||
sys-libs/ncurses:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
@@ -57,7 +58,9 @@ 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
|
||||
# strip_beams: Keep debug information in Erlang BEAM bytecode
|
||||
# include_erts: Depend on system erlang for the runtime
|
||||
sed -i '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
|
||||
|
||||
sed -i \
|
||||
-e '/update \[OPTIONS\]/,/--tmp-dir/d' \
|
||||
@@ -72,6 +75,9 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
mkdir -p pleroma || die
|
||||
|
||||
export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS"
|
||||
|
||||
emix release --overwrite --path pleroma
|
||||
}
|
||||
|
||||
@@ -80,7 +86,8 @@ src_install() {
|
||||
mkdir -p "${ED}/opt" || die
|
||||
cp -pr ./pleroma "${ED}/opt/pleroma" || die
|
||||
fperms 0750 /opt/pleroma
|
||||
fowners 0:pleroma /opt/pleroma
|
||||
fperms -R g-w,o= /opt/pleroma
|
||||
fowners -R 0:pleroma /opt/pleroma
|
||||
|
||||
doinitd ./pleroma/installation/init.d/pleroma
|
||||
|
||||
Reference in New Issue
Block a user