diff --git a/srcpkgs/grim/template b/srcpkgs/grim/template index 89af643b6a7..f42ed188f1f 100644 --- a/srcpkgs/grim/template +++ b/srcpkgs/grim/template @@ -1,18 +1,22 @@ # Template file for 'grim' pkgname=grim -version=1.3.2 +version=1.4.0 revision=1 +wrksrc="grim-v${version}" build_style=meson configure_args="-Djpeg=enabled -Dwerror=false" hostmakedepends="pkg-config wayland-devel scdoc" -makedepends="wayland-devel wayland-protocols cairo-devel libjpeg-turbo-devel" +makedepends="wayland-devel wayland-protocols pixman-devel libjpeg-turbo-devel + libpng-devel" short_desc="Grab images from a Wayland compositor" maintainer="Derriick " license="MIT" homepage="https://wayland.emersion.fr/grim/" -distfiles="https://github.com/emersion/grim/archive/v${version}.tar.gz" -checksum=42c2952e98389506156c08e40e0c37afdc2ec5ef4d55a5a4febde6acdac4d1c8 +distfiles="https://git.sr.ht/~emersion/grim/archive/v${version}.tar.gz" +checksum=66729ae654546404f50ed163055310dd23ed52cc5a881d39752c0cd076e3d7aa post_install() { vlicense LICENSE + vcompletion contrib/completions/bash/grim.bash bash + vcompletion contrib/completions/fish/grim.fish fish }