media-libs/libmediaart has an dependency on dev-util/gtk-doc. Has it also has a gtk-doc USE flag, making this dependency conditional to this USE flag allows to build the library without gtk+ / X11 installed Reproducible: Always Steps to Reproduce: 1. Use a system without gtk+ / X11 install 2. Try to emerge libmediaart 3. The dev-util/gtk-doc dependency would block the merge Actual Results: Merge is block by the dev-util/gtk-doc dependency Expected Results: when USE="-gtk-doc" is set, the library do not actually requires gtk-doc and thus can build without it and its dependencies.
Created attachment 825173 [details] output from emerge --info =media-libs/libmediaart-1.9.6
Created attachment 825175 [details, diff] Ebuild patch proposal to make dev-util/gtk-doc depend on gtk-doc USE flags
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f550157b5ecd3418f0816a1b70a4761b8f5f11b commit 1f550157b5ecd3418f0816a1b70a4761b8f5f11b Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-10-29 19:12:42 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-10-29 19:17:42 +0000 media-libs/libmediaart: Use BDEPEND * and make gtk-doc dependency conditional on USE=gtk-doc. Closes: https://bugs.gentoo.org/878153 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../{libmediaart-1.9.6.ebuild => libmediaart-1.9.6-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)