pulseaudio: use --libdir=/usr/lib32 on x86 for 32bit pkgs.

This commit is contained in:
Juan RP 2014-03-09 10:04:45 +01:00
parent 0e8e3d648c
commit 9c1ae4a95a
1 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'pulseaudio' # Template file for 'pulseaudio'
pkgname=pulseaudio pkgname=pulseaudio
version=5.0 version=5.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap
--enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc --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" distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz"
checksum=99c13a8b1249ddbd724f195579df79484e9af6418cecf6a15f003a7f36caf939 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() { pre_configure() {
libtoolize -f libtoolize -f
} }