50 lines
934 B
Bash
50 lines
934 B
Bash
|
|
# Copyright 1999-2019 Gentoo Authors
|
||
|
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
|
||
|
|
EAPI=7
|
||
|
|
|
||
|
|
inherit meson xdg-utils
|
||
|
|
|
||
|
|
DESCRIPTION="Feature rich terminal emulator using the Enlightenment Foundation Libraries"
|
||
|
|
HOMEPAGE="https://www.enlightenment.org/about-terminology"
|
||
|
|
SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz"
|
||
|
|
|
||
|
|
LICENSE="BSD-2"
|
||
|
|
SLOT="0"
|
||
|
|
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||
|
|
IUSE="extras nls"
|
||
|
|
|
||
|
|
RDEPEND="
|
||
|
|
|| ( dev-libs/efl[gles2] dev-libs/efl[opengl] )
|
||
|
|
|| ( dev-libs/efl[X] dev-libs/efl[wayland] )
|
||
|
|
app-arch/lz4
|
||
|
|
dev-libs/efl[eet,fontconfig]
|
||
|
|
"
|
||
|
|
DEPEND="${RDEPEND}"
|
||
|
|
BDEPEND="
|
||
|
|
virtual/pkgconfig
|
||
|
|
nls? ( sys-devel/gettext )
|
||
|
|
"
|
||
|
|
|
||
|
|
src_prepare() {
|
||
|
|
eapply "${FILESDIR}/${P}-autohide.patch"
|
||
|
|
default
|
||
|
|
}
|
||
|
|
|
||
|
|
src_configure() {
|
||
|
|
local emesonargs=(
|
||
|
|
$(meson_use nls)
|
||
|
|
$(meson_use extras tests)
|
||
|
|
)
|
||
|
|
|
||
|
|
meson_src_configure
|
||
|
|
}
|
||
|
|
|
||
|
|
pkg_postinst() {
|
||
|
|
xdg_icon_cache_update
|
||
|
|
}
|
||
|
|
|
||
|
|
pkg_postrm() {
|
||
|
|
xdg_icon_cache_update
|
||
|
|
}
|