Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 220657 | Differences between
and this patch

Collapse All | Expand All

(-)workrave-1.8.4.ebuild (-7 / +5 lines)
Lines 4-14 Link Here
4
4
5
inherit eutils gnome2
5
inherit eutils gnome2
6
6
7
DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
7
DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
8
HOMEPAGE="http://workrave.sourceforge.net/"
8
HOMEPAGE="http://workrave.sourceforge.net/"
9
SRC_URI="mirror://sourceforge/${PN}/${P}-2.tar.gz"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~amd64 ~ppc ~x86"
13
KEYWORDS="~amd64 ~ppc ~x86"
14
IUSE="arts dbus distribution gnome kde nls xml"
14
IUSE="arts dbus distribution gnome kde nls xml"
Lines 30-40 Link Here
30
		>=sys-apps/dbus-0.92
30
		>=sys-apps/dbus-0.92
31
		dev-libs/dbus-glib )
31
		dev-libs/dbus-glib )
32
	xml? ( dev-libs/gdome2 )
32
	xml? ( dev-libs/gdome2 )
33
	kde? (
33
	kde? (
34
		=x11-libs/qt-3*
34
		=x11-libs/qt-3*
35
		kde-base/kdelibs )
35
		=kde-base/kdelibs-3* )
36
	arts? ( kde-base/arts )
36
	arts? ( kde-base/arts )
37
37
38
	x11-libs/libX11
38
	x11-libs/libX11
39
	x11-libs/libXt
39
	x11-libs/libXt
40
	x11-libs/libXmu"
40
	x11-libs/libXmu"
Lines 64-80 Link Here
64
64
65
src_unpack() {
65
src_unpack() {
66
	gnome2_src_unpack
66
	gnome2_src_unpack
67
67
68
	# Removes a few broken macros. See bug #86939.
68
	# Removes a few broken macros. See bug #86939.
69
	epatch "${FILESDIR}/${P}-nls_macros.patch"
69
	epatch "${FILESDIR}/${PN}-1.8.4-nls_macros.patch"
70
70
71
	# Fix compilation with USE=-gnome
71
	epatch "${FILESDIR}/${P}-gcc43.patch"
72
	epatch "${FILESDIR}/${P}-no_gnome.patch"
72
	epatch "${FILESDIR}/${P}-libsigc++-2.2.2.patch"
73
73
74
	# File missing from the tarball
75
	cp "${FILESDIR}"/org.workrave.Workrave.service.in ${S}/backend/src
76
}
74
}
77
75
78
src_compile() {
76
src_compile() {
79
	if use kde; then
77
	if use kde; then
80
		addwrite "/usr/qt/3/etc/settings"
78
		addwrite "/usr/qt/3/etc/settings"

Return to bug 220657