Add package flags
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: waybar
|
||||
description: Highly customizable Wayland bar for Sway and Wlroots based compositors
|
||||
version: 0.15.0
|
||||
revision: 3
|
||||
revision: 4
|
||||
url: https://github.com/Alexays/Waybar
|
||||
license: MIT
|
||||
maintainers:
|
||||
@@ -47,6 +47,14 @@ make_depends:
|
||||
- scdoc
|
||||
- wayland-protocols
|
||||
- python-setuptools
|
||||
flags:
|
||||
- name: cava
|
||||
default_value: disabled
|
||||
accepted_values:
|
||||
- value: enabled
|
||||
depends:
|
||||
- libcava
|
||||
- value: disabled
|
||||
downloads:
|
||||
- url: https://github.com/Alexays/Waybar/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr \
|
||||
meson setup build --prefix=/usr \
|
||||
--buildtype=plain \
|
||||
--auto-features=enabled \
|
||||
--wrap-mode=nodownload \
|
||||
-Dcpp_std=c++20 \
|
||||
-Dexperimental=true \
|
||||
-Dsystemd=disabled \
|
||||
-Dcava=disabled \
|
||||
-Dcava="$BPM_PKG_FLAG_CAVA" \
|
||||
-Dtests=enabled \
|
||||
-Dmpris=disabled \
|
||||
-Dgps=disabled build
|
||||
-Dgps=disabled
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user