Hi, this is my first ebuild so i will make mistakes, sorry. Speex is a free codec specialized for speech and voice. This is the media-plugin to xmms player. I suggest media-plugin/speex-xmms.
Created attachment 37520 [details] speex-xmms-0.9.1.ebuild
most of the other xmms plugins are in the form of xmms-pluginname I would be able to maintain this if someone on the sound herd could give a preference on the naming convention here?
Forgot to give my comments on the ebuild :-[ doexe libspeex.so ^where are you trying to put this? src_unpack() is not needed; it's all done by default (cosmetic).
The name can be changed if you define ${MY_P} i see better to follow the other naming convention, i dont know that src_unpack isnt necessary i used it and i used doexe because i have found it in other media-plugins builds, really the libspeex.so is installed by make install but i didnt understant very well the gentoo developer and ebuild guides documents very well. sorry.
I'm assuming you need to do an 'exeinto' before the doexe to set where you want the .so ... it should probably be in one of the `xmms-config --<something>-plugin-dir` locations...
I have tested like it's write and it works well, i didn't know the ebuild tricks so i see other xmms plugins to make any seemed, i thinked that this ebuild it's important because speex it's every day more used and i love gentoo so i try to help it a bit, but i am not a programmer so all that i can do (with me little free time) is try to do anything that a real programmer can fix and include in portage.
Created attachment 41582 [details, diff] patch (avoid crash) Here's a patch that I have sent to jzb@rapanden.dk It fixes a crash I've experienced with this plugin. To test for the crash, open a speex file and play it. Close xmms. Move the speex file elsewhere. Reopen xmms and try to play it and stop it. Without this patch, I got xmms crashing at various times.
When is this ebuild going to be added to the portage tree? I was just getting ready to write it myself, because it wasn't in the tree, and then I did a quick search here on the bugs form and found that it has been sitting in the que for about 6 months.
I just added updates for the ebuild and path. These only work with speex-1.1.5. The header is in a different location for speex-1.1.6. Also I noticed that the track length isn't displayed. It appears as 0:00.
Created attachment 52285 [details] xmms-speex-0.9.1.ebuild (Updated Ebuild)
Created attachment 52286 [details, diff] xmms-speex-0.9.1.patch (Updated Patch)
Package added. I commited two fixes because the ebuild didn't work on amd64 so i add to patch the Makefiles to compile with -fPIC and i enabled utf8 support. Thanks everybody present on this bug.