summaryrefslogtreecommitdiff
blob: b0f823bdb5c59a4ca80ab98e676f6dbaaa3c618b (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/drwright/drwright-0.17.ebuild,v 1.15 2011/03/23 07:59:18 nirbheek Exp $

EAPI="1"

inherit gnome2 flag-o-matic toolchain-funcs eutils

DESCRIPTION="A GNOME2 Applet that forces you to take regular breaks to prevent RSI."
HOMEPAGE="http://www.imendio.com/projects/drwright/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64 sparc ~ppc"
IUSE=""

RDEPEND=">=x11-libs/gtk+-2.0.4:2
	>=x11-libs/pango-1.2
	>=dev-libs/glib-2.0.3:2
	>=gnome-base/gconf-1.2:2
	>=gnome-base/libgnomeui-2
	>=gnome-base/libglade-2:2.0
	x11-libs/libXScrnSaver"

DEPEND="${RDEPEND}
	x11-proto/scrnsaverproto
	>=dev-util/pkgconfig-0.12.0"

DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"

src_unpack() {
	gnome2_src_unpack

	# get rid of strict-aliasing warnings
	sed -i -e 's/-Wall//' src/Makefile.{in,am}
	cd "${S}"
	epatch "${FILESDIR}/drwright-remowe-Werror.patch"
}