Skip to content
Snippets Groups Projects
Commit 8a66653a authored by Albert Gräf's avatar Albert Gräf
Browse files

debuild: Fix the nw.js sources for the arm64 architecture.

parent 41299dc7
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ nwjspkg = nwjs-sdk-v$(nwjsver)-linux ...@@ -10,6 +10,9 @@ nwjspkg = nwjs-sdk-v$(nwjsver)-linux
ifeq ("$(shell dpkg-architecture -qDEB_HOST_ARCH)","armhf") ifeq ("$(shell dpkg-architecture -qDEB_HOST_ARCH)","armhf")
arch = arm arch = arm
nwjsver = 0.27.6 nwjsver = 0.27.6
else ifeq ("$(shell dpkg-architecture -qDEB_HOST_ARCH)","arm64")
arch = arm
nwjsver = 0.27.6
else ifeq ("$(shell dpkg-architecture -qDEB_HOST_ARCH)","amd64") else ifeq ("$(shell dpkg-architecture -qDEB_HOST_ARCH)","amd64")
arch = x64 arch = x64
else else
...@@ -37,6 +40,7 @@ override_dh_auto_test: ...@@ -37,6 +40,7 @@ override_dh_auto_test:
override_dh_auto_build: override_dh_auto_build:
# Copy the nw.js sources to where purr-data wants them. # Copy the nw.js sources to where purr-data wants them.
@echo "DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)"
tar -xf debian/nwjs/$(nwjspkg)-$(arch).tar.gz && rm -rf pd/nw/nw && mv $(nwjspkg)-$(arch) pd/nw/nw tar -xf debian/nwjs/$(nwjspkg)-$(arch).tar.gz && rm -rf pd/nw/nw && mv $(nwjspkg)-$(arch) pd/nw/nw
cd l2ork_addons && (export V=0 inst_dir=$(prefix); ./tar_em_up.sh -Bn) cd l2ork_addons && (export V=0 inst_dir=$(prefix); ./tar_em_up.sh -Bn)
make check prefix=$(prefix) make check prefix=$(prefix)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment