From 542ac4493fb6ec1442a58cf4f29efa8433e096af Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Thu, 13 Feb 2020 19:42:02 +0200 Subject: [PATCH] www-client/firefox-bin: revbump for new apulse logic Signed-off-by: Joonas Niilola Closes: https://github.com/gentoo/gentoo/pull/14649 Signed-off-by: Thomas Deutschmann --- ....0.ebuild => firefox-bin-68.5.0-r1.ebuild} | 24 ++++++++++------- ...73.0.ebuild => firefox-bin-73.0-r1.ebuild} | 26 ++++++++++++------- 2 files changed, 31 insertions(+), 19 deletions(-) rename www-client/firefox-bin/{firefox-bin-68.5.0.ebuild => firefox-bin-68.5.0-r1.ebuild} (94%) rename www-client/firefox-bin/{firefox-bin-73.0.ebuild => firefox-bin-73.0-r1.ebuild} (93%) diff --git a/www-client/firefox-bin/firefox-bin-68.5.0.ebuild b/www-client/firefox-bin/firefox-bin-68.5.0-r1.ebuild similarity index 94% rename from www-client/firefox-bin/firefox-bin-68.5.0.ebuild rename to www-client/firefox-bin/firefox-bin-68.5.0-r1.ebuild index 030cfc8b6b15..d95d92d07396 100644 --- a/www-client/firefox-bin/firefox-bin-68.5.0.ebuild +++ b/www-client/firefox-bin/firefox-bin-68.5.0-r1.ebuild @@ -35,13 +35,14 @@ RESTRICT="strip mirror" KEYWORDS="-* amd64 x86" SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="alsa +ffmpeg +pulseaudio selinux startup-notification" -REQUIRED_USE="alsa? ( !pulseaudio )" +IUSE="+alsa +ffmpeg +pulseaudio selinux startup-notification" DEPEND="app-arch/unzip alsa? ( - dev-util/patchelf - media-sound/apulse + !pulseaudio? ( + dev-util/patchelf + media-sound/apulse + ) )" RDEPEND="dev-libs/atk >=sys-apps/dbus-0.60 @@ -62,8 +63,12 @@ RDEPEND="dev-libs/atk x11-libs/libXt >=x11-libs/pango-1.22.0 virtual/freedesktop-icon-theme - pulseaudio? ( !=x11-libs/pango-1.22.0 virtual/freedesktop-icon-theme - pulseaudio? ( !"${ED}"usr/bin/${PN} #!/bin/sh unset LD_PRELOAD @@ -179,8 +184,9 @@ pkg_postinst() { use ffmpeg || ewarn "USE=-ffmpeg : HTML5 video will not render without media-video/ffmpeg installed" local HAS_AUDIO=0 - use pulseaudio && HAS_AUDIO=1 - use alsa && HAS_AUDIO=1 + if use alsa || use pulseaudio; then + HAS_AUDIO=1 + fi if [[ ${HAS_AUDIO} -eq 0 ]] ; then ewarn "USE=-pulseaudio & USE=-alsa : For audio please either set USE=pulseaudio or USE=alsa!" -- 2.26.2