summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-scheme/gauche-gtk/ChangeLog7
-rw-r--r--dev-scheme/gauche-gtk/Manifest2
-rw-r--r--dev-scheme/gauche-gtk/files/digest-gauche-gtk-0.4.11
-rw-r--r--dev-scheme/gauche-gtk/gauche-gtk-0.4.1.ebuild94
4 files changed, 103 insertions, 1 deletions
diff --git a/dev-scheme/gauche-gtk/ChangeLog b/dev-scheme/gauche-gtk/ChangeLog
index 378df17acca9..39eda6991d9a 100644
--- a/dev-scheme/gauche-gtk/ChangeLog
+++ b/dev-scheme/gauche-gtk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/gauche-gtk
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gtk/ChangeLog,v 1.2 2004/07/11 09:05:38 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gtk/ChangeLog,v 1.3 2004/07/18 13:07:41 hattya Exp $
+
+*gauche-gtk-0.4.1 (18 Jul 2004)
+
+ 18 Jul 2004; Akinori Hattori <hattya@gentoo.org> +gauche-gtk-0.4.1.ebuild:
+ version bump.
11 Jul 2004; Akinori Hattori <hattya@gentoo.org> gauche-gtk-0.3.1.ebuild,
gauche-gtk-0.3.2.ebuild, gauche-gtk-0.4.ebuild:
diff --git a/dev-scheme/gauche-gtk/Manifest b/dev-scheme/gauche-gtk/Manifest
index bcd3178a9ec5..138bf373a7a1 100644
--- a/dev-scheme/gauche-gtk/Manifest
+++ b/dev-scheme/gauche-gtk/Manifest
@@ -1,8 +1,10 @@
MD5 833abfa1c64182201112c3de364946c3 ChangeLog 1822
MD5 1a12aa5f62d81b0854b76fe3b476e196 gauche-gtk-0.3.1.ebuild 1344
MD5 ed154fbdf457ba458bec1cb8e0b7fbf4 gauche-gtk-0.3.2.ebuild 1323
+MD5 ee56afd22abea30eb9aedb5827241528 gauche-gtk-0.4.1.ebuild 1570
MD5 a7a65acb19e65e9491dd6d01285482c9 gauche-gtk-0.4.ebuild 1674
MD5 e4a585426caa56a65128b6504cab7d4d metadata.xml 312
MD5 bd8bbfa0aae1a2c053ecfca70fdcd682 files/digest-gauche-gtk-0.3.1 65
MD5 923c01868e508cefb39569847a3a0ecf files/digest-gauche-gtk-0.3.2 65
MD5 c00557c3f8ab697553606421240cab68 files/digest-gauche-gtk-0.4 63
+MD5 9ddaabebaa15b0092351bc8b0775726b files/digest-gauche-gtk-0.4.1 65
diff --git a/dev-scheme/gauche-gtk/files/digest-gauche-gtk-0.4.1 b/dev-scheme/gauche-gtk/files/digest-gauche-gtk-0.4.1
new file mode 100644
index 000000000000..92895dc34aec
--- /dev/null
+++ b/dev-scheme/gauche-gtk/files/digest-gauche-gtk-0.4.1
@@ -0,0 +1 @@
+MD5 18356efab446b9524be8371a3b852a6a Gauche-gtk-0.4.1.tgz 324945
diff --git a/dev-scheme/gauche-gtk/gauche-gtk-0.4.1.ebuild b/dev-scheme/gauche-gtk/gauche-gtk-0.4.1.ebuild
new file mode 100644
index 000000000000..8c4c1a0cf49c
--- /dev/null
+++ b/dev-scheme/gauche-gtk/gauche-gtk-0.4.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gtk/gauche-gtk-0.4.1.ebuild,v 1.1 2004/07/18 13:07:41 hattya Exp $
+
+inherit eutils flag-o-matic
+
+IUSE="glgd nls opengl"
+
+MY_P="${P/g/G}"
+
+DESCRIPTION="GTK2 binding for Gauche"
+HOMEPAGE="http://gauche.sf.net/"
+SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz"
+
+RESTRICT="nomirror"
+LICENSE="BSD"
+KEYWORDS="~x86"
+SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+RDEPEND=">=x11-libs/gtk+-2*
+ >=dev-lang/gauche-0.7.4.1
+ opengl? ( >=x11-libs/gtkglext-0.6.0 )"
+
+src_compile() {
+
+ local myconf myflags
+
+ if use opengl; then
+ if use glgd; then
+ myconf="--enable-glgd"
+
+ if use nls; then
+ myconf="${myconf}-pango"
+ fi
+ else
+ myconf="--enable-gtkgl"
+ fi
+ fi
+
+ strip-flags
+
+ myflags=${CFLAGS}
+ unset CFLAGS CXXFLAGS
+
+ econf ${myconf} || die
+ emake OPTFLAGS="${myflags}" || die
+
+}
+
+src_install() {
+
+ dodir $(gauche-config --syslibdir)
+ dodir $(gauche-config --sysincdir)
+ dodir $(gauche-config --sysarchdir)
+
+ make DESTDIR=${D} install || die
+
+ dodoc ChangeLog README COPYING
+
+
+ docinto examples
+ for f in examples/*; do
+ [ -f ${f} ] && dodoc ${f}
+ done
+
+ docinto examples/gtk-tutorial
+ dodoc examples/gtk-tutorial/*
+
+ if use opengl; then
+ docinto examples/gtkglext
+ dodoc examples/gtkglext/*
+
+ if use glgd; then
+ docinto examples/glgd
+ dodoc examples/glgd/*
+
+ docinto
+ newdoc glgd/README README.glgd
+ newdoc glgd/README.eucjp README.eucjp.glgd
+ fi
+ fi
+
+}
+
+pkg_postinst() {
+
+ if use opengl; then
+ einfo "If you want to use OpenGL with Gauche, please emerge Gauche-gl."
+ fi
+
+}