-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
template
36 lines (33 loc) · 1.6 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Template file for 'polybar'
pkgname=polybar
version=3.7.2
revision=2
build_style=cmake
configure_args="-DBUILD_DOC_HTML=OFF $(vopt_bool alsa ENABLE_ALSA)
$(vopt_bool curl ENABLE_CURL) $(vopt_bool i3 ENABLE_I3) $(vopt_bool mpd ENABLE_MPD)
$(vopt_bool network ENABLE_NETWORK) $(vopt_bool pulseaudio ENABLE_PULSEAUDIO)"
hostmakedepends="pkg-config xcb-proto python3 python3-Sphinx python3-packaging"
makedepends="cairo-devel xcb-util-image-devel xcb-util-wm-devel xcb-util-xrm-devel
zlib-devel xcb-util-renderutil-devel xcb-util-cursor-devel libxcb-devel libuv-devel
xcb-proto $(vopt_if alsa alsa-lib-devel) $(vopt_if curl libcurl-devel)
$(vopt_if i3 'i3-devel jsoncpp-devel') $(vopt_if mpd libmpdclient-devel)
$(vopt_if network libnl3-devel) $(vopt_if pulseaudio pulseaudio-devel)"
short_desc="Fast and easy-to-use status bar"
maintainer="classabbyamp <void@placeviolette.net>"
license="MIT"
homepage="https://github.com/polybar/polybar"
changelog="https://raw.githubusercontent.com/polybar/polybar/master/CHANGELOG.md"
distfiles="https://github.com/polybar/polybar/releases/download/${version}/polybar-${version}.tar.gz"
checksum=e2feacbd02e7c94baed7f50b13bcbf307d95df0325c3ecae443289ba5b56af29
# tries to download and build unstable/unreleased googletest during configure
make_check=no
conf_files="/etc/polybar/config.ini"
build_options="alsa curl i3 mpd network pulseaudio"
build_options_default="$build_options"
desc_option_curl="Enable support for cURL"
desc_option_i3="Enable support for i3"
desc_option_mpd="Enable support for MPD"
desc_option_network="Enable support for network"
post_install() {
vlicense LICENSE
}