blob: 5be3cd228d62419aae1ae94778a5e124f117a516 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils multilib toolchain-funcs
DESCRIPTION="virtual keyboard for X window system"
HOMEPAGE="http://t-sato.in.coocan.jp/xvkbd/"
SRC_URI="http://t-sato.in.coocan.jp/xvkbd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc x86"
RDEPEND="
x11-libs/libX11
x11-libs/libXaw
x11-libs/libXaw3d
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXtst
"
DEPEND="
${RDEPEND}
app-text/rman
x11-base/xorg-proto
x11-misc/gccmakedep
x11-misc/imake
"
src_prepare() {
epatch "${FILESDIR}"/${PN}-3.6-last_altgr_mask.patch
epatch_user
}
src_configure() {
xmkmf -a || die
}
src_compile() {
emake \
CC=$(tc-getCC) LD=$(tc-getCC) \
XAPPLOADDIR="/usr/share/X11/app-defaults" \
LOCAL_LDFLAGS="${LDFLAGS}" \
CDEBUGFLAGS="${CFLAGS}"
}
src_install() {
emake \
XAPPLOADDIR="/usr/share/X11/app-defaults" \
DESTDIR="${D}" \
install
rm -r "${D}"/usr/$(get_libdir) "${D}"/etc || die
dodoc README
newman ${PN}.man ${PN}.1
}
|