diff options
author | Akinori Hattori <hattya@gentoo.org> | 2004-03-28 09:19:13 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2004-03-28 09:19:13 +0000 |
commit | 2cccfe0da1fb79b218fdcbefe22aacd68cb10abd (patch) | |
tree | 7287c84e8c23eb501e072918f585780091dd8236 /dev-lisp/gauche-gtk | |
parent | clean old version (Manifest recommit) (diff) | |
download | gentoo-2-2cccfe0da1fb79b218fdcbefe22aacd68cb10abd.tar.gz gentoo-2-2cccfe0da1fb79b218fdcbefe22aacd68cb10abd.tar.bz2 gentoo-2-2cccfe0da1fb79b218fdcbefe22aacd68cb10abd.zip |
version bump.
Diffstat (limited to 'dev-lisp/gauche-gtk')
-rw-r--r-- | dev-lisp/gauche-gtk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/Manifest | 2 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.4 | 1 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/gauche-gtk-0.4.ebuild | 94 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/metadata.xml | 15 |
5 files changed, 110 insertions, 9 deletions
diff --git a/dev-lisp/gauche-gtk/ChangeLog b/dev-lisp/gauche-gtk/ChangeLog index 1ee43fb96aae..798045b1342d 100644 --- a/dev-lisp/gauche-gtk/ChangeLog +++ b/dev-lisp/gauche-gtk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lisp/gauche-gtk # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/ChangeLog,v 1.6 2004/02/21 15:29:19 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/ChangeLog,v 1.7 2004/03/28 09:19:13 hattya Exp $ + +*gauche-gtk-0.4 (28 Mar 2004) + + 28 Mar 2004; Akinori Hattori <hattya@gentoo.org> gauche-gtk-0.4.ebuild: + version bump. 22 Feb 2004; Akinori Hattori <hattya@gentoo.org> gauche-gtk-0.3.ebuild, files/gauche-gtk-0.3-gentoo.diff: diff --git a/dev-lisp/gauche-gtk/Manifest b/dev-lisp/gauche-gtk/Manifest index 6cd7f3b95ffe..6110adf26178 100644 --- a/dev-lisp/gauche-gtk/Manifest +++ b/dev-lisp/gauche-gtk/Manifest @@ -1,6 +1,8 @@ MD5 c7aae167497b7d77705c84539efda7dc ChangeLog 1206 MD5 213ed45fdcf5bace86678365685187b5 gauche-gtk-0.3.1.ebuild 1351 MD5 ed8b43f328912a019e69087d4fe0907b gauche-gtk-0.3.2.ebuild 1330 +MD5 08af35a7da1293ff1f0bdb96f81f3133 gauche-gtk-0.4.ebuild 1578 MD5 fe33b3aedb27a1cb1214b0752d90a2a3 metadata.xml 325 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 diff --git a/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.4 b/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.4 new file mode 100644 index 000000000000..7962827cef50 --- /dev/null +++ b/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.4 @@ -0,0 +1 @@ +MD5 97efd5b663b683234b8e9986d823596d Gauche-gtk-0.4.tgz 324019 diff --git a/dev-lisp/gauche-gtk/gauche-gtk-0.4.ebuild b/dev-lisp/gauche-gtk/gauche-gtk-0.4.ebuild new file mode 100644 index 000000000000..bd4af2730ffe --- /dev/null +++ b/dev-lisp/gauche-gtk/gauche-gtk-0.4.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/gauche-gtk-0.4.ebuild,v 1.1 2004/03/28 09:19:13 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-lisp/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 + +} diff --git a/dev-lisp/gauche-gtk/metadata.xml b/dev-lisp/gauche-gtk/metadata.xml index dff10be16e8c..5022c328fa80 100644 --- a/dev-lisp/gauche-gtk/metadata.xml +++ b/dev-lisp/gauche-gtk/metadata.xml @@ -1,13 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> -<maintainer> - <email>hattya@gentoo.org</email> - <name>Akinori Hattori</name> -</maintainer> + <herd>no-herd</herd> + <maintainer> + <email>hattya@gentoo.org</email> + </maintainer> -<longdescription> -Gauche extension module to use GTK. -</longdescription> + <longdescription> + Gauche extension module to use GTK. + </longdescription> </pkgmetadata> |