Hi! Please find attached gst-plugins-timidity-0.10.9 ebuild. timidity is a software synthesizer that plays midi files. gstreamer is a plugin-based gnome framework for playing and encoding various media formats that is used by most media players in the gnome framework. gst-plugins-bad is a set of plugins for the gstreamer framework for playing various media formats. The upstream set of gst-plugins-bad has a timidity plugin, which allows any gstreamer-based app to play midi. The gst-plugins-bad eclass provided in the portage tree separates gst-plugins-bad into a core ebuild and a set of gst-plugins-XXX ebuilds, where XXX is some component of gst-plugins-bad from the upstream gstreamer-plugins projects. Some examples of such gstreamer-plugins are gst-plugins-lame, gst-plugins-ogg, gst-plugins-mad and so on. Currently, there is no entry for the timidity component of gstreamer-plugins-bad. Current portage conventions place gst-plugins-XXX under media-plugins/gst-plugins-XXX. The provided ebuild builds against and works with the timidity, libtimidity and gst-plugins-base, although lower versions of the above may work just fine. However, for the plugin to work properly, the timidity installation has to be configured with a working timidity instrument patch such as media-sound/timidity-eawpatches or media-sound/timidity-shompatches.
Created attachment 183187 [details] gst-plugins-timidity ebuild gst-plugins-timidity ebuild, based after media-libs/gst-plugins-bad-0.10.9.ebuild
Reassigning to maintainer-wanted.
Just tried this out (thanks for the ebuild) and it worked immediately on an ~amd64 system. I'd like to see this in portage proper as well.
Created attachment 241589 [details] TiMidity plugin for GStreamer 0.10.18 Hi, I guess I could have saved some minutes of investigation on GStreamer had I found (searched for) this bug earlier. Anyway, I made this ebuild for gst-plugins-timidity-0.10.18, after noticing an Ubuntu machine which could play MIDI files just fine, thereby finding out Ubuntu has such plugin. Compared to this one, I’ve been more liberal with dependencies, since the eclass already add all the necessary base ones. Also, I’m willing to maintain this package, and keeping on creating and maintaining new ebuilds for it, since I’m going to be using this frequently enough to always want it up-to-date and fully working. Do I need to do anything else to apply, other than writing it here?
Created attachment 265787 [details] TiMidity plugin for GStreamer 0.10.19 Updated ebuild.
Created attachment 265789 [details, diff] Patch to add IUSE=midi to gst-plugins-meta-0.10-r4 This adds a matching IUSE=midi flag to gst-plugins-meta to pull in gst-plugins-timidity.
Will add after commiting new eclasses.