Difference between revisions of "TagLib"

From CBLFS
Jump to navigationJump to search
(Updated to TagLib 1.5)
 
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://developer.kde.org/~wheeler/files/src/taglib-{{TagLib-Version}}.tar.gz
 
| http://developer.kde.org/~wheeler/files/src/taglib-{{TagLib-Version}}.tar.gz
|-
 
!Download Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/taglib/taglib-{{TagLib-Version}}-GeneralFix-1.patch
 
 
|}
 
|}
  
Line 16: Line 13:
 
Compile the package:
 
Compile the package:
 
   
 
   
patch -Np1 -i ../taglib-{{TagLib-Version}}-GeneralFix-1.patch &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 30: Line 26:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../taglib-{{TagLib-Version}}-GeneralFix-1.patch &&
 
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 43: Line 38:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../taglib-{{TagLib-Version}}-GeneralFix-1.patch &&
 
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
Line 57: Line 51:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../taglib-{{TagLib-Version}}-GeneralFix-1.patch &&
 
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&

Latest revision as of 00:18, 23 March 2009

Download Source: http://developer.kde.org/~wheeler/files/src/taglib-1.5.tar.gz

Introduction to TagLib

TagLib is a library for reading and editing the meta-data of several popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 (LAME) files, Ogg Vorbis (libvorbis) comments and ID3 tags and Vorbis comments in FLAC files as well as MPC.

Project Homepage: http://developer.kde.org/~wheeler/taglib.html

Dependencies

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/taglib-config{,-32}

N32

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/taglib-config{,-n32}

64Bit

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/taglib-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/taglib-config