summaryrefslogtreecommitdiff
blob: 572bb256c9c017a9e51d3f1fd76ca92ac9ced4ee (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=SMCCAM
DIST_VERSION=0.56
DIST_EXAMPLES=("eg/*")
inherit perl-module virtualx

DESCRIPTION="Client-side interface to the X11 Protocol"

LICENSE="${LICENSE} MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	x11-libs/libXrender
	x11-libs/libXext
"
DEPEND="
	${RDEPEND}
"
BDEPEND="
	${RDEPEND}
	test? ( media-fonts/font-misc-misc )
"

PATCHES=(
	"${FILESDIR}/${PN}-0.56-test-timeout.patch"
	"${FILESDIR}/${PN}-0.56-test-tap.patch"
)

src_test() {
	virtx perl-module_src_test
}