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

Collapse All | Expand All

(-)/usr/portage/dev-util/meld/meld-1.1.5.1-r1.ebuild (-53 lines)
Lines 1-53 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/meld/meld-1.1.5.1-r1.ebuild,v 1.1 2008/02/11 22:40:50 eva Exp $
4
5
inherit python gnome2 eutils multilib
6
7
DESCRIPTION="A graphical (GNOME 2) diff and merge tool"
8
HOMEPAGE="http://meld.sourceforge.net/"
9
10
LICENSE="GPL-2"
11
SLOT="0"
12
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
13
IUSE="doc gnome"
14
15
RDEPEND=">=dev-lang/python-2.3
16
	>=gnome-base/libglade-2
17
	>=gnome-base/libgnome-2
18
	>=dev-python/gnome-python-2.6.0
19
	>=dev-python/pygtk-2.6.0
20
	>=dev-python/pyorbit-1.99.0
21
	gnome? ( dev-python/gnome-python-desktop )"
22
23
DEPEND="${RDEPEND}
24
	dev-util/intltool
25
	app-text/scrollkeeper"
26
27
DOCS="AUTHORS README.CVS changelog help/"
28
29
src_unpack() {
30
	gnome2_src_unpack
31
32
	# fix the prefix so its not in */local/*
33
	sed -i -e 's:/usr/local:/usr:' INSTALL
34
	sed -i -e "s:\$(prefix)/lib:\$(prefix)/$(get_libdir):" INSTALL
35
36
	# let the python eclass handle python objects
37
	sed -i -e '/$(PYTHON) .* .import compileall;/s/\t/&#/g' GNUmakefile
38
39
	# don't run scrollkeeper (with the wrong path), leave that to gnome2.eclass #145833
40
	sed -i -e '/scrollkeeper-update/s/\t/&#/' help/*/GNUmakefile
41
}
42
43
src_compile() {
44
	emake || die "make failed"
45
}
46
47
pkg_postinst() {
48
	python_mod_optimize /usr/$(get_libdir)/meld
49
}
50
51
pkg_postrm() {
52
	python_mod_cleanup /usr/$(get_libdir)/meld
53
}

Return to bug 206453