Commit 09ff1c71 authored by Boxiang Sun's avatar Boxiang Sun

peertube: Add more dependencies

parent 4be761cc
......@@ -22,6 +22,8 @@ extends =
../../component/ffmpeg/buildout.cfg
../../component/postgresql/buildout.cfg
../../component/openssl/buildout.cfg
../../component/nss/buildout.cfg
../../component/nspr/buildout.cfg
../../component/gcc/buildout.cfg
../../component/libxml2/buildout.cfg
../../component/libxslt/buildout.cfg
......@@ -41,6 +43,8 @@ parts =
vim
nodejs
yarn
nss
nspr
openssl
python3
nginx
......@@ -68,11 +72,13 @@ path = ${peertube:location}
environment =
PATH=${unzip:location}/bin:${vim:location}/bin:${nodejs:location}/bin:${yarn:location}/bin:${python3:location}/bin:${nginx:location}/sbin:${postgresql10:location}/bin:${gcc-10.2:location}/bin:${redis:location}/bin:{git:location}/bin:{wget:location}/bin:%(PATH)s
CPPFLAGS=-I${openssl:location}/include
LDFLAGS=-L${curl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl,-rpath -Wl
LDFLAGS=-L${curl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl, -rpath=${nss:location}/lib,-rpath=${nspr:location}/lib -rpath -Wl
pre-configure =
${yarn:location}/bin/yarn install --production --pure-lockfile
configure-command = true
make-binary = cd ${peertube:location} && ${yarn:location}/bin/yarn
post-install =
rm -rf ${buildout:directory}/.cache/yarn/
[peertube-postgresql-setup.in]
recipe = slapos.recipe.build:download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment