diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2004-08-08 00:41:06 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2004-08-08 00:41:06 +0000 |
commit | 3ebad7f1bb1f82806106eae8e799398885f12e8b (patch) | |
tree | 87d153e9bf3744d1b8f992782e9b5af26f9dd4e8 | |
parent | initial import (diff) | |
download | historical-3ebad7f1bb1f82806106eae8e799398885f12e8b.tar.gz historical-3ebad7f1bb1f82806106eae8e799398885f12e8b.tar.bz2 historical-3ebad7f1bb1f82806106eae8e799398885f12e8b.zip |
New ebuild as per bug 56790
-rw-r--r-- | dev-tcltk/TkZinc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tcltk/TkZinc/Manifest | 5 | ||||
-rw-r--r-- | dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild | 42 | ||||
-rw-r--r-- | dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 | 1 | ||||
-rw-r--r-- | dev-tcltk/TkZinc/files/without-opengl.patch | 13 | ||||
-rw-r--r-- | dev-tcltk/TkZinc/metadata.xml | 9 |
6 files changed, 78 insertions, 0 deletions
diff --git a/dev-tcltk/TkZinc/ChangeLog b/dev-tcltk/TkZinc/ChangeLog new file mode 100644 index 000000000000..9761cbff25c9 --- /dev/null +++ b/dev-tcltk/TkZinc/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-tcltk/TkZinc +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/TkZinc/ChangeLog,v 1.1 2004/08/08 00:41:06 cardoe Exp $ + + 07 Aug 2004; Doug Goldstein <cardoe@gentoo.org> TkZinc-3.2.100.ebuild: + New ebuild added as per request in bug #56790 + ebuild written by Ming Zhao + diff --git a/dev-tcltk/TkZinc/Manifest b/dev-tcltk/TkZinc/Manifest new file mode 100644 index 000000000000..f1939b39bf97 --- /dev/null +++ b/dev-tcltk/TkZinc/Manifest @@ -0,0 +1,5 @@ +MD5 6f4b95e5d6038367ec4a97bfd2f39053 TkZinc-3.2.100.ebuild 930 +MD5 ae7d35b0e9210b59b954696dbed0ab91 metadata.xml 260 +MD5 d25f537b32d643ed8f108c76c71d86b2 ChangeLog 357 +MD5 9afdeb5a2ecca7f53e8af3c9afd4d64f files/digest-TkZinc-3.2.100 68 +MD5 8f62e724d25db6215c67b8e00fc02785 files/without-opengl.patch 267 diff --git a/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild b/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild new file mode 100644 index 000000000000..eb631ff7c63f --- /dev/null +++ b/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/TkZinc/TkZinc-3.2.100.ebuild,v 1.1 2004/08/08 00:41:06 cardoe Exp $ + +inherit eutils + +DESCRIPTION="A Tk widget library." +HOMEPAGE="http://www.tkzinc.org" +SRC_URI="http://www.tkzinc.org/Packages/zinc-tk_${PV}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="threads opengl doc" +DEPEND=">=dev-lang/tk-8.4 + opengl? ( virtual/opengl ) + doc? ( virtual/tetex )" + +S=${WORKDIR}/Tkzinc + +src_compile() { + epatch ${FILESDIR}/without-opengl.patch + + local myconf + if use opengl ; then + myconf="--enable-gl=damage" + fi + + econf \ + `use_enable threads` \ + ${myconf} || die +# --with-tcl=/usr/lib --with-tk=/usr/lib \ + + emake || die "make failed" + use doc && make pdf +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc BUGS Copyright README + use doc && dodoc doc/refman.pdf +} diff --git a/dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 b/dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 new file mode 100644 index 000000000000..f388031a8f52 --- /dev/null +++ b/dev-tcltk/TkZinc/files/digest-TkZinc-3.2.100 @@ -0,0 +1 @@ +MD5 e7e43f79f8d67167a587ef85f5e86a76 zinc-tk_3.2.100.tar.gz 1151350 diff --git a/dev-tcltk/TkZinc/files/without-opengl.patch b/dev-tcltk/TkZinc/files/without-opengl.patch new file mode 100644 index 000000000000..870e13665e3f --- /dev/null +++ b/dev-tcltk/TkZinc/files/without-opengl.patch @@ -0,0 +1,13 @@ +--- generic/tkZinc.c~ 2004-07-30 15:16:33.000000000 +0800 ++++ generic/tkZinc.c 2004-08-06 16:29:51.553140552 +0800 +@@ -1450,7 +1450,9 @@ + wi->width, wi->height, Tk_Depth(wi->win)); + } + else { ++#ifdef GL + InitRendering1(wi); ++#endif + } + + #ifdef PTK + diff --git a/dev-tcltk/TkZinc/metadata.xml b/dev-tcltk/TkZinc/metadata.xml new file mode 100644 index 000000000000..17225ec3baf3 --- /dev/null +++ b/dev-tcltk/TkZinc/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tcltk</herd> +<maintainer> + <email>tcltk@gentoo.org</email> +<description>TCL / TK Herd</description> +</maintainer> +</pkgmetadata> |