aur: Make feature deps hard deps
In the AUR optdepends means that the package can run without optdepends installed. In polybar most features, if enabled at compile time, cannot run without their dependencies and will crash polybar. Now the optdepends only contains truly optional dependencies. Polybar can run without the i3-wm package because it only relies on the `i3` executable and is not dynamically linked against any library in i3.
This commit is contained in:
parent
fe7dc28b07
commit
2b691af41e
@ -8,19 +8,14 @@ pkgdesc="A fast and easy-to-use status bar"
|
||||
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")
|
||||
optdepends=("alsa-lib: alsa module support"
|
||||
"pulseaudio: pulseaudio module support"
|
||||
"libmpdclient: mpd module support"
|
||||
"libnl: network module support"
|
||||
"wireless_tools: network module support (legacy)"
|
||||
"jsoncpp: i3 module support"
|
||||
"i3-wm: i3 module support"
|
||||
depends=("cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor"
|
||||
"alsa-lib" "pulseaudio" "libmpdclient" "libnl" "jsoncpp" "curl")
|
||||
optdepends=("i3-wm: i3 module support"
|
||||
"ttf-unifont: Font used in example config"
|
||||
"siji-git: Font used in example config"
|
||||
"xorg-fonts-misc: Font used in example config"
|
||||
"curl: github module support")
|
||||
makedepends=("cmake" "git" "python" "python2" "pkg-config" "python-sphinx")
|
||||
"xorg-fonts-misc: Font used in example config")
|
||||
makedepends=("cmake" "git" "python" "python2" "pkg-config" "python-sphinx"
|
||||
"i3-wm")
|
||||
provides=("polybar")
|
||||
conflicts=("polybar")
|
||||
install="${_pkgname}.install"
|
||||
|
@ -7,19 +7,13 @@ pkgdesc="A fast and easy-to-use status bar"
|
||||
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")
|
||||
optdepends=("alsa-lib: alsa module support"
|
||||
"pulseaudio: pulseaudio module support"
|
||||
"libmpdclient: mpd module support"
|
||||
"libnl: network module support"
|
||||
"wireless_tools: network module support (legacy)"
|
||||
"jsoncpp: i3 module support"
|
||||
"i3-wm: i3 module support"
|
||||
depends=("cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor"
|
||||
"alsa-lib" "pulseaudio" "libmpdclient" "libnl" "jsoncpp" "curl")
|
||||
optdepends=("i3-wm: i3 module support"
|
||||
"ttf-unifont: Font used in example config"
|
||||
"siji-git: Font used in example config"
|
||||
"xorg-fonts-misc: Font used in example config"
|
||||
"curl: github module support")
|
||||
makedepends=("cmake" "git" "python" "python2" "pkg-config")
|
||||
"xorg-fonts-misc: Font used in example config")
|
||||
makedepends=("cmake" "git" "python" "python2" "pkg-config" "i3-wm")
|
||||
conflicts=("polybar-git")
|
||||
install="${pkgname}.install"
|
||||
source=(${url}/releases/download/${pkgver}/polybar-${pkgver}.tar)
|
||||
|
Loading…
Reference in New Issue
Block a user