override build for openssl, v8 and icu
This commit is contained in:
parent
411a576e7e
commit
067de7880a
1 changed files with 15 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue