Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468940 - media-libs/libiec61883 - Please add multilib ABI support
Summary: media-libs/libiec61883 - Please add multilib ABI support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 464090
Blocks: gx86-multilib
  Show dependency tree
 
Reported: 2013-05-07 20:20 UTC by Karl Lindén
Modified: 2013-08-01 17:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild supporting multilib. (libiec61883-1.2.0-r1.ebuild,1.03 KB, text/plain)
2013-05-07 20:20 UTC, Karl Lindén
Details

Note You need to log in before you can comment on or make changes to this bug.
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