Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "node-opus", | ||
"description": "NodeJS native binding to OPUS", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"author": "Mikko Rantanen <jubjub@jubjubnest.net>", | ||
@@ -15,6 +15,8 @@ "homepage": "https://github.com/Rantanen/node-opus", | ||
"os": [ | ||
"linux" | ||
"linux", | ||
"darwin" | ||
], | ||
"cpu": [ | ||
"x64" | ||
"x64", | ||
"arm" | ||
], | ||
@@ -21,0 +23,0 @@ "engines": { |
@@ -25,3 +25,6 @@ node-opus | ||
- Linux x64 | ||
- Linux ARM (Raspberry Pi 1) | ||
- Mac OS X x64 | ||
Add new supported platforms by running ./autogen.sh and ./configure in | ||
@@ -34,1 +37,13 @@ deps/opus and copying the resulting config.h to deps/config/opus/[os]/[arch]. | ||
On a clean debian-based system, the full flow looks approximately like: | ||
sudo apt-get update | ||
sudo apt-get install autoconf | ||
sudo apt-get install libtool | ||
cd deps/opus | ||
./autogen.sh | ||
./configure --enable-static --disable-shared --with-pic | ||
mkdir -p ../config/opus/[os]/[arch] | ||
cp config.h ../config/opus/[os]/[arch] | ||
And, then, the last step is to add the OS/Arch to `package.json`. |
3733579
369
48