blob: d3cbb71c0c58cc743f831b4f722dcc83b56bca12 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
DESCRIPTION="A gesture-recognition application for X11"
HOMEPAGE="http://easystroke.wiki.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
COMMON_DEPEND="dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-cpp/cairomm
dev-libs/boost
dev-libs/dbus-glib
dev-libs/libsigc++:2
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXtst"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
sys-apps/help2man
x11-libs/libXfixes"
RDEPEND="${COMMON_DEPEND}
x11-misc/xdg-utils"
src_prepare() {
sed -i -e 's/install -Ds/install -D/' \
-e 's/^LDFLAGS/#LDFLAGS/' \
Makefile || die
sed -i -e \
"s:^Icon=${PN}:Icon=${EPREFIX}/usr/share/icons/hicolor/scalable/apps/${PN}.svg:" \
${PN}.desktop.in || die
}
src_compile() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr/"
emake man
}
src_install() {
doman ${PN}.1
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}
|