Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463360 - media-sound/lash - add multilib support through autotools-multilib.eclass
Summary: media-sound/lash - add multilib support through autotools-multilib.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on: 463750
Blocks: gx86-multilib
  Show dependency tree
 
Reported: 2013-03-26 13:12 UTC by Gavin Pryke
Modified: 2014-05-03 08:30 UTC (History)
3 users (show)

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


Attachments
lash-0.5.4-r1.ebuild.multilib.patch (lash-0.5.4-r1.ebuild.multilib.patch,1.33 KB, patch)
2013-03-26 13:13 UTC, Gavin Pryke
Details | Diff

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