Lines 3-9
Link Here
|
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
5 |
EAPI="5" |
5 |
EAPI="5" |
6 |
inherit autotools-utils |
6 |
inherit autotools-utils fcaps |
7 |
|
7 |
|
8 |
DESCRIPTION="Fast terminal emulator for the Linux framebuffer" |
8 |
DESCRIPTION="Fast terminal emulator for the Linux framebuffer" |
9 |
HOMEPAGE="https://fbterm.googlecode.com/" |
9 |
HOMEPAGE="https://fbterm.googlecode.com/" |
Lines 12-21
Link Here
|
12 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="caps gpm video_cards_vesa" |
15 |
IUSE="gpm video_cards_vesa" |
16 |
|
16 |
|
17 |
RDEPEND="caps? ( sys-libs/libcap ) |
17 |
RDEPEND="gpm? ( sys-libs/gpm ) |
18 |
gpm? ( sys-libs/gpm ) |
|
|
19 |
video_cards_vesa? ( dev-libs/libx86 ) |
18 |
video_cards_vesa? ( dev-libs/libx86 ) |
20 |
media-libs/fontconfig |
19 |
media-libs/fontconfig |
21 |
media-libs/freetype:2" |
20 |
media-libs/freetype:2" |
Lines 39-52
Link Here
|
39 |
autotools-utils_src_install |
38 |
autotools-utils_src_install |
40 |
$(type -P tic) -o "${ED}/usr/share/terminfo/" \ |
39 |
$(type -P tic) -o "${ED}/usr/share/terminfo/" \ |
41 |
"${S}"/terminfo/fbterm || die "Failed to generate terminfo database" |
40 |
"${S}"/terminfo/fbterm || die "Failed to generate terminfo database" |
42 |
if use caps; then |
41 |
use filecaps || fperms u+s /usr/bin/fbterm |
43 |
setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/fbterm |
|
|
44 |
else |
45 |
fperms u+s /usr/bin/fbterm |
46 |
fi |
47 |
} |
42 |
} |
48 |
|
43 |
|
49 |
pkg_postinst() { |
44 |
pkg_postinst() { |
|
|
45 |
fcaps "cap_sys_tty_config+ep" usr/bin/fbterm |
50 |
einfo |
46 |
einfo |
51 |
einfo " ${PN} won't work with vga16fb. You have to use other native" |
47 |
einfo " ${PN} won't work with vga16fb. You have to use other native" |
52 |
einfo " framebuffer drivers or vesa driver." |
48 |
einfo " framebuffer drivers or vesa driver." |