commit:     318245424e1faaee6c754e18279bca6e1fbfc4a7
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 00:19:25 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 00:23:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31824542

x11-terms/valaterm: new EAPI=6 revision with fixed HOMEPAGE and SRC_URI.

Gentoo-Bug: 544872

Package-Manager: portage-2.2.28

 x11-terms/valaterm/valaterm-0.6-r1.ebuild | 48 +++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/x11-terms/valaterm/valaterm-0.6-r1.ebuild 
b/x11-terms/valaterm/valaterm-0.6-r1.ebuild
new file mode 100644
index 00000000..f6b1ea3
--- /dev/null
+++ b/x11-terms/valaterm/valaterm-0.6-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+VALA_MIN_API_VERSION="0.16"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+
+inherit python-any-r1 waf-utils vala
+
+DESCRIPTION="A lightweight vala based terminal"
+HOMEPAGE="https://github.com/jpdeplaix/${PN}";
+SRC_URI="${HOMEPAGE}archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/glib-2
+       x11-libs/gtk+:3
+       x11-libs/vte:2.90"
+DEPEND="${RDEPEND}
+       ${PYTHON_DEPS}
+       $(vala_depend)
+       virtual/pkgconfig
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+               )"
+
+S="${WORKDIR}/${PN}-${PN}"
+
+src_prepare() {
+       # Temporary workaround for the fact that vala.eclass doesn't support
+       # EAPI=6.
+       eapply_user
+       vala_src_prepare
+}
+
+src_configure() {
+       # If you try --enable-nls, it barfs.
+       local myconf=''
+       use nls || myconf='--disable-nls'
+       waf-utils_src_configure --custom-flags --verbose ${myconf}
+}

Reply via email to