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

peertube: Add more dependencies

parent 4be761cc
...@@ -22,6 +22,8 @@ extends = ...@@ -22,6 +22,8 @@ extends =
../../component/ffmpeg/buildout.cfg ../../component/ffmpeg/buildout.cfg
../../component/postgresql/buildout.cfg ../../component/postgresql/buildout.cfg
../../component/openssl/buildout.cfg ../../component/openssl/buildout.cfg
../../component/nss/buildout.cfg
../../component/nspr/buildout.cfg
../../component/gcc/buildout.cfg ../../component/gcc/buildout.cfg
../../component/libxml2/buildout.cfg ../../component/libxml2/buildout.cfg
../../component/libxslt/buildout.cfg ../../component/libxslt/buildout.cfg
...@@ -41,6 +43,8 @@ parts = ...@@ -41,6 +43,8 @@ parts =
vim vim
nodejs nodejs
yarn yarn
nss
nspr
openssl openssl
python3 python3
nginx nginx
...@@ -68,11 +72,13 @@ path = ${peertube:location} ...@@ -68,11 +72,13 @@ path = ${peertube:location}
environment = 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 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 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 = pre-configure =
${yarn:location}/bin/yarn install --production --pure-lockfile ${yarn:location}/bin/yarn install --production --pure-lockfile
configure-command = true configure-command = true
make-binary = cd ${peertube:location} && ${yarn:location}/bin/yarn make-binary = cd ${peertube:location} && ${yarn:location}/bin/yarn
post-install =
rm -rf ${buildout:directory}/.cache/yarn/
[peertube-postgresql-setup.in] [peertube-postgresql-setup.in]
recipe = slapos.recipe.build:download 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