pulseaudio: use --libdir=/usr/lib32 on x86 for 32bit pkgs.
This commit is contained in:
parent
0e8e3d648c
commit
9c1ae4a95a
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pulseaudio'
|
||||
pkgname=pulseaudio
|
||||
version=5.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
|
||||
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc
|
||||
|
@ -27,6 +27,17 @@ license="LGPL-2"
|
|||
distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
|
||||
checksum=99c13a8b1249ddbd724f195579df79484e9af6418cecf6a15f003a7f36caf939
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
configure_args+=" --libdir=/usr/lib32"
|
||||
pre_install() {
|
||||
vmkdir usr/lib
|
||||
ln -s lib ${DESTDIR}/usr/lib32
|
||||
}
|
||||
post_install() {
|
||||
rm ${DESTDIR}/usr/lib32
|
||||
}
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
libtoolize -f
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue