[3.16] user/onlyoffice-document-server: new aport #265

Closed
ayakael wants to merge 16 commits from onlyoffice/initial-316 into v3.16
Showing only changes of commit 4db787d2dc - Show all commits

View file

@ -18,6 +18,7 @@ makedepends="
clang
musl-dev
npm
gcompat
python3
pythonispython3
autoconf
@ -52,6 +53,7 @@ makedepends="
gtk+3.0-dev
glib-dev
nodejs-dev~=12
libc-compat
"
options="!check" # No testsuite
source="
@ -82,35 +84,6 @@ prepare() {
ln -s /usr/lib/qt5/plugins "$srcdir"/system_qt/gcc_64/plugins
npm install -g --prefix "$srcdir"/npm_cache pkg grunt grunt-cli gifsicle
# overrides rpi for certain 3rd party libraries as already provided by system
sed -i '/harfbuzz.make()/d' build_tools/scripts/core_common/make_common.py
cat > "$builddir"/core/Common/3dParty/harfbuzz/harfbuzz.pri << EOF
INCLUDEPATH += /usr/include/harfbuzz
EOF
sed -i '/icu.make()/d' build_tools/scripts/core_common/make_common.py
cat > "$builddir"/core/Common/3dParty/icu/icu.pri << EOF
INCLUDEPATH += /usr/include
LIBS += -licuuc -l icudata
EOF
sed -i '/v8.make()/d' build_tools/scripts/core_common/make_common.py
cat > "$builddir"/core/Common/3dParty/v8/v8.pri << EOF
INCLUDEPATH += /usr/include/node
LIBS += -lnode
EOF
sed -i '/openssl.make()/d' build_tools/scripts/core_common/make_common.py
cat > "$builddir"/core/Common/3dParty/openssl/openssl.pri << EOF
INCLUDEPATH += /usr/include/openssl
LIBS += -lcrypto -lssl
EOF
sed -i '/boost.make()/d' build_tools/scripts/core_common/make_common.py
cat > "$builddir"/core/Common/3dParty/boost/boost.pri << EOF
INCLUDEPATH += /usr/include/boost
CORE_BOOST_LIBS = /usr/lib
core_boost_libs:LIBS += -L\$CORE_BOOST_LIBS -lboost_system -lboost_filesystem
core_boost_regex:LIBS += -L\$CORE_BOOST_LIBS -lboost_regex
core_boost_date_time:LIBS += -L\$CORE_BOOST_LIBS -lboost_date_time
EOF
}
build() {