码迷,mamicode.com
首页 > 其他好文 > 详细

libeXosip2 + libosip2 + ortp + mediastream2 + alsa-lib + pulseaudio

时间:2019-10-24 21:56:10      阅读:83      评论:0      收藏:0      [点我收藏+]

标签:fine   ++   home   mac   form   director   code   rip   list   

1. Code package list

dong@ubuntu:~/package$ tree
.
├── alsa-lib-1.0.24.1.tar.bz2
├── bctoolbox-0.6.0.tar.gz
├── _install.sh
├── json-c_0.12.1.orig.tar.gz
├── libeXosip2-3.0.1.tar.gz
├── libogg-1.3.3.tar.gz
├── libosip2-3.0.1.tar.gz
├── libsndfile-1.0.25.tar.gz
├── libtool-2.4.2.tar.gz
├── mbedtls-mbedtls-2.16.3.tar.gz
├── mediastreamer-2.8.0.tar.gz
├── orc-orc-0.4.28.tar.gz
├── ortp-0.18.0.tar.gz
├── pulseaudio-1.0.tar.gz
└── speex-1.2rc1.tar.gz

0 directories, 15 files

2. Install script

 _install.sh

platform=
#platform=`CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf`
install=`_x64`
#install=`_arm`

tar xvf libogg-*
cd libogg-*
./configure ${platform} --prefix=/home/dong/${install} --enable-static
make && make install
cd ..

tar xvf speex-*
cd speex-*
./configure ${platform} --prefix=/home/dong/${install} --with-ogg=/home/dong/${install} --enable-fixed-point --disable-float-api --enable-static
make && make install
cd ..

tar xvf libtool-*
cd libtool-*
./configure ${platform} --prefix=/home/dong/${install} --enable-static
make && make install
cd ..

tar xvf libsndfile-*
cd libsndfile-*
./configure ${platform} --prefix=/home/dong/${install} --enable-static
make && make install
cd ..

tar xvf json-*
cd json-c-*
./autogen.sh
./configure ${platform} --prefix=/home/dong/${install} --enable-static
#Comment out the following two lines in the config.h file
#//#define malloc rpl_malloc
#//#define realloc rpl_realloc
make && make install
cd ..

cp /home/dong/${install}/lib/pkgconfig/json-c.pc /home/dong/${install}/lib/pkgconfig/json.pc

tar xvf alsa-lib-*
cd alsa-lib-*
./configure ${platform} --prefix=/home/dong/${install} --disable-python --enable-static
make && make install
cd ..

tar xvf orc-orc-*
cd orc-orc-*
./autogen.sh
./configure ${platform} --prefix=/home/dong/${install} --enable-static
make && make install
cd ..

tar xvf pulseaudio-*
cd pulseaudio-*
./configure ${platform} --prefix=/home/dong/${install} --disable-rpath --disable-nls --disable-dbus --disable-bluez --disable-samplerate --disable-solaris --disable-gconf --disable-avahi --disable-jack --disable-lorc --disable-glib2 --disable-gtk2 --disable-openssl --disable-ipv6 --disable-asyncns --disable-per-user-esound-socket --disable-oss-output --disable-oss-wrapper --disable-x11 --enable-neon-opt=no --with-database=simple PKG_CONFIG_PATH=/home/dong/${install}/lib/pkgconfig CPPFLAGS=-I/home/dong/${install}/include LDFLAGS=-L/home/dong/${install}/lib CFLAGS=-I/home/dong/${install}/include --disable-python --disable-v4l2 --enable-static  
make && make install
cd ..

tar xvf mediastreamer-*
cd mediastreamer-*
./configure ${platform} --prefix=/home/dong/${install} PKG_CONFIG_PATH=/home/dong/${install}/lib/pkgconfig --disable-gsm --enable-video=no --enable-macsnd=no --enable-static --disable-sdl --disable-x11 --disable-ffmpeg --enable-static
make && make install
cd ..

tar xvf ortp-*
cd ortp-*
./configure ${platform} --prefix=/home/dong/${install} --enable-static
make && make install
cd ..

tar xvf libosip2-*
cd libosip2-*
./configure ${platform} --prefix=/home/dong/${install} --enable-static
make && make install
cd ..

tar xvf libeXosip2-*
cd libeXosip2-*
./configure ${platform} --prefix=/home/dong/${install} PKG_CONFIG_PATH=/home/dong/${install}/lib/pkgconfig --enable-static
make && make install
cd ..


if false;then

tar xvf mbedtls-*
cd mbedtls-*
cmake . -DUSE_SHARED_MBEDTLS_LIBRARY=On -DCMAKE_INSTALL_PREFIX=/home/dong/${install}
make && make install
cd ..

tar xvf bctoolbox-*
cd bctoolbox-*
cmake . -DCMAKE_INSTALL_PREFIX=/home/dong/${install} -DENABLE_TESTS_COMPONENT=NO
make && make install
cd ..

fi

 

libeXosip2 + libosip2 + ortp + mediastream2 + alsa-lib + pulseaudio

标签:fine   ++   home   mac   form   director   code   rip   list   

原文地址:https://www.cnblogs.com/dong1/p/11734903.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!