Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-wxWidgets/
Date: Wed, 21 Mar 2018 00:59:14
Message-Id: 1521593904.ed08a23a6851fc365b1a538789258f4649091849.kentnl@gentoo
1 commit: ed08a23a6851fc365b1a538789258f4649091849
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 21 00:44:38 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 21 00:58:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed08a23a
7
8 dev-perl/Alien-wxWidgets: Fix use of wxwidgets eclass
9
10 EAPI5 auto-setup the wxwidgets magic, but EAPI6 requires explicit
11 invocation to function.
12
13 This omission means Alien-wxWidgets would get built with whatever was
14 currently selected with "eselect wxwidgets", ultimately resulting in
15 compilation failure in dev-perl/Wx when the wx implementation was
16 either wxGTK 2.8, or the GTK3 version of wxGTK3
17
18 Bug: https://bugs.gentoo.org/623042
19 Bug: https://bugs.gentoo.org/627180
20 Bug: https://bugs.gentoo.org/615246
21 Package-Manager: Portage-2.3.24, Repoman-2.3.6
22
23 .../Alien-wxWidgets-0.690.0-r1.ebuild | 37 ++++++++++++++++++++++
24 1 file changed, 37 insertions(+)
25
26 diff --git a/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.690.0-r1.ebuild b/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.690.0-r1.ebuild
27 new file mode 100644
28 index 00000000000..4a697f0903d
29 --- /dev/null
30 +++ b/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.690.0-r1.ebuild
31 @@ -0,0 +1,37 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +WX_GTK_VER=3.0
38 +DIST_AUTHOR=MDOOTSON
39 +DIST_VERSION=0.69
40 +inherit wxwidgets perl-module
41 +
42 +DESCRIPTION="Building, finding and using wxWidgets binaries"
43 +
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ia64 ~x86"
46 +IUSE="gstreamer opengl test"
47 +
48 +RDEPEND="
49 + >=x11-libs/wxGTK-3:3.0[gstreamer=,opengl=,tiff,X]
50 + >=dev-perl/Module-Pluggable-2.600.0
51 +"
52 +DEPEND="${RDEPEND}
53 + >=virtual/perl-ExtUtils-CBuilder-0.24
54 + >=virtual/perl-File-Spec-1.500.0
55 + >=dev-perl/Module-Build-0.280.0
56 + test? ( virtual/perl-Test-Simple )
57 +"
58 +
59 +src_configure() {
60 + setup-wxwidgets
61 + myconf=( --wxWidgets-build=0 )
62 + perl-module_src_configure
63 +}
64 +
65 +src_test() {
66 + perl_rm_files t/zz_pod.t t/zy_pod_coverage.t
67 + perl-module_src_test
68 +}