From c6bc8a6ee67768ddef9b019b946d70dfe8183f3f Mon Sep 17 00:00:00 2001 From: patrick96 Date: Tue, 30 Jul 2019 19:40:55 +0200 Subject: [PATCH] build: Remove pulseaudio binary dependency check The binary is not needed to compile and run polybar with pulseaudio support. Though of course there is no use in having a pulse module when you don't have pulseaudio installed. --- cmake/02-opts.cmake | 1 - contrib/polybar-git.aur/PKGBUILD | 2 +- contrib/polybar.aur/PKGBUILD | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/02-opts.cmake b/cmake/02-opts.cmake index c36c92b0..61e8613e 100644 --- a/cmake/02-opts.cmake +++ b/cmake/02-opts.cmake @@ -16,7 +16,6 @@ else() set(WIRELESS_LIB "wireless-tools") endif() checklib(ENABLE_PULSEAUDIO "pkg-config" libpulse) -checklib(ENABLE_PULSEAUDIO "binary" pulseaudio) checklib(WITH_XKB "pkg-config" xcb-xkb) checklib(WITH_XRM "pkg-config" xcb-xrm) checklib(WITH_XRANDR_MONITORS "pkg-config" "xcb-randr>=1.12") diff --git a/contrib/polybar-git.aur/PKGBUILD b/contrib/polybar-git.aur/PKGBUILD index 020e4ebc..da6d8823 100644 --- a/contrib/polybar-git.aur/PKGBUILD +++ b/contrib/polybar-git.aur/PKGBUILD @@ -9,7 +9,7 @@ arch=("i686" "x86_64") url="https://github.com/polybar/polybar" license=("MIT") depends=("cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor" - "alsa-lib" "pulseaudio" "libmpdclient" "libnl" "jsoncpp" "curl") + "alsa-lib" "libpulse" "libmpdclient" "libnl" "jsoncpp" "curl") optdepends=("i3-wm: i3 module support" "ttf-unifont: Font used in example config" "siji-git: Font used in example config" diff --git a/contrib/polybar.aur/PKGBUILD b/contrib/polybar.aur/PKGBUILD index 7fc7a7a3..8abb992c 100644 --- a/contrib/polybar.aur/PKGBUILD +++ b/contrib/polybar.aur/PKGBUILD @@ -8,7 +8,7 @@ arch=("i686" "x86_64") url="https://github.com/polybar/polybar" license=("MIT") depends=("cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor" - "alsa-lib" "pulseaudio" "libmpdclient" "libnl" "jsoncpp" "curl") + "alsa-lib" "libpulse" "libmpdclient" "libnl" "jsoncpp" "curl") optdepends=("i3-wm: i3 module support" "ttf-unifont: Font used in example config" "siji-git: Font used in example config"