summaryrefslogtreecommitdiff
blob: 0db35985d40f5db5da004ff13166f9fd146e460c (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
42
43
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=SHLOMIF
DIST_VERSION=0.29
inherit perl-module virtualx

DESCRIPTION="Copy and paste with any OS"

SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"

RDEPEND="
	dev-perl/CGI
	virtual/perl-File-Spec
	virtual/perl-File-Temp
	dev-perl/URI
	|| (
		x11-misc/xclip
		x11-misc/xsel
	)
"
DEPEND="
	dev-perl/Module-Build
"
BDEPEND="
	${RDEPEND}
	>=dev-perl/Module-Build-0.280.0
	test? (
		>=virtual/perl-Test-Simple-0.880.0
		x11-misc/xclip
		x11-misc/xsel
	)
"

src_test() {
	# t/drivers.t will get confused about cygwin/win32 otherwise...
	unset SSH_CONNECTION

	virtx perl-module_src_test
}