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

Collapse All | Expand All

(-)x11-misc/cairo-dock/cairo-dock-2.0.8.2.ebuild (-13 / +16 lines)
Lines 4-19 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit autotools eutils
7
inherit eutils
8
9
MY_P=${P%.*}-${P##*.}
8
10
9
DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
11
DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
10
HOMEPAGE="http://www.cairo-dock.org"
12
HOMEPAGE="http://www.cairo-dock.org"
11
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
13
#SRC_URI="mirror://berlios/${PN}/${MY_P}.tar.bz2"
14
SRC_URI="http://launchpad.net/cairo-dock-core/2.1/2.1.1/+download/${MY_P}.tar.gz"
12
15
13
LICENSE="GPL-2"
16
LICENSE="GPL-2"
14
SLOT="0"
17
SLOT="0"
15
KEYWORDS="~amd64"
18
KEYWORDS="~amd64"
16
IUSE="glitz xcomposite"
19
IUSE="glitz nls xcomposite"
17
20
18
RDEPEND="dev-libs/dbus-glib
21
RDEPEND="dev-libs/dbus-glib
19
	dev-libs/glib:2
22
	dev-libs/glib:2
Lines 29-53 Link Here
29
		x11-libs/libXcomposite
32
		x11-libs/libXcomposite
30
		x11-libs/libXinerama
33
		x11-libs/libXinerama
31
		x11-libs/libXtst
34
		x11-libs/libXtst
32
	)
35
	)"
33
"
36
34
DEPEND="${RDEPEND}
37
DEPEND="${RDEPEND}
35
	dev-util/intltool
38
	dev-util/intltool
36
	dev-util/pkgconfig
39
	dev-util/pkgconfig
37
	sys-devel/gettext"
40
	sys-devel/gettext"
38
41
39
#FIXME: Maybe a sed expression which solves the problem
42
S="${WORKDIR}"/${MY_P}
40
# would be better ?
41
src_prepare() {
42
	epatch "${FILESDIR}/${P}-safe-cflags.patch"
43
43
44
	# Fix infinite loop while processing po/Makefile.in
44
src_prepare() {
45
	# and needed for patch above.
45
	# Hardcoded CFLAGS are bad
46
	eautoreconf
46
	sed -e '/-O3\\$/d;/-g -ggdb\\$/d' -i src/Makefile.in || \
47
		die "sedding Makefile.in failed"
48
	# Fix POTFILES.in
49
	epatch "${FILESDIR}"/${P}-POTFILES.patch
47
}
50
}
48
51
49
src_configure() {
52
src_configure() {
50
	econf $(use_enable glitz) $(use_enable xcomposite xextend)
53
	econf $(use_enable glitz) $(use_enable xcomposite xextend) $(use_enable nls)
51
}
54
}
52
55
53
src_install() {
56
src_install() {

Return to bug 295287