add missing depends

This commit is contained in:
Antoine Martin 2023-09-05 18:53:10 -04:00
parent fec9ff297b
commit 5a1894d553
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -9,7 +9,35 @@ pkgdesc="ONLYOFFICE Docs is a free collaborative online office suite"
url="https://github.com/ONLYOFFICE/DocumentServer"
arch="x86_64"
license="AGPL-3.0"
makedepends="make g++ nodejs npm autoconf automake openjdk20-jdk"
makedepends="
make g++
nodejs
npm
autoconf
automake
openjdk20-jdk
libxscrnsaver
libncurses++
libxrender-dev
libxi-dev
libxcb-dev
libx11-dev
gst-plugins-base-dev
gstreamer-dev
glu
icu-dev
dbus-dev
cups-dev
at-spi2-core
alsa-lib
subversion
gzip
p7zip
libtool
libpulse
gtk+3.0-dev
glib-dev
"
options="!check" # No testsuite
source="
$pkgname-$pkgver.tar.gz::https://lab.ilot.io/mirrors/onlyoffice-document-server/-/releases/v$pkgver/downloads/tarball/onlyoffice-document-server-v$pkgver.tar.gz
@ -31,12 +59,23 @@ build() {
msg "Building 3rdparty"
cd "$builddir"/core/Common/3dParty
./make.sh
msg "Building sdkjs"
cd "$builddir"/sdkjs
make
msg "Building server"
cd "$builddir"/server
make
msg "Building webapps"
cd "$builddir"/web-apps
npm install
grunt
msg "Building sdkjs"
cd "$builddir"/sdkjs
make
msg "Building converter"
pkg "$builddir"/build_tools/out/linux_64/onlyoffice/documentserver/server/FileConverter -o "$builddir"/converter
mv "$builddir"/converter $builddir/server/FileConvertor/converter
msg "Building docservice"
pkg "$builddir"/build_tools/out/linux_64/onlyoffice/documentserver/server/DocService --options max_old_space_size=4096 -o $builddir/docservice
mv "$builddir"/docservice $builddir/server/FileConvertor/docservice
}
package() {