21 lines
869 B
Bash
21 lines
869 B
Bash
# Template file for 'gscreenshot'
|
|
pkgname=gscreenshot
|
|
version=3.4.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools gettext go-md2man"
|
|
# refer to https://github.com/thenaterhood/gscreenshot#installation
|
|
# for optional dependencies across system configurations
|
|
depends="gtk+3 python3-setuptools python3-Pillow python3-gobject"
|
|
checkdepends="${depends} python3-mock python3-pytest"
|
|
short_desc="GUI for multiple screenshot backends including scrot, PIL, and grim"
|
|
maintainer="Rui Flora <rui.flora@gmail.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://github.com/thenaterhood/gscreenshot"
|
|
distfiles="https://github.com/thenaterhood/gscreenshot/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=c80e7366cdb32377300cc581c8f042e1b70f865b20505d0f5224a1c5d00d6416
|
|
|
|
do_check() {
|
|
(cd src && PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest ../test)
|
|
}
|