summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-07 20:13:20 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-07 20:13:20 +0100
commit3392199837251e8b165dda1eb0ec211d9c06dd0b (patch)
treec7fd4cd611953c145b2221f0c81d2a5928e5261b /README.md
parent730a5e12bf8688863356b5209db9586e78498237 (diff)
Initial Commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md56
1 files changed, 54 insertions, 2 deletions
diff --git a/README.md b/README.md
index e9adb8c..7bc2868 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,54 @@
-# audio-bindings
-AGL Audio Bindings for ALSA, Pulse &amp; Most
+------------------------------------------------------------------------
+AGL-AudioBindings expose ALSA, Pulse & Most APIs through AGL framework
+------------------------------------------------------------------------
+
+
+AFB_daemon dependency on Standard Linux Distributions
+-------------------------------------------------------
+ # handle dependencies > (OpenSuse-42.2, Fedora-25, Ubuntu 16.04.2LTS)
+ gcc > 4.8
+ libsystemd-dev>=222
+ libmicrohttpd-dev>=0.9.48
+ openssl-dev
+ uuid-dev
+
+```
+ # Might want to add following variables into ~/.bashrc
+ export CC=gcc-5; export CXX=g++-5 # if using gcc5
+ export DEST=$HOME/opt
+ export LD_LIBRARY_PATH=$DEST/lib64
+ export LIBRARY_PATH=$DEST/lib64
+ export PKG_CONFIG_PATH=$DEST/lib64/pkgconfig
+ export PATH=$DEST/bin:$PATH
+
+ # Warning: previous GCC options should be set before initial cmake (clean Build/*)
+ source ~/.bashrc
+ cd app-framework-binder; mkdir build; cd build
+ cmake -DCMAKE_INSTALL_PREFIX=$DEST ..
+ make
+ make install
+```
+
+Other Audio Binding Dependencies
+----------------------------------
+ afb-daemon
+ alsa-devel
+
+ Edit CMakeList.txt to tune options
+
+
+```
+# Compile binding
+INSTALL_DIR=xxxx # default ./Install
+mkdir build
+cd build
+cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR ..
+make
+make install
+ls
+
+# Start the binder
+afb-daemon --token=x --ldpaths=$INSTALL_DIR/lib --port=5555 --rootdir=$INSTALL_DIR --verbose
+```
+
+