diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-01-06 09:07:50 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-01-06 09:07:50 +0000 |
commit | a9b0a08772b7c321b21bef023d08d769cd869746 (patch) | |
tree | bcf8f92164713249ccb28a11ae769a437f8e7a65 /dev-dotnet/gtk-sharp | |
parent | Add java herd to metadata.xml (diff) | |
download | gentoo-2-a9b0a08772b7c321b21bef023d08d769cd869746.tar.gz gentoo-2-a9b0a08772b7c321b21bef023d08d769cd869746.tar.bz2 gentoo-2-a9b0a08772b7c321b21bef023d08d769cd869746.zip |
Reinstate 2.8.2 since latest stable of art-sharp gconf-sharp and gnomevfs-sharp needs it.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-dotnet/gtk-sharp')
-rw-r--r-- | dev-dotnet/gtk-sharp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-dotnet/gtk-sharp/gtk-sharp-2.8.2.ebuild | 75 |
2 files changed, 81 insertions, 1 deletions
diff --git a/dev-dotnet/gtk-sharp/ChangeLog b/dev-dotnet/gtk-sharp/ChangeLog index ba3c229f01a3..0abdf5a06d47 100644 --- a/dev-dotnet/gtk-sharp/ChangeLog +++ b/dev-dotnet/gtk-sharp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-dotnet/gtk-sharp # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/ChangeLog,v 1.89 2009/01/05 18:06:18 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/ChangeLog,v 1.90 2009/01/06 09:07:50 loki_val Exp $ + + 06 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> + +gtk-sharp-2.8.2.ebuild: + Reinstate 2.8.2 since latest stable of art-sharp gconf-sharp and + gnomevfs-sharp needs it. 05 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> -gtk-sharp-2.8.2.ebuild: diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.8.2.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.8.2.ebuild new file mode 100644 index 000000000000..2294f5dbb0ac --- /dev/null +++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.8.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2009 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.8.2.ebuild,v 1.13 2009/01/06 09:07:50 loki_val Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils mono autotools + +DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries" +SRC_URI="http://go-mono.com/sources/${PN}-2.8/${P}.tar.gz + mirror://gentoo/${P}-configurable.diff.gz" +HOMEPAGE="http://gtk-sharp.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="2" +IUSE="doc" +RESTRICT="test" + +RDEPEND=">=dev-lang/mono-1.1.13.2 + dev-perl/XML-LibXML + >=x11-libs/gtk+-2.8 + >=gnome-base/orbit-2.8.3" + +DEPEND="${RDEPEND} + doc? ( >=virtual/monodoc-1.1.8 ) + dev-util/pkgconfig" + +KEYWORDS="amd64 ppc x86" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${WORKDIR}/${P}-configurable.diff" + + # fixes support with pkgconfig-0.17, bug #92503 + # as well as remove zapping of CFLAGS + sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' \ + -e ':^CFLAGS=:d' \ + "${S}/configure.in" + + # Use correct libdir in pkgconfig files + sed -i -e 's:^libdir.*:libdir=@libdir@:' \ + "${S}"/*/{,GConf}/*.pc.in || die "sed failed" + + # Fix install data hook (bug #161093) + sed -i -e 's/^install-hook/install-data-hook/' \ + "${S}"/sample/gconf/Makefile.am || die "sed failed" + + eautoreconf + + # disable building of samples (#16015) + sed -i -e "s:sample::" Makefile.in +} + +src_compile() { + + local myconf="" + # These are the same as from gtk-sharp-component.eclass + for package in art glade gnome gnomevfs gtkhtml rsvg vte + do + myconf="${myconf} --disable-${package}" + done + + econf ${myconf} || die "./configure failed" + LANG=C emake -j1 || die +} + +src_install () { + make GACUTIL_FLAGS="/root "${D}"/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}-2.0" \ + DESTDIR="${D}" install || die + + dodoc README* ChangeLog +} |