summaryrefslogtreecommitdiff
blob: eecd5683d6328e9a8b532a277d72a2894c0ccfe0 (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-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=ASOKOLOV
DIST_VERSION=12
DIST_TEST=do
inherit perl-module virtualx

DESCRIPTION="Image viewer widget for Gtk3"

SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv 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-Deep
		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
)

src_test() {
	virtx perl-module_src_test
}