HI! This program is the Linux client for Napster. It depends on kde2/3.
Created attachment 1637 [details] knapster2-0.4.ebuild
Hmm.. check out the kmess ebuild or something.. KDE ebuilds are a little different from most other ebuilds :o) and making it depend on kde-base/kde isn't such a good idea as well, since i will have to install the whole kde, kdegames, kdeartwork, kdegraphics, kdemultimedia and such included, just to use your app... :o) Just check out net-im/kmess.. You'll see it's much easier than that :o) Also notice the sourceforge SRC_URI thingy! Keep up the good work!
Created attachment 1664 [details] knapster2-0.4.ebuild Oh you are right, here is the new ebuild.
Created attachment 1667 [details] knapster2-0.4.ebuild Ok, i edited again. i hope its right now.
Doesnt compile with gcc 3.1. After a few minor fixes (friend structs) I get: napsterconnection.cpp: In member function `bool NapsterConnection::open(int)': napsterconnection.cpp:182: `connect' undeclared in namespace `std' napsterconnection.cpp:184: `close' undeclared in namespace `std' napsterconnection.cpp: In member function `void NapsterConnection::timeout()': napsterconnection.cpp:401: `close' undeclared in namespace `std' napsterconnection.cpp: In member function `bool NapsterConnection::setupListener(int)': napsterconnection.cpp:921: `close' undeclared in namespace `std' make[2]: *** [napsterconnection.o] Error 1 I don't have time to try anbd fix it now, though someone who knows how to do it would probably do it instantaneously. A bit later...
The ebuild is OK. Someone with a gcc2 system, please check and commit it. It won't compile on gcc3.
Ah, I just noticed who the submitter was :-) It has lain in my list, sorry! It doesn't compile with gcc3, but probably will with gcc2. The ebuild is ok, go ahead and commit if it emerges for you :-)
fixed..