x11-terms/terminology: update -9999 to reflect latest release
authorJoonas Niilola <juippis@gmail.com>
Sat, 12 May 2018 02:54:18 +0000 (05:54 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sun, 13 May 2018 07:27:05 +0000 (09:27 +0200)
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

index 141d654af2461bea2f798f42908eceb7f2a60a92..b8b33368f9b5f34ffea795f227a552900e5ac56c 100644 (file)
@@ -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
+}