View Single Post
Posts: 32 | Thanked: 11 times | Joined on Oct 2011
#90
Not quite sure if it is okay to hijack this thread, but I was quite sucessful in adopting this to the N9 (Meego Harmattan).

Here is what I did to get it run, as a brief howto if anyone is interested. It would be great if other could contribute to make it perfect. Note: In my first attempt installing the tar ball instead of the deb I created a device malfunctioning error and had to reflash my phone. So all is at your own risk of course.

Prerequisite: a working scratchbox installation in armel mode

Step 1: Get source ,eg:

svn co http://svn.slimdevices.com/repos/jiv...nk/squeezeplay

Step 2: Make changes to the source
First, follow this post
http://talk.maemo.org/showpost.php?p...6&postcount=44

Regarding 3, what you want to do is commenting out two lines like this
Code:
/*output_ptr = (sample_t *)outputArray;
	decode_ptr = (sample_t *)(decode_fifo_buf + decode_audio->fifo.rptr);*/
it is line 213/4 in 7.6

Second, also add –tag=cc twice to unix-cc.in in some freetype folder as in the following patch,(this also suggest to add -no-undefined at one point, not sure if necessary):
http://www.mail-archive.com/openembe.../msg06578.html

Step 3: now from within scratchbox,

run make -f Makefile.linux
then cd squeezeplay
make squeezeplay-deb


Step 4: Install the deb to the phone and create a launcher

for the launcher, create a file in /home/.local/share/applications

with name eg squeezeplay.desktop

and content

Code:
 [Desktop Entry]
Type=Application
Name=Squeezeplay
Exec=/opt/squeezeplay/bin/squeezeplay.sh

Step 5: Modify skin to fit your need, i.e. at least increase resolution

Todo:

* Audio plays only with root priviliges
* Skin runs either fullscreen so swiping is impossible or has a blank status bar on bottom.
*Further optimization of skin -eg keyboard

Further source:
http://forums.slimdevices.com/showthread.php?t=68232
Thanks to all of those on which this is based !

Last edited by christianko; 2011-10-30 at 14:01.