You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
49 lines
1.1 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
7 years ago
|
|
||
|
WX_GTK_VER="3.0"
|
||
|
DIST_AUTHOR=MDOOTSON
|
||
|
DIST_VERSION=0.9932
|
||
|
DIST_EXAMPLES=("samples/*")
|
||
|
inherit wxwidgets virtualx perl-module
|
||
|
|
||
|
DESCRIPTION="Perl bindings for wxGTK"
|
||
5 years ago
|
HOMEPAGE="http://wxperl.sourceforge.net/ https://metacpan.org/release/Wx"
|
||
7 years ago
|
|
||
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="amd64 x86"
|
||
7 years ago
|
IUSE="test"
|
||
5 years ago
|
RESTRICT="!test? ( test )"
|
||
7 years ago
|
|
||
|
RDEPEND="
|
||
|
>=dev-perl/Alien-wxWidgets-0.690.0-r1
|
||
|
x11-libs/wxGTK:${WX_GTK_VER}
|
||
|
>=virtual/perl-File-Spec-0.820.0
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=virtual/perl-ExtUtils-MakeMaker-6.480.0
|
||
|
>=virtual/perl-ExtUtils-ParseXS-3.150.0
|
||
|
>=dev-perl/ExtUtils-XSpp-0.160.200
|
||
|
>=virtual/perl-if-0.30.0
|
||
|
test? (
|
||
|
>=virtual/perl-Test-Harness-2.260.0
|
||
|
>=virtual/perl-Test-Simple-0.430.0
|
||
|
)
|
||
|
"
|
||
4 years ago
|
BDEPEND=${DEPEND}
|
||
7 years ago
|
|
||
|
src_prepare() {
|
||
|
setup-wxwidgets
|
||
|
perl-module_src_prepare
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
# the webview/t/03_threads.t test tends to hang or crash in weird
|
||
|
# ways depending on local configuration. eg, backtraces involving
|
||
|
# all of webkit-gtk, kpartsplugin and kdelibs...
|
||
|
perl_rm_files t/12_pod.t ext/webview/t/03_threads.t
|
||
|
virtx perl-module_src_test
|
||
|
}
|