# Maintainer: crimist <aur at crim dot ist>
# Contributor: Sophie Tauchert <sophie@999eagle.moe>

pkgname=gwe
pkgver=0.15.9
pkgrel=1
pkgdesc="A system utility for controlling NVIDIA GPUs"
arch=('any')
url="https://gitlab.com/leinardi/gwe"
license=('GPL3')
depends=('gobject-introspection' 'libdazzle' 'libnotify' 'python' 'python-cairo' 'python-injector' 'python-matplotlib' 'python-peewee' 'python-py3nvml' 'python-gobject' 'python-xlib' 'python-pyxdg' 'python-requests' 'python-reactivex')
makedepends=('meson' 'appstream-glib')
optdepends=('libappindicator-gtk3: tray support')
source=("https://gitlab.com/leinardi/gwe/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('d430b5a7cbac42d06708a6af27f013ac17773d184403e6e088bf6193a014ccb2')

build() {
  arch-meson $pkgname-$pkgver build
  meson compile -C build
}

package() {
  meson install -C build --destdir "$pkgdir"
}
