diff options
author | 2009-08-30 09:50:50 +0000 | |
---|---|---|
committer | 2009-08-30 09:50:50 +0000 | |
commit | 54d598d08c3f4885b91af719ba34c37b17461db8 (patch) | |
tree | f36826bce363ccea57ad23f46abf62f3397ecbc8 /dev-haskell/gtk2hs | |
parent | Fix testing. (diff) | |
download | gentoo-2-54d598d08c3f4885b91af719ba34c37b17461db8.tar.gz gentoo-2-54d598d08c3f4885b91af719ba34c37b17461db8.tar.bz2 gentoo-2-54d598d08c3f4885b91af719ba34c37b17461db8.zip |
Version bump dev-haskell/gtk2hs.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/gtk2hs')
-rw-r--r-- | dev-haskell/gtk2hs/ChangeLog | 9 | ||||
-rw-r--r-- | dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild | 92 |
2 files changed, 99 insertions, 2 deletions
diff --git a/dev-haskell/gtk2hs/ChangeLog b/dev-haskell/gtk2hs/ChangeLog index cb0e3c576f10..46f69060ba1e 100644 --- a/dev-haskell/gtk2hs/ChangeLog +++ b/dev-haskell/gtk2hs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/gtk2hs -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.51 2009/04/07 10:50:56 fauli Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.52 2009/08/30 09:50:50 kolmodin Exp $ + +*gtk2hs-0.10.1 (30 Aug 2009) + + 30 Aug 2009; Lennart Kolmodin <kolmodin@gentoo.org> +gtk2hs-0.10.1.ebuild: + Version bump. Supports ghc 6.10. 07 Apr 2009; Christian Faulhammer <fauli@gentoo.org> gtk2hs-0.9.11.ebuild, gtk2hs-0.9.12.ebuild, gtk2hs-0.9.12.1.ebuild: diff --git a/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild b/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild new file mode 100644 index 000000000000..1bcf5984ce8f --- /dev/null +++ b/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.10.1.ebuild,v 1.1 2009/08/30 09:50:50 kolmodin Exp $ + +EAPI="2" + +inherit base eutils ghc-package multilib toolchain-funcs versionator + +DESCRIPTION="A GUI Library for Haskell based on Gtk+" +HOMEPAGE="http://haskell.org/gtk2hs/" + +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" + +KEYWORDS="~amd64 ~sparc ~ppc ~x86" + +IUSE="doc profile glade gnome opengl svg seamonkey xulrunner" + +RDEPEND=">=dev-lang/ghc-6.6 + dev-haskell/mtl + x11-libs/gtk+:2 + glade? ( gnome-base/libglade ) + gnome? ( gnome-base/libglade + >=x11-libs/gtksourceview-2.2 + gnome-base/gconf ) + svg? ( gnome-base/librsvg ) + opengl? ( x11-libs/gtkglext ) + xulrunner? ( =net-libs/xulrunner-1.8* ) + seamonkey? ( =www-client/seamonkey-1* )" + +DEPEND="${RDEPEND} + doc? ( >=dev-haskell/haddock-2.4.1 ) + dev-util/pkgconfig" + +MY_P="${P/%_rc*}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + --enable-gtk \ + --enable-packager-mode \ + $(version_is_at_least "4.2" "$(gcc-version)" && \ + echo --disable-split-objs) \ + $(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \ + $(use glade || use gnome && echo --enable-libglade) \ + $(use_enable gnome gconf) \ + $(use_enable gnome gtksourceview2) \ + $(use_enable svg svg) \ + $(use_enable opengl opengl) \ + --disable-firefox \ + $(use_enable seamonkey seamonkey) \ + $(use_enable xulrunner xulrunner) \ + $(use_enable doc docs) \ + $(use_enable profile profiling) \ + || die "Configure failed" +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + + make install \ + DESTDIR="${D}" \ + htmldir="/usr/share/doc/${PF}/html" \ + haddockifacedir="/usr/share/doc/${PF}" \ + || die "Make install failed" + + # arrange for the packages to be registered + ghc-setup-pkg \ + "${D}/usr/$(get_libdir)/gtk2hs/glib.package.conf" \ + $(has_version '>=x11-libs/gtk+-2.8' && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/cairo.package.conf") \ + "${D}/usr/$(get_libdir)/gtk2hs/gtk.package.conf" \ + "${D}/usr/$(get_libdir)/gtk2hs/soegtk.package.conf" \ + $(use glade || use gnome && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/glade.package.conf") \ + $(use gnome && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/gconf.package.conf" \ + "${D}/usr/$(get_libdir)/gtk2hs/gtksourceview2.package.conf" ) \ + $(use svg && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/svgcairo.package.conf") \ + $(use opengl && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/gtkglext.package.conf") \ + $(use seamonkey || use xulrunner && echo \ + "${D}/usr/$(get_libdir)/gtk2hs/mozembed.package.conf") + ghc-install-pkg +} |