Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 468940

Summary: media-libs/libiec61883 - Please add multilib ABI support
Product: Gentoo Linux Reporter: Karl Lindén <karl.j.linden>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: calchan, media-video, multilib+disabled
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 464090    
Bug Blocks: 454644    
Attachments: The ebuild supporting multilib.

Description Karl Lindén 2013-05-07 20:20:16 UTC
Created attachment 347648 [details]
The ebuild supporting multilib.

Currently media-libs/libiec61883 does not support multilib. It would be great if it did so! We need this ebuild in the proaudio overlay because it is dependency to media-libs/libffado (which in turn is dependency to jack-audio-connection-kit).

I have edited the ebuild to use autotools-multilib and I'm attaching it to this bug. Noteworthy changes:

I added a static-libs flag. I think it is better than hard-disabling it. This is handled by autotools-multilib eclass, so no worries!

Before, the ebuild called eautoreconf but now the ebuild conditionally sets AUTOTOOLS_AUTORECONF="1". This might cause trouble as (AFAIK) this has to be done after the inherit (in src_prepare) to be conditional (triggered by the examples flag). That won't pull in the necessary dependencies in the right time and thus cause an error in rare cases. That might or might not be a problem (almost all Gentoo systems have autotools installed, or am I wrong?).

The ebuild depends on emul-linux-x86-baselibs for libraw1394. I think it is a good idea to let it depend on baselibs until all baselibs packages have been migrated (and unmasked). That, I think, will take a lot of time, unfortunately. There is a proposed ebuild for libraw1394 with multilib support. See bug 464090.

A conditional block has been added on emul-linux-x86-medialibs because the 32-bit library is also provided by medialibs.
Comment 1 Alexis Ballier gentoo-dev 2013-07-29 15:45:59 UTC
libraw1394 should really be done before this one hits the tree
Comment 2 Alexis Ballier gentoo-dev 2013-08-01 17:43:23 UTC
added, thanks