Lines 5-11
Link Here
|
5 |
EAPI=3 |
5 |
EAPI=3 |
6 |
inherit eutils toolchain-funcs java-pkg-opt-2 |
6 |
inherit eutils toolchain-funcs java-pkg-opt-2 |
7 |
|
7 |
|
8 |
IUSE="java tcpd server" |
8 |
IUSE="java nls tcpd server" |
9 |
|
9 |
|
10 |
S="${WORKDIR}/vnc_unixsrc" |
10 |
S="${WORKDIR}/vnc_unixsrc" |
11 |
DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." |
11 |
DESCRIPTION="A great client/server software package allowing remote network access to graphical desktops." |
Lines 18-24
KEYWORDS="alpha amd64 arm ~mips ppc sh s
Link Here
|
18 |
LICENSE="GPL-2" |
18 |
LICENSE="GPL-2" |
19 |
SLOT="0" |
19 |
SLOT="0" |
20 |
|
20 |
|
21 |
CDEPEND="media-fonts/font-misc-misc |
21 |
CDEPEND="media-fonts/font-misc-misc[nls=] |
22 |
virtual/jpeg |
22 |
virtual/jpeg |
23 |
server? ( |
23 |
server? ( |
24 |
media-fonts/font-cursor-misc |
24 |
media-fonts/font-cursor-misc |
Lines 74-79
src_prepare() {
Link Here
|
74 |
epatch "${FILESDIR}"/${PV}-sparc.patch |
74 |
epatch "${FILESDIR}"/${PV}-sparc.patch |
75 |
sed -e "s:\\(/etc/\\|/usr/share/\\):${EPREFIX}\\1:g" -i vncserver || die |
75 |
sed -e "s:\\(/etc/\\|/usr/share/\\):${EPREFIX}\\1:g" -i vncserver || die |
76 |
|
76 |
|
|
|
77 |
# when nls is not set, media-fonts/fonts-misc-misc won't provide the required default font, |
78 |
# use fixed instead |
79 |
if ! use nls; then |
80 |
epatch "${FILESDIR}/${PN}-1.3.10-fixed-font.patch" |
81 |
fi |
82 |
|
77 |
if use java; then |
83 |
if use java; then |
78 |
cd "${WORKDIR}" |
84 |
cd "${WORKDIR}" |
79 |
epatch "${FILESDIR}/${PN}-1.3.10-java-build.patch" |
85 |
epatch "${FILESDIR}/${PN}-1.3.10-java-build.patch" |