mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
www-apps/pleroma-9999: Use system vips
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
parent
0095e3ad5e
commit
1b57a20733
@ -32,8 +32,9 @@ BDEPEND="
|
|||||||
dev-elixir/hex
|
dev-elixir/hex
|
||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
sys-libs/ncurses:=
|
media-libs/vips:=
|
||||||
sys-apps/file
|
sys-apps/file
|
||||||
|
sys-libs/ncurses:=
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${DEPEND}
|
${DEPEND}
|
||||||
@ -59,7 +60,9 @@ src_prepare() {
|
|||||||
sed -i "s!source_url: .*!source_url: \"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
|
sed -i "s!source_url: .*!source_url: \"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
|
||||||
fi
|
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 \
|
sed -i \
|
||||||
-e '/update \[OPTIONS\]/,/--tmp-dir/d' \
|
-e '/update \[OPTIONS\]/,/--tmp-dir/d' \
|
||||||
@ -74,6 +77,9 @@ src_prepare() {
|
|||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
mkdir -p pleroma || die
|
mkdir -p pleroma || die
|
||||||
|
|
||||||
|
export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS"
|
||||||
|
|
||||||
emix release --overwrite --path pleroma
|
emix release --overwrite --path pleroma
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user