Difference between revisions of "TagLib"

From CBLFS
Jump to navigationJump to search
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 12: Line 14:
  
 
Compile the package:
 
Compile the package:
 
+
 +
patch -Np1 -i ../../taglib-{{TagLib-Version}}-GeneralFix-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 26: Line 29:
 
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 38: Line 42:
 
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 51: Line 56:
 
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 &&

Revision as of 14:16, 28 October 2008

Download Source: http://developer.kde.org/~wheeler/files/src/taglib-1.5.tar.gz Download Patch: http://svn.cross-lfs.org/svn/repos/patches/taglib/taglib-1.5-GeneralFix-1.patch

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:

patch -Np1 -i ../../taglib-1.5-GeneralFix-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../../taglib-1.5-GeneralFix-1.patch &&
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:

patch -Np1 -i ../../taglib-1.5-GeneralFix-1.patch &&
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:

patch -Np1 -i ../../taglib-1.5-GeneralFix-1.patch &&
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