diff options
author | ghesy | 2022-10-15 05:40:30 +0330 |
---|---|---|
committer | ghesy | 2022-10-15 05:40:30 +0330 |
commit | 28347c736f0df322e681c970980beaf417473ba3 (patch) | |
tree | b5b6ea8705fc34978d89ac3be0eec1fff2f7f50c | |
parent | f28e41f482a30882384f04997ada599bc4c38e86 (diff) | |
download | aur-28347c736f0df322e681c970980beaf417473ba3.tar.gz |
fix makedepends, enable pulse plugin
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 35 insertions, 11 deletions
@@ -1,22 +1,32 @@ pkgbase = luastatus pkgdesc = universal status bar content generator pkgver = 0.6.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/shdown/luastatus arch = x86_64 license = LGPL3 makedepends = cmake makedepends = pkg-config makedepends = python-docutils + makedepends = libxcb>=1.10 + makedepends = yajl>=2.0.4 + makedepends = alsa-lib>=1.0.27.2 + makedepends = libpulse>=4.0 + makedepends = libudev>=204.0 + makedepends = libnl>=3.0 + makedepends = glib2>=2.40.2 + makedepends = libx11>=1.6.2 + makedepends = xcb-util>=0.3.8 + makedepends = xcb-util-wm>=0.4.1 depends = lua<5.5 optdepends = libxcb>=1.10: for barlib 'dwm' and plugin 'xtitle' optdepends = yajl>=2.0.4: for barlib 'i3' optdepends = alsa-lib>=1.0.27.2: for plugin 'alsa' + optdepends = libpulse>=4.0: for plugin 'pulse' optdepends = libudev>=204.0: for plugin 'battery-linux', 'backlight-linux' and 'udev' - optdepends = glib2>=2.40.2: for plugin 'dbus' - optdepends = linux-headers: for plugin 'network' optdepends = libnl>=3.0: for plugin 'network' - optdepends = libpulse>=4.0: for plugin 'pulse' + optdepends = glib2>=2.40.2: for plugin 'dbus' + optdepends = libx11>=1.6.2: for plugin 'xkb' optdepends = xcb-util>=0.3.8: for plugin 'xtitle' optdepends = xcb-util-wm>=0.4.1: for plugin 'xtitle' source = https://github.com/shdown/luastatus/archive/refs/tags/v0.6.0.tar.gz @@ -1,23 +1,37 @@ -# Maintainer: Ehsan Ghorbannezhad <ehsan at disroot dot org> +# Maintainer: ghesy <ehsan at disroot dot org> pkgname=luastatus pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='universal status bar content generator' url='https://github.com/shdown/luastatus' arch=('x86_64') license=('LGPL3') depends=('lua<5.5') -makedepends=('cmake' 'pkg-config' 'python-docutils') +makedepends=( + 'cmake' + 'pkg-config' + 'python-docutils' + 'libxcb>=1.10' + 'yajl>=2.0.4' + 'alsa-lib>=1.0.27.2' + 'libpulse>=4.0' + 'libudev>=204.0' + 'libnl>=3.0' + 'glib2>=2.40.2' + 'libx11>=1.6.2' + 'xcb-util>=0.3.8' + 'xcb-util-wm>=0.4.1' +) optdepends=( "libxcb>=1.10: for barlib 'dwm' and plugin 'xtitle'" "yajl>=2.0.4: for barlib 'i3'" "alsa-lib>=1.0.27.2: for plugin 'alsa'" + "libpulse>=4.0: for plugin 'pulse'" "libudev>=204.0: for plugin 'battery-linux', 'backlight-linux' and 'udev'" - "glib2>=2.40.2: for plugin 'dbus'" - "linux-headers: for plugin 'network'" "libnl>=3.0: for plugin 'network'" - "libpulse>=4.0: for plugin 'pulse'" + "glib2>=2.40.2: for plugin 'dbus'" + "libx11>=1.6.2: for plugin 'xkb'" "xcb-util>=0.3.8: for plugin 'xtitle'" "xcb-util-wm>=0.4.1: for plugin 'xtitle'" ) @@ -27,7 +41,7 @@ sha256sums=('b4ccebc771c315c137cd29ce3ab737ac28a4d32db6a4ac956405b33968fe4ddc') build() { cd "luastatus-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \ - -DWITH_LUA_LIBRARY=lua-5.4 . + -DWITH_LUA_LIBRARY=lua-5.4 -DBUILD_PLUGIN_PULSE=ON . make } |