blob: b4be3f2c9fffc2d42e88bbe09d9ce9078b0edc42 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Temporarily adding to write2David overlay until someone official can put it in
# the sunrise or Portage tree. Bug #253783.
inherit eutils
DESCRIPTION="Easystroke is 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=""
DEPEND="dev-cpp/gtkmm
x11-libs/libXrandr
x11-apps/xinput
x11-libs/libXtst
dev-libs/boost
dev-libs/dbus-glib
dev-util/intltool"
RDEPEND="${DEPEND}"
src_compile() {
sed -i "s/^LDFLAGS/#LDFLAGS/" Makefile || die "sed Makefile failed!"
sed -i "s!^Icon=easystroke!Icon=/usr/share/icons/hicolor/scalable/apps/easystroke.svg!" easystroke.desktop.in || die "sed easystroke.desktop.in failed!"
emake DESTDIR="${D}" PREFIX="/usr/" || die "emake failed!"
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed!"
}
|