I tried to compile aumix with USE="gtk -gtk2" because I don't otherwise need gtk2. gtk1 is properly installed: # qpkg -I -v gtk x11-libs/gtk+-1.2.10-r10 * When I tried # USE="gtk -gtk2" emerge -pv aumix I get These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-sound/aumix-2.8 +gpm +nls +gtk +gnome -alsa -gtk2 however, configure fails with checking for GTK - version >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path. I looked in aumix-2.8.ebuild where I see the lines if use gtk; then use gtk2 && myconf="${myconf} --without-gtk1" else myconf="${myconf} --without-gtk --without-gtk1"; fi I'll try to change this locally, but I haven't tried that before, so I'm opening this bug report to get help from the experts.
OK. I made it work on my system (gtk1 but no gtk2). I really don't want to pull in gtk2 to test that it works with gtk2 but no gtk1. From a reading of the original ebuild and my patch, I think it should. I'm going to attach my patch and hope that some nice soul can commit it for me.
Created attachment 21926 [details, diff] patch file for aumix-2.8.ebuild This patch resolve building on my machine. I did no regression test.
nice catch, thanks for the fix.