dev-perl/Wx-Scintilla: Support wxGTK:3.0
authorPacho Ramos <pacho@gentoo.org>
Sat, 24 Oct 2015 09:57:42 +0000 (11:57 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 24 Oct 2015 09:57:52 +0000 (11:57 +0200)
Package-Manager: portage-2.2.23

dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r2.ebuild [new file with mode: 0644]

diff --git a/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r2.ebuild b/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0-r2.ebuild
new file mode 100644 (file)
index 0000000..85360c6
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+#VIRTUALX_REQUIRED=test
+#inherit virtualx
+MODULE_AUTHOR=AZAWAWI
+MODULE_VERSION=0.39
+inherit wxwidgets perl-module
+
+DESCRIPTION="Scintilla source code editing component for wxWidgets"
+SRC_URI+=" https://dev.gentoo.org/~tove/distfiles/dev-perl/${PN}-0.34-patches.tar.gz"
+
+LICENSE+=" HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-perl/Alien-wxWidgets
+       dev-perl/wxperl
+       x11-libs/wxGTK:${WX_GTK_VER}
+"
+DEPEND="${RDEPEND}
+       >=dev-perl/ExtUtils-XSpp-0.160.200
+       >=dev-perl/Module-Build-0.360.0
+"
+
+PATCHES=(
+       "${WORKDIR}"/${PN}-patches/0.34-flags.patch
+)
+
+src_configure() {
+       need-wxwidgets base-unicode
+       myconf=( --verbose )
+       perl-module_src_configure
+}
+
+#SRC_TEST=do
+#src_test() {
+#      VIRTUALX_COMMAND="./Build" virtualmake test || die
+#}