This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How do I write an engine for amarok

Tags: None
(comma "," separated)
alberthier
Registered Member
Posts
2
Karma
0

How do I write an engine for amarok

Sun Dec 17, 2006 2:12 am
Hi,

I want to write an engine in order to use VLC as backend for amarok.
I already wrote a console based prototype which works: it implements all methods of Engine::Base (without subclassing this class for the moment)
Now my question is how do I integrate that in amarok, I mean regarding the compilation, etc... not on the code side
I'm not so familiar to all this automake/autoconf stuff. So I would like to know what I have to do to compile my amarok plugin?
I know how to compile a shared library with gcc (*.so) but what are the *.la files which are next to each plugin ? I belive I have to write a *.desktop too for my plugin.
I opened the kdevelop project, but there is only the void engine added.
Do I need to compile all amarok to integrate my plugin (I belive not) ?

Sorry for these newbie questions but I feel a bit lost for the moment :) I'm familiar with Qt compiling tools (qmake, etc...) but all these unix tools used in KDE project are new for me.

Thank you
alberthier
Registered Member
Posts
2
Karma
0
OK, I solved my problem : I made a copy of the void engine to my vlc directory, then
Update engine/vlc/Makefile.am
Update engine/Makefile.am to add the vlc directory
And compile Amarok
User avatar
dapuzz
Registered Member
Posts
3
Karma
0
Up!
Some news about a vlc engine for amarok2?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]