TagLib port

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
pitanicky
Posts: 2
Joined: Sat Nov 11, 2006 2:10 pm

TagLib port

Post by pitanicky »

Hi Everybody!

I've just finished a port (err... compile, I only had to change about 3 lines) of TagLib. TagLib is a library used to extract the meta data from various media formats. A while back I needed something like this, but did not know where to look.

To configure:

Code: Select all

CC=psp-gcc CPP=psp-cpp LIBS="-L$(psp-config --pspsdk-path)/lib -lpspdebug -lpspsdk -lc -lpspuser -lpspkernel" CXX=psp-g++ AR=psp-ar STRIP=psp-strip LD=psp-ld RANLIB=psp-ranlib \
./configure --host=x86-unknown-linux-gnu --libdir=$(psp-config --psp-prefix)/lib --includedir=$(psp-config --psp-prefix)/include --prefix=$(psp-config --psp-prefix)
To compile:

Code: Select all

make
To install:

Code: Select all

make install
Patch File:
http://obberon.com/uploads/taglib-1.4.patch

Source code:
http://developer.kde.org/~wheeler/taglib.html

By the way, the replacements of the strdup's might not have been necessary, but I could not locate the header that included strdup. Also, I was unable to find a ftruncate equivalent, and did not want to write my own, so it is commented out. It seems that it is only used in the mpeg part of the library. Maybe someone else can do this.

TagLib also includes its own C++ library with useful class such as string, bytearray, file, etc.

Note: Only reading tags of MP3's was tested.
Last edited by pitanicky on Sun Nov 12, 2006 5:00 am, edited 1 time in total.
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

thank you for your trouble
10011011 00101010 11010111 10001001 10111010
Post Reply