diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-01-02 12:49:23 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-01-02 12:49:23 +0100 |
commit | aad66832acf1c79460ba596208114c9fbd85cf34 (patch) | |
tree | 0177eea5ecd6f77c66dc10a8bbcf2b9ee0ea2181 /app-editors/zile/zile-2.6.0.93.ebuild | |
parent | elisp-common.eclass: Sync from gentoo repo. (diff) | |
download | emacs-aad66832acf1c79460ba596208114c9fbd85cf34.tar.gz emacs-aad66832acf1c79460ba596208114c9fbd85cf34.tar.bz2 emacs-aad66832acf1c79460ba596208114c9fbd85cf34.zip |
app-editors/zile: Alpha version of zile written in vala
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/zile/zile-2.6.0.93.ebuild')
-rw-r--r-- | app-editors/zile/zile-2.6.0.93.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-editors/zile/zile-2.6.0.93.ebuild b/app-editors/zile/zile-2.6.0.93.ebuild new file mode 100644 index 0000000..150d91c --- /dev/null +++ b/app-editors/zile/zile-2.6.0.93.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +#VALA_MIN_API_VERSION=0.52 + +inherit toolchain-funcs #vala + +DESCRIPTION="Zile is a small Emacs clone" +HOMEPAGE="https://www.gnu.org/software/zile/" +SRC_URI="mirror://gnu-alpha/zile/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +#IUSE="vala-build" + +RDEPEND="dev-libs/glib:2 + dev-libs/libgee:0.8= + sys-libs/ncurses:0=" + +DEPEND="${RDEPEND}" +# vala-build? ( $(vala_depend) ) + +BDEPEND="dev-lang/perl + virtual/pkgconfig" + +# AUTHORS, FAQ, and NEWS are installed by the build system +DOCS="README THANKS" + +QA_AM_MAINTAINER_MODE=".*help2man.*" #450278 + +#src_prepare() { +# default +# if use vala-build; then +# vala_src_prepare +# rm *_vala.stamp || die +# fi +#} + +src_configure() { + econf CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)" +} + +src_test() { + if tput cup 0 0 >/dev/null || tput cuu1 >/dev/null; then + # We have a sane terminal that can move the cursor + emake check + else + ewarn "Terminal type \"${TERM}\" is too stupid to run zile" + ewarn "Running the tests with unset TERM instead" + ( unset TERM; emake check ) + fi +} |