From 793126776855e3606489dc93f91c6f84cfa62882 Mon Sep 17 00:00:00 2001 From: damneq Date: Tue, 21 Jan 2020 15:07:52 +0100 Subject: [PATCH] Waybar: update to 0.9.0 --- common/shlibs | 1 + ...9.0-fix-building-with-libnl-option-enabled.patch | 8 ++++++++ srcpkgs/Waybar/template | 13 +++++++------ 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch diff --git a/common/shlibs b/common/shlibs index 60f082055a3..35fcd4de243 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3705,3 +3705,4 @@ libnvpair.so.1 zfs-0.8.2_1 libjsonnet.so.0 jsonnet-0.14.0_2 libjsonnet++.so.0 jsonnet-0.14.0_2 libigdgmm.so.11 intel-gmmlib-19.4.1_1 +libgtk-layer-shell.so.0 wf-shell-0.3_1 diff --git a/srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch b/srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch new file mode 100644 index 00000000000..91695c00f9a --- /dev/null +++ b/srcpkgs/Waybar/patches/Waybar-0.9.0-fix-building-with-libnl-option-enabled.patch @@ -0,0 +1,8 @@ +--- src/modules/network.cpp ++++ src/modules/network.cpp +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + #include "util/format.hpp" diff --git a/srcpkgs/Waybar/template b/srcpkgs/Waybar/template index 9b9242f8824..a41cbe97854 100644 --- a/srcpkgs/Waybar/template +++ b/srcpkgs/Waybar/template @@ -1,13 +1,14 @@ # Template file for 'Waybar' pkgname=Waybar -version=0.8.0 -revision=2 +version=0.9.0 +revision=1 build_style=meson configure_args="-Dlibnl=$(vopt_if libnl enabled disabled) -Dpulseaudio=$(vopt_if pulseaudio enabled disabled) - -Ddbusmenu-gtk=$(vopt_if dbusmenugtk enabled disabled)" -hostmakedepends="pkg-config glib-devel wayland-devel sway" -makedepends="libinput-devel wayland-devel wlroots-devel gtkmm-devel spdlog + -Ddbusmenu-gtk=$(vopt_if dbusmenugtk enabled disabled) + -Dsystemd=disabled" +hostmakedepends="pkg-config glib-devel wayland-devel sway scdoc" +makedepends="wf-shell libinput-devel wayland-devel wlroots-devel gtkmm-devel spdlog jsoncpp-devel libglib-devel libsigc++-devel fmt-devel $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if libnl libnl3-devel) $(vopt_if dbusmenugtk libdbusmenu-gtk3-devel) @@ -18,7 +19,7 @@ license="MIT" homepage="https://github.com/Alexays/Waybar" changelog="https://github.com/Alexays/Waybar/releases" distfiles="https://github.com/Alexays/Waybar/archive/${version}.tar.gz" -checksum=2de2f0cec243da0d9ff2255ceb9dac9d95e8be06d6ea13926fae460d72e4b8aa +checksum=65e8397d5a8880cbb9172138e361b0d91f649bc99327d36945e38d1e5dbb157d build_options="libnl pulseaudio dbusmenugtk mpd" build_options_default="pulseaudio mpd"