blob: 73de92fea6fd0e402117a80da75088593cd41094 (
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="a gesture-recognition application for X11"
HOMEPAGE="http://sourceforge.net/apps/trac/easystroke/"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-cpp/gtkmm:3.0
dev-libs/boost
dev-libs/dbus-glib
dev-libs/glib:2
x11-libs/libX11
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXtst
"
DEPEND="
${RDEPEND}
dev-util/intltool
sys-devel/gettext
"
src_prepare() {
epatch "${FILESDIR}"/${P}-cellrendertextish.patch
epatch "${FILESDIR}"/${P}-desktop.patch
epatch "${FILESDIR}"/${P}-gentoo.patch
tc-export CC CXX PKG_CONFIG
strip-linguas -i po/
local es_lingua lang
for es_lingua in $( printf "%s\n" po/*.po ); do
lang=${es_lingua/po\/}
has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
done
}
src_compile() {
emake \
AOFLAGS='' \
LDFLAGS="${LDFLAGS}" \
PREFIX=/usr
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
}
|