I wrote up an ebuild for kajammer, a simple Qt/Phonon music player. It depends on Qt 4.4 and above. The components it needs are qt-core, qt-qui, and phonon. Reproducible: Always Steps to Reproduce: My first ebuild, but it works for me at least. I'm also include a live ebuild. The only part I'm concerned about is this: DEPEND="... kde? ( media-sound/phonon ) !kde? ( x11-libs/qt-phonon )" Thanks.
Created attachment 198960 [details] initial ebuild
Created attachment 198961 [details] initial live ebuild
Committed ebuild for version 0.9.2.2 to qting-edge overlay, please test and provide feedback.
Dror, thanks for taking the time to update the ebuild. I kind of secretly switched to CMake since I submitted this. I'm not sure if the build worked for you, but it didn't work for me. It's not your fault though, I found that apparently I uploaded the wrong git branch in the 0.9.2.2-1.tar.gz package. So it ended up being a really old version of my master branch. I noticed this because it was having errors with a file that wasn't supposed to be in that released. I deleted that file off sourceforge and replaced it. Also, that release has Last.fm support via media-libs/liblastfm-0.3.0. So could you add a lastfm use flag or something? It's an optional dependency. Thanks.
I added lastfm USE flag and remanifested the ebuild on qting-edge, I hope it's better now ;)
I had a problem building it with the lastfm flag disabled, but it went away when I enabled it. It may be because I still had liblastfm installed. Here is an excerpt of that error: Building CXX object CMakeFiles/kajammer.dir/src/collectionscanner.cpp.o In file included from /usr/include/lastfm/FingerprintId:23, from /usr/include/lastfm/Fingerprint:23, from /usr/include/lastfm.h:2, from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/lastfm.h:30, from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/mainwindow.h:37, from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/main.cpp:27: /usr/include/lastfm/Track:26:23: error: QDomElement: No such file or directory In file included from /usr/include/lastfm.h:5, from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/lastfm.h:30, from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2/src/headers/mainwindow.h:37, from /var/tmp/portage/media-sound/kajammer-0.9.2.2/work/kajammer-0.9.2.2 I ran into this issue before when I was implementing liblastfm. If I remember correctly, CMake was trying to compile a test program with the lastfm headers to make sure it worked. But the lastfm headers' includes were like: #include <QString> instead of: #include <QtCore/QString> So it was giving compile errors like that.
Just to add to that last comment, CMake's test program is looking for /usr/include/QString, which doesn't exist, and CMake has no idea where it is. Nothing is telling it that QString is in /usr/include/qt4/QtCore/ So it just assumes that the lastfm headers don't exist.
Latest release exactly 2 years ago, and upstream seems completely dead since mid-2010. Closing as WONTFIX.