diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | meson.build.patch | 21 |
3 files changed, 20 insertions, 12 deletions
@@ -20,7 +20,7 @@ pkgbase = waybar-git source = waybar-git::git://github.com/Alexays/Waybar source = meson.build.patch sha1sums = SKIP - sha1sums = 99b9da23d134953c04d6c3094f5ba7a435846a5e + sha1sums = 48f912d7765d1ecc851254a282215f2981dd5792 pkgname = waybar-git @@ -1,7 +1,7 @@ # Maintainer: Alexis Rouillard <contact@arouillard.fr> pkgname=waybar-git -pkgver=r128.28c65c64 +pkgver=r235.2d2fb88 pkgrel=1 pkgdesc='Highly customizable wayland bar for sway or wlroots based compositor.' arch=('x86_64') @@ -25,7 +25,12 @@ source=("${pkgname}::git://github.com/Alexays/Waybar" 'meson.build.patch') sha1sums=('SKIP' - '99b9da23d134953c04d6c3094f5ba7a435846a5e') + '48f912d7765d1ecc851254a282215f2981dd5792') + +pkgver() { + cd "${srcdir}/${pkgname}" + set -o pipefail git describe --long 2>/dev/null | sed 's/([^-]*-g)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} prepare() { cd "${srcdir}/${pkgname}" diff --git a/meson.build.patch b/meson.build.patch index d33c828330b4..9ee08606cf01 100644 --- a/meson.build.patch +++ b/meson.build.patch @@ -1,9 +1,12 @@ -7c7,8 -< 'buildtype=release' ---- -> 'buildtype=release', -> 'default_library=static' -29c30 -< fmt = dependency('fmt', fallback: ['fmtlib', 'fmt_dep']) ---- -> fmt = subproject('fmtlib').get_variable('fmt_dep') +--- meson.build 2018-11-08 09:57:21.000000000 +0100 ++++ meson.build.patch 2018-11-09 09:47:40.000000000 +0100 +@@ -32,7 +32,7 @@ + + thread_dep = dependency('threads') + libinput = dependency('libinput') +-fmt = dependency('fmt', version : ['>=5.2.1'], fallback : ['fmt', 'fmt_dep']) ++fmt = subproject('fmt').get_variable('fmt_dep') + wayland_client = dependency('wayland-client') + wayland_cursor = dependency('wayland-cursor') + wayland_protos = dependency('wayland-protocols') +
\ No newline at end of file |