commit:     18cfe9ffa6718347b5e4823c955be0789232e57f
Author:     Joonas Niilola <juippis <AT> gmail <DOT> com>
AuthorDate: Sat May 12 02:54:18 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 13 07:27:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18cfe9ff

x11-terms/terminology: update -9999 to reflect latest release

Updated homepage and added nls USE flag.

Closes: https://bugs.gentoo.org/642066
Closes: https://github.com/gentoo/gentoo/pull/8356
Package-Manager: Portage[mgorny]-2.3.33.1

 x11-terms/terminology/terminology-9999.ebuild | 36 ++++++++++++++-------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/x11-terms/terminology/terminology-9999.ebuild 
b/x11-terms/terminology/terminology-9999.ebuild
index 141d654af24..b8b33368f9b 100644
--- a/x11-terms/terminology/terminology-9999.ebuild
+++ b/x11-terms/terminology/terminology-9999.ebuild
@@ -1,27 +1,29 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-MY_P=${P/_/-}
-
-if [[ "${PV}" != "9999" ]] ; then
-       
SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${MY_P}.tar.xz";
-       KEYWORDS="~amd64 ~x86"
-else
-       inherit git-r3
-       EGIT_REPO_URI="https://git.enlightenment.org/apps/${PN}.git";
-fi
-
-inherit meson
+inherit git-r3 meson
 
 DESCRIPTION="Feature rich terminal emulator using the Enlightenment Foundation 
Libraries"
-HOMEPAGE="https://www.enlightenment.org/p.php?p=about/terminology";
+HOMEPAGE="https://www.enlightenment.org/about-terminology";
+EGIT_REPO_URI="https://git.enlightenment.org/apps/${PN}.git";
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE=""
+IUSE="nls"
+
+RDEPEND=">=dev-libs/efl-1.20.0[eet,fontconfig,opengl,X]"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+       nls? ( sys-devel/gettext )
+"
+
+src_configure() {
+       local emesonargs=(
+               -D nls=$(usex nls true false)
+       )
 
-RDEPEND=">=dev-libs/efl-1.18[X]"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+       meson_src_configure
+}

Reply via email to