|
madplay
This is a quick and not very well tested port of the madplay mp3 player to the Zaurus.
There are some different versions available:
the latest version is: madplay 0.15.2b (size: 123 kByte, compiled 12.3.2004)
an older version is: madplay 0.14.2b (size: 115 kByte, compiled 10.11.2002)
WARNING: Use this program at your own risk !
--------------------------------------------------------------------------------
How to compile madplay for the Zaurus from the source code:
install the arm cross-compiler tools for the zaurus on your linux box
get the latest source code packages needed to build the madplay program (madplay-0.15.2b.tar.gz, libmad-0.15.1b.tar.gz, libid3tag-0.15.1b.tar.gz and zlib-1.1.4.tar.gz)
extract the source code into a directory (i.e. /home/myusername/zmadplay)
open a shell
type in the following commands:
export CC=arm-linux-gcc
export CXX=arm-linux-gcc
export CPPFLAGS='-I../libmad-0.15.1b -I../libid3tag-0.15.1b -I../zlib-1.1.4'
export LDFLAGS='-L../libmad-0.15.1b -L../libid3tag-0.15.1b -L../zlib-1.1.4'
enter the directory zlib-1.1.4 and run configure and than run make
enter the directory libid3tag-0.15.1b and run configure --host=arm and than run make, run cp .libs/libid3tag.a . or run make install as root
enter the directory libmad-0.15.1b and run configure --host=arm and than run make, run cp .libs/libmad.a . or run make install as root
enter the directory madplay-0.15.2b and run configure --host=arm and than run make
now you have a executable file madplay for that we now have to build the installation package
create a file madplay.control with the contents:
Files: usr/bin/madplay
Priority: optional
Section: multimedia
Maintainer: Robert Leslie <[email protected]>, Zaurus port by Michael Neuroth <[email protected]>
Architecture: arm
Version: 0.15.2b
Depends:
License: GPL
Description: madplay
A command line mp3 player.
create a (executable) file installapp with the contents:
cp madplay $QPEDIR/usr/bin
/opt/Qtopia/sharp/bin/mkipks_cmd madplay.control
and execute it as root
now you have the file madplay_0.15.2b_arm.ipk which can be installed on your Zaurus. |
|