1 |
commit: 868f612bb48712e77205955d6a409d4e92944e53 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 5 13:09:28 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 5 13:09:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868f612b |
7 |
|
8 |
app-i18n/fbterm: update to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-i18n/fbterm/fbterm-1.7-r2.ebuild | 53 +++++++++++++++++------------------- |
13 |
app-i18n/fbterm/metadata.xml | 11 +++++--- |
14 |
2 files changed, 32 insertions(+), 32 deletions(-) |
15 |
|
16 |
diff --git a/app-i18n/fbterm/fbterm-1.7-r2.ebuild b/app-i18n/fbterm/fbterm-1.7-r2.ebuild |
17 |
index 5685cd6a76e..536c70f0606 100644 |
18 |
--- a/app-i18n/fbterm/fbterm-1.7-r2.ebuild |
19 |
+++ b/app-i18n/fbterm/fbterm-1.7-r2.ebuild |
20 |
@@ -1,60 +1,57 @@ |
21 |
# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI="5" |
25 |
-inherit autotools-utils |
26 |
+EAPI="6" |
27 |
+ |
28 |
+inherit autotools |
29 |
|
30 |
DESCRIPTION="Fast terminal emulator for the Linux framebuffer" |
31 |
HOMEPAGE="https://fbterm.googlecode.com/" |
32 |
-SRC_URI="https://fbterm.googlecode.com/files/${P}.0.tar.gz" |
33 |
+SRC_URI="https://${PN}.googlecode.com/files/${P}.0.tar.gz" |
34 |
|
35 |
LICENSE="GPL-2" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
38 |
IUSE="caps gpm video_cards_vesa" |
39 |
|
40 |
-RDEPEND="caps? ( sys-libs/libcap ) |
41 |
+RDEPEND="media-libs/fontconfig |
42 |
+ media-libs/freetype:2 |
43 |
+ caps? ( sys-libs/libcap ) |
44 |
gpm? ( sys-libs/gpm ) |
45 |
- video_cards_vesa? ( dev-libs/libx86 ) |
46 |
- media-libs/fontconfig |
47 |
- media-libs/freetype:2" |
48 |
+ video_cards_vesa? ( dev-libs/libx86 )" |
49 |
DEPEND="${RDEPEND} |
50 |
sys-libs/ncurses |
51 |
virtual/pkgconfig" |
52 |
|
53 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
54 |
+PATCHES=( "${FILESDIR}"/${PN}-gcc6.patch ) |
55 |
|
56 |
-DOCS=( AUTHORS NEWS README ) |
57 |
+src_prepare() { |
58 |
+ sed -i "s|tic|tic -o '\$(DESTDIR)\$(datadir)/terminfo'|" terminfo/Makefile.am |
59 |
|
60 |
-PATCHES=( |
61 |
- "${FILESDIR}"/${PN}-gcc6.patch |
62 |
-) |
63 |
+ default |
64 |
+ eautoreconf |
65 |
+} |
66 |
|
67 |
src_configure() { |
68 |
- local myeconfargs=( |
69 |
- $(use_enable gpm) |
70 |
+ econf \ |
71 |
+ $(use_enable gpm) \ |
72 |
$(use_enable video_cards_vesa vesa) |
73 |
- ) |
74 |
- autotools-utils_src_configure |
75 |
} |
76 |
|
77 |
src_install() { |
78 |
- autotools-utils_src_install |
79 |
- $(type -P tic) -o "${ED}/usr/share/terminfo/" \ |
80 |
- "${S}"/terminfo/fbterm || die "Failed to generate terminfo database" |
81 |
+ default |
82 |
+ |
83 |
if use caps; then |
84 |
- setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/fbterm |
85 |
+ setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/${PN} |
86 |
else |
87 |
- fperms u+s /usr/bin/fbterm |
88 |
+ fperms u+s /usr/bin/${PN} |
89 |
fi |
90 |
} |
91 |
|
92 |
pkg_postinst() { |
93 |
- einfo |
94 |
- einfo " ${PN} won't work with vga16fb. You have to use other native" |
95 |
- einfo " framebuffer drivers or vesa driver." |
96 |
- einfo " See ${EPREFIX}/usr/share/doc/${P}/README for details." |
97 |
- einfo " To use ${PN}, ensure you are in video group." |
98 |
- einfo " To input CJK merge app-i18n/fbterm-ucimf" |
99 |
- einfo |
100 |
+ elog "${PN} won't work with vga16fb. You have to use other native" |
101 |
+ elog "framebuffer drivers or vesa driver." |
102 |
+ elog "See ${EPREFIX}/usr/share/doc/${P}/README for details." |
103 |
+ elog |
104 |
+ elog "To use ${PN}, ensure you are in video group." |
105 |
} |
106 |
|
107 |
diff --git a/app-i18n/fbterm/metadata.xml b/app-i18n/fbterm/metadata.xml |
108 |
index c921b96adf6..165c6df0ed2 100644 |
109 |
--- a/app-i18n/fbterm/metadata.xml |
110 |
+++ b/app-i18n/fbterm/metadata.xml |
111 |
@@ -1,8 +1,11 @@ |
112 |
<?xml version="1.0" encoding="UTF-8"?> |
113 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
114 |
<pkgmetadata> |
115 |
-<maintainer type="project"> |
116 |
- <email>cjk@g.o</email> |
117 |
- <name>Cjk</name> |
118 |
-</maintainer> |
119 |
+ <maintainer type="project"> |
120 |
+ <email>cjk@g.o</email> |
121 |
+ <name>Cjk</name> |
122 |
+ </maintainer> |
123 |
+ <upstream> |
124 |
+ <remote-id type="google-code">fbterm</remote-id> |
125 |
+ </upstream> |
126 |
</pkgmetadata> |