I wanted to share a few things about kdemultimedia.
First I didn't see akode in the repository, but I have a copy of
akode-2.0.2. With a small patch to allow it to build with gcc-4.6.1, I
was able to install it with:
sed -i "s/#include <iostream>/&\n#include <cstdlib>/" \
akode/lib/auto_sink.cpp
sed -i 's@#include "../lib/decoder.h"@&\n#include <cstdlib>@'
\
akode/akodeplay/akodeplay.cpp
sed -i "s/<assert.h>/&\n#include <string.h>\n/" \
akode/lib/player.cpp
sed -i "s/<iostream>/&\n#include <string.h>\n/" \
akode/lib/magic.cpp
./configure --prefix=$TRINITY_PREFIX --without-ffmpeg
make
If you want the patch (2 lines change), I'd be glad to send it. I
should probably put that and the seds above into one patch.
-----
Second, I was able to build kdemultimedia, but one module had a problem
picking up where tqt was located. The following did work for me:
cp -v /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
cp -v /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
sed -i -e "s@/usr/include/tqt@$TRINITY_PREFIX/include/tqt@" \
admin/acinclude.m4.in
make -f admin/Makefile.common
sed -i -e "s@^gentable_LDADD.*$@& -L$TRINITY_PREFIX/lib@" \
noatun/library/Makefile.in
./configure --prefix=$TRINITY_PREFIX \
--with-qt-dir=$QTDIR \
--enable-closure \
--with-vorbis \
--with-alsa \
--with-audiofile \
--with-flac \
--with-akode \
--with-extra-includes=$TRINITY_PREFIX/include \
--with-extra-libs=$TRINITY_PREFIX/lib:$QTDIR/lib &&
#--with-xine \
#--with-cdparanoia \
#--with-lame \
#--with-theora \
#--with-gstreamer \
#--with-kscd-cdda \
make
I still need to add some more prerequisites and test some more, but the
PKGBUILD for kdemultimedia indicated akode wasn't available, so I
thought I'd share.
-- Bruce
Show replies by date