From 8a5a79bb5a65ae0424000669da6dba64e6c4d5dc Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 17 Feb 2021 00:45:20 +0100 Subject: [PATCH] volctl: update to 0.8.2. --- srcpkgs/volctl/template | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/srcpkgs/volctl/template b/srcpkgs/volctl/template index 0b4dc7d4409..5506ed93723 100644 --- a/srcpkgs/volctl/template +++ b/srcpkgs/volctl/template @@ -1,13 +1,22 @@ # Template file for 'volctl' pkgname=volctl -version=0.8.0 -revision=2 +version=0.8.2 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-gobject desktop-file-utils" -short_desc="Lightweight volume control for pulseaudio that sits in your systray" +depends="python3-gobject desktop-file-utils python3-cairo python3-yaml python3-click" +checkdepends="${depends} dbus pulseaudio gtk+3 xvfb-run" +short_desc="Lightweight volume control for pulseaudio in your systray" maintainer="teldra " license="GPL-2.0-only" homepage="https://buzz.github.io/volctl/" distfiles="https://github.com/buzz/volctl/archive/v${version}.tar.gz" -checksum=01d021f244982a8bc827574f778a49864e937ca53310e03ec1386587bf8fb9b4 +checksum=8e744fe0e92f00451983e4fffa079d4d5354a8f96f6bcf8d15da44a18dc556f5 + +post_extract() { + vsed -i "/^from gi.repository import Gtk.*/i import gi\ngi.require_version('Gtk', '3.0')" volctl/meta.py +} + +do_check() { + xvfb-run dbus-run-session python setup.py test +}