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

Bug 463360

Summary: media-sound/lash - add multilib support through autotools-multilib.eclass
Product: Gentoo Linux Reporter: Gavin Pryke <gavinlee303>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: enhancement CC: gavinlee303, karl.j.linden, multilib+disabled
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 463750    
Bug Blocks: 454644    
Attachments: lash-0.5.4-r1.ebuild.multilib.patch

Description Gavin Pryke 2013-03-26 13:12:46 UTC
media-sound/lash uses autotools and can support multilib via autotools-multilib.eclass with few changes

Reproducible: Always




Please consider this change to media-sound/lash to support multilib using the autotools-multilib.eclass. At the moment the ebuild inherits autotools.eclass but with a few changes to inherit autotools-multilib.eclass instead it's possible to have 32-bit library installed as well. The 32-bit lib appears to be required by some audio software I have tried to build but fails because there's no 32-bit lash library around to link with.
Thanks.
Comment 1 Gavin Pryke 2013-03-26 13:13:55 UTC
Created attachment 343306 [details, diff]
lash-0.5.4-r1.ebuild.multilib.patch
Comment 2 Alexis Ballier gentoo-dev 2013-04-04 07:41:03 UTC
at a first look, seems good except:
+		$(use_enable static-libs static)

which is, afaik, already done by autotools-utils
Comment 3 Gavin Pryke 2013-04-04 17:04:40 UTC
Oops yes.
Is prune_libtool_files also handled automatic in autotools-utils too?
Thanks.
Comment 4 Alexis Ballier gentoo-dev 2013-04-04 21:27:12 UTC
(In reply to comment #3)
> Oops yes.
> Is prune_libtool_files also handled automatic in autotools-utils too?

yes, though you need to set a variable for the --all argument

to be fair, I'd prefer to convert it to multilib-minimal rather than autotools-multilib since in this case this adds more complexity to the ebuild it seems.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-03 08:30:48 UTC
+*lash-0.5.4-r2 (03 May 2014)
+
+  03 May 2014; Michał Górny <mgorny@gentoo.org> +lash-0.5.4-r2.ebuild:
+  Convert to python-single-r1 & multilib.

It was a nice ride uphill but I got it to build correctly with no extra deps (I hope). P.masked since util-linux is p.masked, and to give aballier opportunity to complain.