Merge pull request #5161 from jaagr/lemonbuddy

lemonbuddy: update to 2.2.5
This commit is contained in:
Michael Gehring 2016-11-12 16:37:43 +01:00 committed by GitHub
commit a9d9db39c8
4 changed files with 15 additions and 32 deletions

View file

@ -0,0 +1,9 @@
Get started with the example configuration:
$ install -Dm644 /usr/share/examples/lemonbuddy/config $HOME/.config/lemonbuddy
$ lemonbuddy example
For more information, see https://github.com/jaagr/lemonbuddy

View file

@ -1,13 +0,0 @@
Fix poll.h warning on musl
--- include/utils/inotify.hpp.orig
+++ include/utils/inotify.hpp
@@ -1,7 +1,7 @@
#pragma once
#include <sys/inotify.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <cstdio>
#include "common.hpp"

View file

@ -1,13 +0,0 @@
Fix poll.h warning on musl
--- include/utils/socket.hpp.orig
+++ include/utils/socket.hpp
@@ -1,7 +1,7 @@
#pragma once
#include <fcntl.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/socket.h>
#include <sys/un.h>

View file

@ -1,10 +1,10 @@
# Template file for 'lemonbuddy'
pkgname=lemonbuddy
version=2.1.10
version=2.2.5
revision=1
wrksrc="${pkgname}-${version}"
_i3ipcpp_version=0.5.1
_xpp_version=1.3.0
_xpp_version=1.3.1
build_style=cmake
configure_args="
-DCMAKE_CXX_COMPILER=clang++
@ -14,9 +14,9 @@ configure_args="
-DENABLE_I3=$(vopt_if i3 ON OFF)
-DENABLE_MPD=$(vopt_if mpd ON OFF)
-DENABLE_NETWORK=$(vopt_if network ON OFF)"
depends=("libXft" "xcb-util-wm")
depends=("libXft" "xcb-util-wm" "xcb-util-image")
hostmakedepends="clang pkg-config xcb-proto"
makedepends="libxcb-devel libXft-devel xcb-util-wm-devel boost-devel
makedepends="libxcb-devel libXft-devel xcb-util-image-devel xcb-util-wm-devel boost-devel
$(vopt_if alsa alsa-lib-devel)
$(vopt_if i3 "i3-devel jsoncpp-devel")
$(vopt_if mpd libmpdclient-devel)
@ -30,8 +30,8 @@ distfiles="
https://github.com/jaagr/xpp/archive/${_xpp_version}.tar.gz
$(vopt_if i3 "https://github.com/jaagr/i3ipcpp/archive/v${_i3ipcpp_version}.tar.gz")"
checksum="
d7e446927cb039e4aff154b7fdb6c668b92605bb8d87ff5f3125ce011c3cbe61
f66b5ff4881d359521a1516c3fd87a5ace2e95e0ca2e6a1e0ab7b66cc6d3f582
0b93c280846e9e29ea7177c721d9ebe638a5ff90d5f830c01d79b3f230fe46e8
de92b258a136aa782a876d3058009a31238cc92f16038aa243ea6d55057e2ed1
$(vopt_if i3 2c5243e1d3be787f8e64ce5b1a3c087999e2ccaeea1db317f6ab2df3556fa952)"
build_options="alsa i3 mpd network"