mpd is in portage, but i can only see mpc as front-end... found an ebuild for gmpc (gnome front-end) on bugs.gentoo.org and thought, an ebuild for the ncurses front-end would be nice. Reproducible: Always Steps to Reproduce:
Created attachment 29411 [details] ncmpc-0.10.0.ebuild
The ebuild installs docs to wrong place and doesn't compress them. You can remove src_compile btw.
Created attachment 29416 [details] ncmpc-0.10.0.ebuild This one should do it better..
Created attachment 29420 [details, diff] ncmpc-0.10.0.diff Too hacky :-/ Maybe some sedding..? And use sf mirrors
Would like to try, but I have issues with mpd distfiles..
Created attachment 29424 [details] ncmpc-0.10.0.ebuild Looking good. Worked like a charm.
Comment on attachment 29420 [details, diff] ncmpc-0.10.0.diff Yay.
Created attachment 29851 [details] ncmpc-0.10.0.ebuild I dont like the sed line in the previous ebuild. The value of PACKAGE is used in the source and this whould as an example rename ncmpc configuration file to .ncmpc-0.10.0.rc (should be .ncmpcrc). The correct way of changing the document path should be to run make with a docdir definition. Finaly adding ppc to the keywords would be nice as ncmpc is partly developed on a gentoo ppc.
Created attachment 29861 [details] modified ncmpc-0.10.0.ebuild I took a few tid-bits from the previous ebuilds posted and added it to the one I have made. I used the one for mpc as a template to make this one. This is my first one to make so I am not sure on the process of submitting this, Please let me know if there is anything I should/shouldn't do. I figured with the more responses and interest we can get this in portage. MPD is a nice and efficient dameon and this is now my favorite client for it.
add the name of the player "ncmpc" to the summary to show up on more searches.
Created attachment 29922 [details] ncmpc-0.10.0.ebuild I thought PACKAGE might affect something we wouldn't want. Kalle: You can remove src_compile as it does those things by default. Ryan: why depend mpd when mpd can be ran on a different machine? what's with the --with-gnu-ld? why drop docs? So yet another ebuild.
good point about mpd, didn't think of that. As for the --with-gnu-ld, it was mpc ebuild which is what I used as a basis .. and the reason for removing the doc, is assuming by defulat the build creates that , but the dodoc command will move the docs to /usr/share/doc/${P} so that later version will have their own doc folder and the docs from different version won't inertwine, at least that was my thought. (again this was in the mpc, and I thought I made sense why it was there.)
Created attachment 30160 [details] ncmpc-0.10.1.ebuild Well well... and there we have a new version of ncmpc. Took the last ebuild which looked best to me and simply renamed it... worked for me.
*** Bug 53597 has been marked as a duplicate of this bug. ***
*** Bug 55216 has been marked as a duplicate of this bug. ***
InCVS. Thanks Florian :)