[Pkg-alsa-devel] Bug#436201: Patch

Christopher James Halse Rogers (RAOF) chalserogers at gmail.com
Sun Feb 10 21:44:23 UTC 2008


Tags: patch

Here's a patch, tested on i386 & AMD64 sid, importing the multi-arch
magic from libasound2.

The BIARCH_TEMPLIBDIR voodoo is there for two reasons:
1) pkg-config doesn't know the difference between archs, so configure
always detects the presence of jack, pulse, & dbus, but then the build
can't find a library of the appropriate bit-ness.

2) ia32-libs doesn't have dev symlinks, so the build fails to link
against the 32bit libpulse for example.

So we detect whether a version of lib{pulse, jack, dbus-1} exists.  If
so, we add a .so symlink to it in BIARCH_TEMPLIBDIR and copy the
pkgconfig file there as well.

Thus the package has the maximum possible functionality where the libs
exist (AMD64), and the build still works where they don't (everything
else, it seems).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi-arch.patch
Type: text/x-patch
Size: 9318 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20080211/32fc1b60/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20080211/32fc1b60/attachment.pgp 


More information about the Pkg-alsa-devel mailing list