This patch applied over the current ebuild cleans it up: - it changes the avi useflag in win32codecs useflag which is now a global useflag and is masked in the arches which doesn't use it. - it adds a block on the old version of xine-lib, instead of failing if it's installed. - it adds pkgconfig as a DEPEND, as it's used for a lot of things (and many will come I think), instead of having it as RDEPEND when gnome or directfb are used. - it cleansup amd64? () depends which seems bogus. - it adds conditional dependency on flac (see later). - it adds build-time dependency on linux-headers if v4l is requested (see later). - cleanups the patches applied, some where applied to configure when it was going to be recreated by scratch. - dies when autotools fails their execution. - it adds --disable-dependency-tracking to econf - and finally, it adds a patch (attached also) which adds a few --disable-XXXX params to ./configure, allowing to remove the dirt ac cache tricks :) I've submitted the configure.ac patch upstream and I hope it will applied for the next version. I'll continue working on this to have proper fixes for other gentoo's workarounds applied upstream for next version (and to cleanup the ebuild, too). Oh.. now oss CAN be disabled, so no more auto audio driver which fallbacks on oss if other fails, if not requested :) HTH, Diego
Created attachment 56090 [details, diff] xine-lib-ebuild.patch
Created attachment 56091 [details, diff] xine-lib-configure-checks.patch
Created attachment 56099 [details, diff] xine-lib-ebuild.patch This updated ebuild adds another patch, which narrows down the ebuild a bit. It fixes in a more proper way bug #82571, without need to pass --x-includes parameter, and without need to check for where does that file is. It changes the configure.ac so it's needed the other patch I'll attach. I'll submit this upstream, too. It also removes the warnings about previous xine-lib versions (it now blocks them), and the one about the old plugins (they are no more in portage, anyway), and change the warning about .xine (upgrade works fine).
Created attachment 56100 [details, diff] xine-lib-configure-xvmc-header.patch
Created attachment 56102 [details, diff] xine-lib-ebuild.patch Someone is going to hate me :) Just a bit change $(use_enable x11) is no more present on configure, so remove this.
fixed in cvs, thanks for the effort. would be nice if upstream merges the configure patches into their tree.