summaryrefslogtreecommitdiff
blob: ebce005b7376f3be4888c8057363509f6d065e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=RATCLIFFE
DIST_VERSION=6
DIST_TEST=do
inherit perl-module virtualx

DESCRIPTION="Image viewer widget for Gtk3"

SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-perl/Cairo
	>=dev-perl/glib-perl-1.210.0
	dev-perl/Gtk3
	dev-perl/Readonly
"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? (
		dev-perl/Carp-Always
		dev-perl/Test-Differences
		dev-perl/Test-MockObject
		dev-perl/Try-Tiny
		media-gfx/imagemagick[jpeg,perl,png,svg,X]
		virtual/perl-Test-Simple
	)
"

PERL_RM_FILES=(
	t/90_MANIFEST.t
	t/91_critic.t
)

src_test() {
	virtx perl-module_src_test
}