Some plugins in this package need additional dependencies, so I've added some of those along with some USE flag to the ebuild in my local overlay and thought I'd share it for what it's worth. Please keep in mind that - my experience with ebuilds is low, I'd appreciate it if someone could double-check this - hence, this is rather "quick and dirty" and not at all perfect or complete; I only added dependencies that were lacking on my system, and also it still installs all of the plugins regardless of USE flags - I couldn't find the right package for the "Fingerprint" addon, which needs gst-chromaprint (any idea?) - it still enhances the existing ebuild and work fine for me Reproducible: Always
Created attachment 372434 [details] quodlibet-plugins-3.0.2.ebuild
Created attachment 372436 [details] metadata.xml
Comment on attachment 372434 [details] quodlibet-plugins-3.0.2.ebuild --- quodlibet-plugins-3.0.2.ebuild 2014-02-06 12:13:10.000000000 +0100 +++ - 2014-03-12 16:25:45.585993348 +0100 @@ -13,9 +13,13 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="" +IUSE="cddb inotify kakasi musicbrainz" -RDEPEND=">=media-sound/quodlibet-${PV}" +RDEPEND=">=media-sound/quodlibet-${PV} + cddb? ( dev-python/cddb-py ) + inotify? ( dev-python/pyinotify ) + kakasi? ( app-i18n/kakasi ) + musicbrainz? ( dev-python/python-musicbrainz )" DEPEND="" src_prepare() {
Comment on attachment 372436 [details] metadata.xml --- metadata.xml 2012-04-02 06:00:51.000000000 +0200 +++ - 2014-03-12 16:26:27.137131507 +0100 @@ -5,4 +5,10 @@ <upstream> <remote-id type="google-code">quodlibet</remote-id> </upstream> + <use> + <flag name='cddb'>Pull in <pkg>dev-python/cddb-py</pkg> for the CDDB Lookup plugin</flag> + <flag name='inotify'>Pull in <pkg>dev-python/pyinotify</pkg> for the Automatic Library Update plugin</flag> + <flag name='kakasi'>Pull in <pkg>app-i18n/kakasi</pkg> for the Kana/Kanji Simple Inverter plugin</flag> + <flag name='musicbrainz'>Pull in <pkg>dev-python/python-musicbrainz</pkg> for the Musicbrainz Lookup plugin</flag> + </use> </pkgmetadata>
I've purposely maintained quodlibet-plugins without USE flags because when you go into the GUI's menu 'Music > Plugins' and click the 'Show Errors' button, it gives you a informative message what you need to use the plug-in Plugins come and go, and in the past this has been one of the reasons why quodlibet has been dragging behind in Portage in the past Likewise won't start listing ever second gst-plugins- dependency and USE flags for them
I see your point regarding maintainability, but I still don't like the idea of emerging all those dependencies manually and then let them to rot in your world file forever. How about a single USE flag to "pull in all required dependencies"?