firefox: remove pulseaudio build option; libpulse is dlopen()ed.
This commit is contained in:
parent
cd3c44564a
commit
bf9ab42c8d
|
@ -16,20 +16,10 @@ hostmakedepends="which unzip zip pkg-config perl python yasm"
|
||||||
makedepends="nss-devel>=3.16 libjpeg-turbo-devel libpng-devel>=1.6
|
makedepends="nss-devel>=3.16 libjpeg-turbo-devel libpng-devel>=1.6
|
||||||
pixman-devel sqlite-devel gst-plugins-base-devel gtk+-devel
|
pixman-devel sqlite-devel gst-plugins-base-devel gtk+-devel
|
||||||
libevent-devel libnotify-devel libvpx-devel>1.3.0 libXrender-devel
|
libevent-devel libnotify-devel libvpx-devel>1.3.0 libXrender-devel
|
||||||
startup-notification-devel dbus-glib-devel alsa-lib-devel
|
startup-notification-devel dbus-glib-devel alsa-lib-devel pulseaudio-devel
|
||||||
hunspell-devel>=1.3.2 libSM-devel libXScrnSaver-devel libXt-devel"
|
hunspell-devel>=1.3.2 libSM-devel libXScrnSaver-devel libXt-devel"
|
||||||
depends="nss>=3.16 desktop-file-utils hicolor-icon-theme"
|
depends="nss>=3.16 desktop-file-utils hicolor-icon-theme"
|
||||||
|
|
||||||
# Package build options
|
|
||||||
build_options="pulseaudio"
|
|
||||||
build_options_default="pulseaudio"
|
|
||||||
desc_option_pulseaudio="Enable support for the PulseAudio sound server"
|
|
||||||
|
|
||||||
if [ "$build_option_pulseaudio" ]; then
|
|
||||||
makedepends+=" pulseaudio-devel alsa-plugins-pulseaudio"
|
|
||||||
depends+=" alsa-plugins-pulseaudio"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Google API key (see http://www.chromium.org/developers/how-tos/api-keys)
|
# Google API key (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||||
# Note: This is for Void Linux use ONLY.
|
# Note: This is for Void Linux use ONLY.
|
||||||
|
@ -53,12 +43,6 @@ do_configure() {
|
||||||
export ac_cv_prog_hostcxx_works=1
|
export ac_cv_prog_hostcxx_works=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_pulseaudio" ]; then
|
|
||||||
args="--enable-pulseaudio"
|
|
||||||
else
|
|
||||||
args="--disable-pulseaudio"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd xbps-build
|
cd xbps-build
|
||||||
SHELL=/bin/bash ../configure --prefix=/usr --libdir=/usr/lib \
|
SHELL=/bin/bash ../configure --prefix=/usr --libdir=/usr/lib \
|
||||||
--with-system-nspr --with-system-nss --with-system-bz2 \
|
--with-system-nspr --with-system-nss --with-system-bz2 \
|
||||||
|
@ -70,8 +54,9 @@ do_configure() {
|
||||||
--enable-skia --disable-debug --disable-gnomevfs --disable-gconf \
|
--enable-skia --disable-debug --disable-gnomevfs --disable-gconf \
|
||||||
--disable-crashreporter --disable-updater --disable-tests \
|
--disable-crashreporter --disable-updater --disable-tests \
|
||||||
--disable-mochitest --disable-installer --disable-elf-hack \
|
--disable-mochitest --disable-installer --disable-elf-hack \
|
||||||
|
--enable-pulseaudio \
|
||||||
--with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
|
--with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
|
||||||
--with-nss-prefix=${XBPS_CROSS_BASE}/usr ${args} ${cross_args} \
|
--with-nss-prefix=${XBPS_CROSS_BASE}/usr ${cross_args} \
|
||||||
--with-google-api-keyfile="${wrksrc}/google-api-key"
|
--with-google-api-keyfile="${wrksrc}/google-api-key"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue