diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-02-24 17:25:04 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-02-24 17:25:04 +0000 |
commit | 1abe01ebbf4e3b2e3994774bc2c6f16362934e3f (patch) | |
tree | 6f999bba6977f3c0a9cb4223754a4b63120fee69 /dev-libs | |
parent | bump (diff) | |
download | gentoo-2-1abe01ebbf4e3b2e3994774bc2c6f16362934e3f.tar.gz gentoo-2-1abe01ebbf4e3b2e3994774bc2c6f16362934e3f.tar.bz2 gentoo-2-1abe01ebbf4e3b2e3994774bc2c6f16362934e3f.zip |
new version
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gtk-sharp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/gtk-sharp/files/digest-gtk-sharp-0.8 | 1 | ||||
-rw-r--r-- | dev-libs/gtk-sharp/gtk-sharp-0.8.ebuild | 80 |
3 files changed, 87 insertions, 1 deletions
diff --git a/dev-libs/gtk-sharp/ChangeLog b/dev-libs/gtk-sharp/ChangeLog index ba25d0416de4..f9a423a2603a 100644 --- a/dev-libs/gtk-sharp/ChangeLog +++ b/dev-libs/gtk-sharp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/gtk-sharp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/ChangeLog,v 1.6 2003/02/20 16:53:33 foser Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/ChangeLog,v 1.7 2003/02/24 17:25:04 foser Exp $ + +*gtk-sharp-0.8 (24 Feb 2003) + + 24 Feb 2003; foser <foser@gentoo.org> gtk-sharp-0.8.ebuild : + New version *gtk-sharp-0.7-r1 (20 Feb 2003) diff --git a/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.8 b/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.8 new file mode 100644 index 000000000000..378597d98ccf --- /dev/null +++ b/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.8 @@ -0,0 +1 @@ +MD5 0f796f788159b008ee8a7f656dedf363 gtk-sharp-0.8.tar.gz 770890 diff --git a/dev-libs/gtk-sharp/gtk-sharp-0.8.ebuild b/dev-libs/gtk-sharp/gtk-sharp-0.8.ebuild new file mode 100644 index 000000000000..bb499cf64024 --- /dev/null +++ b/dev-libs/gtk-sharp/gtk-sharp-0.8.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/gtk-sharp-0.8.ebuild,v 1.1 2003/02/24 17:25:04 foser Exp $ + +# WARNING +# All gst-sharp hacks done in this build are nonfunctional +# Do not try to use them, they don't work. Not for me, not for anybody. +# They're just here for future reference +# +# foser <foser@gentoo.org> + +inherit eutils + +DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://gtk-sharp.sourceforge.net/" + +LICENSE="LGPL" +SLOT="0" +IUSE="gnome" + +DEPEND=">=dev-lang/mono-0.16 + >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + gnome? ( >=gnome-base/libgnomecanvas-2 + >=gnome-base/libgnomeui-2 )" + +KEYWORDS="~x86 -ppc" + +src_unpack() { + unpack ${A} + + # disable building of samples (#16015) + cd ${S} + mv makefile makefile.old + sed -e "s:sample::" makefile.old > makefile + mv configure.in configure.in.old + sed -e "s:sample/Makefile::" configure.in.old > configure.in + + # patch gst-sharp stuff + # epatch ${FILESDIR}/${P}-gst_sharp.patch +} + +src_compile() { + local myconf + myconf="--enable-glade" + + use gnome \ + && myconf="${myconf} --enable-gnome" \ + || myconf="${myconf} --disable-gnome" + + # disable samples + ./autogen.sh + + econf ${myconf} || die "./configure failed" + + # mcs wants this during build + addwrite ~/.wapi + emake || die + + # gst-sharp hacks + # cd ${S}/gst/ + # epatch ${FILESDIR}/${P}-generated_fix.patch + # rm gst-sharp.dll + # make || die "Died making gst-sharp bindings" +} + +src_install () { + # Path for the installation of the libs is hardcoded in the Makefile, + # so we need to change it - Is being changed, check every release + for i in $(find . -iname Makefile); do cp $i ${i}.orig; sed "s:${DESTDIR}/usr:${D}/usr:" $i.orig > $i; done + + einstall || die + + # gst-sharp install + # cd ${S}/gst/ + # make install || die "Gst-sharp install failed" + + dodoc HACKING README* ChangeLog +} |