blob: 38885201e0e8d812e04e5dbed12ff55e81a88e50 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild,v 1.1 2008/11/26 22:23:41 loki_val Exp $
EAPI="2"
inherit eutils mono autotools
DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
HOMEPAGE="http://gtk-sharp.sourceforge.net/"
SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="+glade doc"
RDEPEND=">=dev-lang/mono-1.1.9
glade? ( >=gnome-base/libglade-2.3.6 )
>=x11-libs/gtk+-2.12
!dev-dotnet/glade-sharp"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.19
doc? ( >=dev-util/monodoc-1.1.8 )"
RESTRICT="test"
src_prepare() {
#Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno
# Upstream bug #421063
epatch "${FILESDIR}/${PN}-2.12.0-parallelmake.patch"
epatch "${FILESDIR}/${PN}-2.12.0-doc-parallelmake.patch"
# Upstream bug #443180
epatch "${FILESDIR}/${PN}-2.12.0-noautomagic.patch"
# Upstream bug #443175
sed -i -e ':^CFLAGS=:d' "${S}/configure.in"
# Upstream bug 445370
epatch "${FILESDIR}/${P}-spinbutton-api-fix.patch"
# disable building of samples (#16015)
sed -i -e "s:sample::" Makefile.am
eautoreconf
}
src_configure() {
econf $(use_enable doc monodoc) $(use_enable glade) || die "configure failed"
}
src_compile() {
LANG=C emake || die
}
src_install () {
emake DESTDIR="${D}" install || die
dodoc README* ChangeLog
}
|