Gentoo Archives: gentoo-commits

From: "Lennart Kolmodin (kolmodin)" <kolmodin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/gtk2hs: ChangeLog gtk2hs-0.10.1.ebuild
Date: Sun, 30 Aug 2009 04:41:52
Message-Id: E1Mhh3i-00054q-EZ@stork.gentoo.org
1 kolmodin 09/08/30 09:50:50
2
3 Modified: ChangeLog
4 Added: gtk2hs-0.10.1.ebuild
5 Log:
6 Version bump dev-haskell/gtk2hs.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 dev-haskell/gtk2hs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/gtk2hs/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/gtk2hs/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/gtk2hs/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 7 Apr 2009 10:50:56 -0000 1.51
23 +++ ChangeLog 30 Aug 2009 09:50:50 -0000 1.52
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-haskell/gtk2hs
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.51 2009/04/07 10:50:56 fauli Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.52 2009/08/30 09:50:50 kolmodin Exp $
30 +
31 +*gtk2hs-0.10.1 (30 Aug 2009)
32 +
33 + 30 Aug 2009; Lennart Kolmodin <kolmodin@g.o> +gtk2hs-0.10.1.ebuild:
34 + Version bump. Supports ghc 6.10.
35
36 07 Apr 2009; Christian Faulhammer <fauli@g.o> gtk2hs-0.9.11.ebuild,
37 gtk2hs-0.9.12.ebuild, gtk2hs-0.9.12.1.ebuild:
38
39
40
41 1.1 dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gtk2hs-0.10.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild,v 1.1 2009/08/30 09:50:50 kolmodin Exp $
51
52 EAPI="2"
53
54 inherit base eutils ghc-package multilib toolchain-funcs versionator
55
56 DESCRIPTION="A GUI Library for Haskell based on Gtk+"
57 HOMEPAGE="http://haskell.org/gtk2hs/"
58
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63
64 KEYWORDS="~amd64 ~sparc ~ppc ~x86"
65
66 IUSE="doc profile glade gnome opengl svg seamonkey xulrunner"
67
68 RDEPEND=">=dev-lang/ghc-6.6
69 dev-haskell/mtl
70 x11-libs/gtk+:2
71 glade? ( gnome-base/libglade )
72 gnome? ( gnome-base/libglade
73 >=x11-libs/gtksourceview-2.2
74 gnome-base/gconf )
75 svg? ( gnome-base/librsvg )
76 opengl? ( x11-libs/gtkglext )
77 xulrunner? ( =net-libs/xulrunner-1.8* )
78 seamonkey? ( =www-client/seamonkey-1* )"
79
80 DEPEND="${RDEPEND}
81 doc? ( >=dev-haskell/haddock-2.4.1 )
82 dev-util/pkgconfig"
83
84 MY_P="${P/%_rc*}"
85
86 S="${WORKDIR}/${MY_P}"
87
88 src_configure() {
89 econf \
90 --enable-gtk \
91 --enable-packager-mode \
92 $(version_is_at_least "4.2" "$(gcc-version)" && \
93 echo --disable-split-objs) \
94 $(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \
95 $(use glade || use gnome && echo --enable-libglade) \
96 $(use_enable gnome gconf) \
97 $(use_enable gnome gtksourceview2) \
98 $(use_enable svg svg) \
99 $(use_enable opengl opengl) \
100 --disable-firefox \
101 $(use_enable seamonkey seamonkey) \
102 $(use_enable xulrunner xulrunner) \
103 $(use_enable doc docs) \
104 $(use_enable profile profiling) \
105 || die "Configure failed"
106 }
107
108 src_compile() {
109 emake -j1 || die "emake failed"
110 }
111
112 src_install() {
113
114 make install \
115 DESTDIR="${D}" \
116 htmldir="/usr/share/doc/${PF}/html" \
117 haddockifacedir="/usr/share/doc/${PF}" \
118 || die "Make install failed"
119
120 # arrange for the packages to be registered
121 ghc-setup-pkg \
122 "${D}/usr/$(get_libdir)/gtk2hs/glib.package.conf" \
123 $(has_version '>=x11-libs/gtk+-2.8' && echo \
124 "${D}/usr/$(get_libdir)/gtk2hs/cairo.package.conf") \
125 "${D}/usr/$(get_libdir)/gtk2hs/gtk.package.conf" \
126 "${D}/usr/$(get_libdir)/gtk2hs/soegtk.package.conf" \
127 $(use glade || use gnome && echo \
128 "${D}/usr/$(get_libdir)/gtk2hs/glade.package.conf") \
129 $(use gnome && echo \
130 "${D}/usr/$(get_libdir)/gtk2hs/gconf.package.conf" \
131 "${D}/usr/$(get_libdir)/gtk2hs/gtksourceview2.package.conf" ) \
132 $(use svg && echo \
133 "${D}/usr/$(get_libdir)/gtk2hs/svgcairo.package.conf") \
134 $(use opengl && echo \
135 "${D}/usr/$(get_libdir)/gtk2hs/gtkglext.package.conf") \
136 $(use seamonkey || use xulrunner && echo \
137 "${D}/usr/$(get_libdir)/gtk2hs/mozembed.package.conf")
138 ghc-install-pkg
139 }