override build for openssl, v8 and icu

This commit is contained in:
Antoine Martin 2023-09-05 23:01:20 -04:00
parent 411a576e7e
commit 067de7880a
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -11,7 +11,7 @@ arch="x86_64"
license="AGPL-3.0"
makedepends="
make
qt5-qtbase-dev
bash
g++
nodejs
@ -40,6 +40,7 @@ makedepends="
libpulse
gtk+3.0-dev
glib-dev
nodejs-dev
"
options="!check" # No testsuite
source="
@ -55,6 +56,19 @@ prepare() {
default_prepare
npm install -g --prefix "$srcdir"/npm_cache pkg grunt grunt-cli gifsicle
mv ../build_tools-$pkgver.$_buildno build_tools
# overrides rpi for certain 3rd party libraries as already provided by system
cat > "$builddir"/core/Common/3dParty/icu/icu.pri << EOF
INCLUDEPATH += /usr/include
LIBS += -licuuc -l icudata
EOF
cat > "$builddir"/core/Common/3dParty/v8/v8.pri << EOF
INCLUDEPATH += /usr/include/node
LIBS += -lnode
EOF
cat > "$builddir"/core/Common/3dParty/openssl/openssl.pri << EOF
INCLUDEPATH += /usr/include/openssl
LIBS += -lcrypto -lssl
EOF
}
build() {