Difference between revisions of "Libsndfile"

From CBLFS
Jump to navigationJump to search
 
(5 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://www.mega-nerd.com/libsndfile/libsndfile-{{Libsndfile-Version}}.tar.gz
 
| http://www.mega-nerd.com/libsndfile/libsndfile-{{Libsndfile-Version}}.tar.gz
|-
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/libsndfile/libsndfile-{{Libsndfile-Version}}-flac-2.patch
 
 
|}
 
|}
  
 
----
 
----
  
{{Package-Introduction|Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.}}
+
{{Package-Introduction|Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.|http://www.mega-nerd.com/libsndfile/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 17: Line 14:
 
* [[FLAC]]
 
* [[FLAC]]
 
* [[ALSA Library]]
 
* [[ALSA Library]]
 +
* [[Libvorbis]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 22: Line 20:
 
Configure and compile the package:
 
Configure and compile the package:
  
  patch -Np1 -i ../libsndfile-{{Libsndfile-Version}}-flac-2.patch &&
+
   
aclocal && autoconf &&
+
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 37: Line 35:
 
Configure and compile the package:
 
Configure and compile the package:
  
patch -Np1 -i ../libsndfile-{{Libsndfile-Version}}-flac-2.patch &&
 
aclocal && autoconf &&
 
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 52: Line 48:
 
Configure and compile the package:
 
Configure and compile the package:
  
patch -Np1 -i ../libsndfile-{{Libsndfile-Version}}-flac-2.patch &&
 
aclocal && autoconf &&
 
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 67: Line 61:
 
Configure and compile the package:
 
Configure and compile the package:
  
patch -Np1 -i ../libsndfile-{{Libsndfile-Version}}-flac-2.patch &&
 
aclocal && autoconf &&
 
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
Line 77: Line 69:
  
 
  make install
 
  make install
 +
 +
[[Category:Media Libraries]]

Latest revision as of 03:22, 22 February 2011

Download Source: http://www.mega-nerd.com/libsndfile/libsndfile-1.0.21.tar.gz

Introduction to Libsndfile

Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.

Project Homepage: http://www.mega-nerd.com/libsndfile/

Dependencies

Required

Non-Multilib

Configure and compile the package:


./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install