summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Berman <tberman@gentoo.org>2004-02-02 07:00:15 +0000
committerTodd Berman <tberman@gentoo.org>2004-02-02 07:00:15 +0000
commita97bd1a342eef7ddc29780f9052911dbda3816ee (patch)
treee34f3658a35e16b2547ebe5b46bc2cf5bacfa7cb /x11-libs/gtk-sharp
parent=media-libs/faad2-2.0_rc3-r1 Bug #38001 (diff)
downloadhistorical-a97bd1a342eef7ddc29780f9052911dbda3816ee.tar.gz
historical-a97bd1a342eef7ddc29780f9052911dbda3816ee.tar.bz2
historical-a97bd1a342eef7ddc29780f9052911dbda3816ee.zip
bring this package up to speed
Diffstat (limited to 'x11-libs/gtk-sharp')
-rw-r--r--x11-libs/gtk-sharp/ChangeLog10
-rw-r--r--x11-libs/gtk-sharp/Manifest18
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.101
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.121
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.131
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.151
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.81
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.91
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.10.ebuild77
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.13.ebuild73
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild8
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.15.ebuild (renamed from x11-libs/gtk-sharp/gtk-sharp-0.12.ebuild)15
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.8.ebuild80
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild83
14 files changed, 26 insertions, 344 deletions
diff --git a/x11-libs/gtk-sharp/ChangeLog b/x11-libs/gtk-sharp/ChangeLog
index a40dd0c941e9..78bfed319fc1 100644
--- a/x11-libs/gtk-sharp/ChangeLog
+++ b/x11-libs/gtk-sharp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/gtk-sharp
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/ChangeLog,v 1.11 2003/12/06 04:03:20 tberman Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/ChangeLog,v 1.12 2004/02/02 07:00:15 tberman Exp $
+
+ 01 Feb 2004; Todd Berman <tberman@gentoo.org> gtk-sharp-0.10.ebuild,
+ gtk-sharp-0.12.ebuild, gtk-sharp-0.13.ebuild, gtk-sharp-0.14.ebuild,
+ gtk-sharp-0.8.ebuild, gtk-sharp-0.9.ebuild:
+ Removing cruft, apply patch from #38123, marking 0.14 stable, putting 0.15 in
+ ~x86
*gtk-sharp-0.14 (05 Dec 2003)
diff --git a/x11-libs/gtk-sharp/Manifest b/x11-libs/gtk-sharp/Manifest
index c01309630509..569fc6fca997 100644
--- a/x11-libs/gtk-sharp/Manifest
+++ b/x11-libs/gtk-sharp/Manifest
@@ -1,14 +1,6 @@
-MD5 00bc5f0b3cf5dbd493513b528d436303 gtk-sharp-0.12.ebuild 2008
-MD5 b48599370d9ef1441f9521ece0be5758 gtk-sharp-0.9.ebuild 2276
-MD5 f0626900297a172f5c9c9d52b84543d4 files/digest-gtk-sharp-0.8 65
-MD5 1e3d4aa7c5e60923accd3939cafb18f0 files/digest-gtk-sharp-0.9 65
-MD5 05cf1c80398c13d25625b18ab8e039ea files/digest-gtk-sharp-0.10 66
-MD5 211fb14a07f0df8f756195ab991d5159 files/digest-gtk-sharp-0.12 67
-MD5 ad9345e9cad53f10b2130153e5ab7ea0 files/digest-gtk-sharp-0.13 67
-MD5 0403f9561207a3443e87cefa73bf5c45 files/digest-gtk-sharp-0.14 67
-MD5 6aee35595963dd5667624c58912f0f41 gtk-sharp-0.14.ebuild 2058
-MD5 fae23f004298b2ee2b118bfbea1db468 gtk-sharp-0.8.ebuild 2020
-MD5 e36f56f32e3943537b5c9d464591cbee gtk-sharp-0.13.ebuild 2008
-MD5 45b5efb0b80a703d33cc8f3b16e08ce5 gtk-sharp-0.10.ebuild 2071
-MD5 fa6a9c0bc023a0494dd4c59a50c7e640 ChangeLog 2599
+MD5 1dcc8a963709bd5d6bc69b9a8edb1b2c ChangeLog 2875
+MD5 c1fdcfe2a12ae4b0bc108163fd8a06bc gtk-sharp-0.14.ebuild 2100
+MD5 b531d04c8f430bebab3546dc52caefac gtk-sharp-0.15.ebuild 2101
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
+MD5 0403f9561207a3443e87cefa73bf5c45 files/digest-gtk-sharp-0.14 67
+MD5 a072574483505627ee20291fea1fe06d files/digest-gtk-sharp-0.15 67
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.10 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.10
deleted file mode 100644
index d5a6c09e6e83..000000000000
--- a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2117bb4aa53c25de5ba85279fdaf2ba4 gtk-sharp-0.10.tar.gz 868224
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.12 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.12
deleted file mode 100644
index 322111298870..000000000000
--- a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dcd6ec83a6ca926d853607e5581aabfd gtk-sharp-0.12.tar.gz 1228778
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.13 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.13
deleted file mode 100644
index adc2043bc04e..000000000000
--- a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.13
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ae8dbad80306bc704648756652d63947 gtk-sharp-0.13.tar.gz 1351404
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.15 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.15
new file mode 100644
index 000000000000..28015bfad491
--- /dev/null
+++ b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.15
@@ -0,0 +1 @@
+MD5 f61b6da79cb66a87fa80cf0bd6831aaa gtk-sharp-0.15.tar.gz 1383852
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.8 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.8
deleted file mode 100644
index 378597d98ccf..000000000000
--- a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0f796f788159b008ee8a7f656dedf363 gtk-sharp-0.8.tar.gz 770890
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.9 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.9
deleted file mode 100644
index 17e9b5556604..000000000000
--- a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 46c44338f81e16f8d0155276d6dfed0b gtk-sharp-0.9.tar.gz 858662
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.10.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.10.ebuild
deleted file mode 100644
index a670f75c7f3b..000000000000
--- a/x11-libs/gtk-sharp/gtk-sharp-0.10.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.10.ebuild,v 1.5 2003/09/07 00:23:27 msterret 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 mono
-
-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-2.1"
-SLOT="0"
-IUSE="gnome gnomedb libgda"
-
-RDEPEND=">=dev-dotnet/mono-0.24
- >=x11-libs/gtk+-2
- >=gnome-base/libglade-2
- gnome? ( >=gnome-base/libgnomecanvas-2
- >=gnome-base/libgnomeui-2 )
- libgda? ( >=gnome-extra/libgda-0.11 )
- gnomedb? ( >=gnome-extra/libgnomedb-0.11 )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-KEYWORDS="~x86 -ppc"
-
-src_unpack() {
- unpack ${A}
-
- # disable building of samples (#16015)
- cd ${S}
-# mv Makefile.in Makefile.in.old
-# sed -e "s:sample::" Makefile.in.old > Makefile.in
-
- # patch gst-sharp stuff
- # epatch ${FILESDIR}/${P}-gst_sharp.patch
-}
-
-src_compile() {
- # configure switches do not work
-
- # disable samples
- ./autogen.sh
-
- econf || die "./configure failed"
-
- MAKEOPTS="-j1" MONO_PATH=${S} 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
-
- # one of the samples require gconf schemas, and it'll violate sandbox
- GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" einstall || die
-
- # gst-sharp install
- # cd ${S}/gst/
- # make install || die "Gst-sharp install failed"
-
- dodoc HACKING README* ChangeLog
-}
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.13.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.13.ebuild
deleted file mode 100644
index f1b3afb94055..000000000000
--- a/x11-libs/gtk-sharp/gtk-sharp-0.13.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.13.ebuild,v 1.1 2003/11/14 19:52:46 tberman 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 mono
-
-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-2.1"
-SLOT="0"
-IUSE="gnome gnomedb libgda"
-
-RDEPEND=">=dev-dotnet/mono-0.24
- >=x11-libs/gtk+-2.2
- >=gnome-base/libglade-2
- gnome? ( >=gnome-base/libgnomecanvas-2.2
- >=gnome-base/libgnomeui-2.2 )
- libgda? ( >=gnome-extra/libgda-0.11 )
- gnomedb? ( >=gnome-extra/libgnomedb-0.11 )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-KEYWORDS="~x86 -ppc"
-
-src_unpack() {
- unpack ${A}
-
- # disable building of samples (#16015)
- cd ${S}
-# mv Makefile.in Makefile.in.old
-# sed -e "s:sample::" Makefile.in.old > Makefile.in
-
- # patch gst-sharp stuff
- # epatch ${FILESDIR}/${P}-gst_sharp.patch
-}
-
-src_compile() {
-
- econf || die "./configure failed"
-
- MAKEOPTS="-j1" MONO_PATH=${S} 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
-
- # one of the samples require gconf schemas, and it'll violate sandbox
- GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" einstall || die
-
- # gst-sharp install
- # cd ${S}/gst/
- # make install || die "Gst-sharp install failed"
-
- dodoc HACKING README* ChangeLog
-}
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild
index 52c6674fde90..e3df4d6c7d97 100644
--- a/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild
+++ b/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild,v 1.1 2003/12/06 04:03:20 tberman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.14.ebuild,v 1.2 2004/02/02 07:00:15 tberman Exp $
# WARNING
# All gst-sharp hacks done in this build are nonfunctional
@@ -31,7 +31,7 @@ RDEPEND=">=dev-dotnet/mono-0.24
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-KEYWORDS="~x86 -ppc"
+KEYWORDS="x86 -ppc"
src_unpack() {
unpack ${A}
@@ -61,7 +61,7 @@ src_compile() {
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
+ for i in $(find . -iname Makefile); do cp $i ${i}.orig; sed -e "s:${DESTDIR}/usr:${D}/usr:" -e "${D}/usr/bin:${DESTDIR}/usr/bin:" < $i.orig > $i; done
# one of the samples require gconf schemas, and it'll violate sandbox
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" einstall || die
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.12.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.15.ebuild
index f1d41c9a238e..3492e66f14f8 100644
--- a/x11-libs/gtk-sharp/gtk-sharp-0.12.ebuild
+++ b/x11-libs/gtk-sharp/gtk-sharp-0.15.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.12.ebuild,v 1.2 2003/11/04 20:32:40 tberman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.15.ebuild,v 1.1 2004/02/02 07:00:15 tberman Exp $
# WARNING
# All gst-sharp hacks done in this build are nonfunctional
@@ -17,7 +17,7 @@ HOMEPAGE="http://gtk-sharp.sourceforge.net/"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="gnome gnomedb libgda"
+IUSE="gnome gnomedb libgda gtkhtml"
RDEPEND=">=dev-dotnet/mono-0.24
>=x11-libs/gtk+-2.2
@@ -25,7 +25,8 @@ RDEPEND=">=dev-dotnet/mono-0.24
gnome? ( >=gnome-base/libgnomecanvas-2.2
>=gnome-base/libgnomeui-2.2 )
libgda? ( >=gnome-extra/libgda-0.11 )
- gnomedb? ( >=gnome-extra/libgnomedb-0.11 )"
+ gnomedb? ( >=gnome-extra/libgnomedb-0.11 )
+ gtkhtml? ( >=gnome-extra/libgtkhtml-3* )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
@@ -37,8 +38,8 @@ src_unpack() {
# disable building of samples (#16015)
cd ${S}
-# mv Makefile.in Makefile.in.old
-# sed -e "s:sample::" Makefile.in.old > Makefile.in
+ mv Makefile.in Makefile.in.old
+ sed -e "s:sample::" Makefile.in.old > Makefile.in
# patch gst-sharp stuff
# epatch ${FILESDIR}/${P}-gst_sharp.patch
@@ -60,7 +61,7 @@ src_compile() {
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
+ for i in $(find . -iname Makefile); do cp $i ${i}.orig; sed -e "s:${DESTDIR}/usr:${D}/usr:" -e "s:${D}/usr/bin:${DESTDIR}/usr/bin:" < $i.orig > $i; done
# one of the samples require gconf schemas, and it'll violate sandbox
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" einstall || die
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.8.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.8.ebuild
deleted file mode 100644
index 6beacb62f900..000000000000
--- a/x11-libs/gtk-sharp/gtk-sharp-0.8.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.8.ebuild,v 1.4 2003/07/25 13:14:11 tberman 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 mono
-
-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-2.1"
-SLOT="0"
-IUSE="gnome"
-
-RDEPEND=">=dev-dotnet/mono-0.16
- >=x11-libs/gtk+-2
- >=gnome-base/libglade-2
- gnome? ( >=gnome-base/libgnomecanvas-2
- >=gnome-base/libgnomeui-2 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-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"
-
- 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
-}
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild
deleted file mode 100644
index 9b84028e9151..000000000000
--- a/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild,v 1.5 2003/09/07 00:23:27 msterret 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 mono
-
-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-2.1"
-SLOT="0"
-IUSE="gnome gnomedb"
-
-# since mono and gtk-sharp get released together, we follow the mono version
-RDEPEND=">=dev-dotnet/mono-0.24
- >=x11-libs/gtk+-2
- >=gnome-base/libglade-2
- gnome? ( >=gnome-base/libgnomecanvas-2
- >=gnome-base/libgnomeui-2 )
- gnomedb? ( >=gnome-extra/libgnomedb-0.11 )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-KEYWORDS="~x86 -ppc"
-
-src_unpack() {
- unpack ${A}
-
- # disable building of samples (#16015)
- cd ${S}
- mv Makefile.in Makefile.in.old
- sed -e "s:sample::" Makefile.in.old > Makefile.in
- mv configure.in configure.in.old
- sed -e "s:sample/Makefile::" -e "s:sample/rsvg/Makefile::" configure.in.old > configure.in
-
- # Workaround possible upgrade problems
- cd ${S}/rsvg
- mv Makefile.in Makefile.in.old
- sed -e "s:glib-sharp:../glib/glib-sharp.dll:" Makefile.in.old > Makefile.in
-
- # patch gst-sharp stuff
- # epatch ${FILESDIR}/${P}-gst_sharp.patch
-}
-
-src_compile() {
- # configure switches do not work
-
- # disable samples
- ./autogen.sh
-
- econf || die "./configure failed"
-
- MAKEOPTS="-j1" MONO_PATH=${S} 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
-}