Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/emacs:master commit in: app-editors/zile/
Date: Sat, 02 Jan 2021 11:50:31
Message-Id: 1609588163.aad66832acf1c79460ba596208114c9fbd85cf34.ulm@gentoo
1 commit: aad66832acf1c79460ba596208114c9fbd85cf34
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 11:49:23 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 11:49:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=aad66832
7
8 app-editors/zile: Alpha version of zile written in vala
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-editors/zile/Manifest | 1 +
14 app-editors/zile/metadata.xml | 14 +++++++++
15 app-editors/zile/zile-2.6.0.93.ebuild | 54 +++++++++++++++++++++++++++++++++++
16 3 files changed, 69 insertions(+)
17
18 diff --git a/app-editors/zile/Manifest b/app-editors/zile/Manifest
19 new file mode 100644
20 index 0000000..f74896a
21 --- /dev/null
22 +++ b/app-editors/zile/Manifest
23 @@ -0,0 +1 @@
24 +DIST zile-2.6.0.93.tar.gz 1152083 BLAKE2B b05fdfe49898e3c416809f2aa27d0f28ca0ea2aedfc8c7c6af79a15d0415d7ba61d61f23d97086cf2134bebf3dfa60aa6805fa8251194ae905064fd30103ff16 SHA512 4d8afa5dce00319d4c0aa8b473661a884dd2093e40e5af86fe9d2728f8234b490312f69c99d3fbd6dbd00f646615a4ea2c2feff919f5b3e987cf3f02fa3a8a0e
25
26 diff --git a/app-editors/zile/metadata.xml b/app-editors/zile/metadata.xml
27 new file mode 100644
28 index 0000000..18774a1
29 --- /dev/null
30 +++ b/app-editors/zile/metadata.xml
31 @@ -0,0 +1,14 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 +<maintainer type="project">
36 + <email>emacs@g.o</email>
37 + <name>Gentoo Emacs project</name>
38 +</maintainer>
39 +<longdescription>
40 + Zile is a small, fast, and powerful Emacs clone. It is useful for small
41 + footprint installations (e.g. on floppy disk), machines with little memory,
42 + or quick editing sessions, especially on remote machines or as a different
43 + user, e.g. root.
44 +</longdescription>
45 +</pkgmetadata>
46
47 diff --git a/app-editors/zile/zile-2.6.0.93.ebuild b/app-editors/zile/zile-2.6.0.93.ebuild
48 new file mode 100644
49 index 0000000..150d91c
50 --- /dev/null
51 +++ b/app-editors/zile/zile-2.6.0.93.ebuild
52 @@ -0,0 +1,54 @@
53 +# Copyright 1999-2021 Gentoo Authors
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=7
57 +#VALA_MIN_API_VERSION=0.52
58 +
59 +inherit toolchain-funcs #vala
60 +
61 +DESCRIPTION="Zile is a small Emacs clone"
62 +HOMEPAGE="https://www.gnu.org/software/zile/"
63 +SRC_URI="mirror://gnu-alpha/zile/${P}.tar.gz"
64 +
65 +LICENSE="GPL-3+"
66 +SLOT="0"
67 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
68 +#IUSE="vala-build"
69 +
70 +RDEPEND="dev-libs/glib:2
71 + dev-libs/libgee:0.8=
72 + sys-libs/ncurses:0="
73 +
74 +DEPEND="${RDEPEND}"
75 +# vala-build? ( $(vala_depend) )
76 +
77 +BDEPEND="dev-lang/perl
78 + virtual/pkgconfig"
79 +
80 +# AUTHORS, FAQ, and NEWS are installed by the build system
81 +DOCS="README THANKS"
82 +
83 +QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
84 +
85 +#src_prepare() {
86 +# default
87 +# if use vala-build; then
88 +# vala_src_prepare
89 +# rm *_vala.stamp || die
90 +# fi
91 +#}
92 +
93 +src_configure() {
94 + econf CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
95 +}
96 +
97 +src_test() {
98 + if tput cup 0 0 >/dev/null || tput cuu1 >/dev/null; then
99 + # We have a sane terminal that can move the cursor
100 + emake check
101 + else
102 + ewarn "Terminal type \"${TERM}\" is too stupid to run zile"
103 + ewarn "Running the tests with unset TERM instead"
104 + ( unset TERM; emake check )
105 + fi
106 +}