summaryrefslogtreecommitdiff
path: root/dev-tcltk/togl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tcltk/togl
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tcltk/togl')
-rw-r--r--dev-tcltk/togl/Manifest5
-rw-r--r--dev-tcltk/togl/metadata.xml31
-rw-r--r--dev-tcltk/togl/togl-2.0-r2.ebuild46
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-tcltk/togl/Manifest b/dev-tcltk/togl/Manifest
new file mode 100644
index 000000000000..3ffe3c6af17d
--- /dev/null
+++ b/dev-tcltk/togl/Manifest
@@ -0,0 +1,5 @@
+DIST Togl2.0-src.tar.gz 244968 SHA256 b7d4a90bbad3aca618d505ee99e7fd8fb04c829f63231dda2360f557ba3f7610 SHA512 2be3062baada848d96b2802582bc5590b215f2ab4dc02c91761e72af2bf8c0ba768a71a2ffb8107bca83b63b7d1321ee83de19b97f83b1c2f0962f9288948b0a WHIRLPOOL 6f4a8d69d74c499899002250b35f7dbac093035338716f9ee24b3f1d9b876ff302cb4727dadfda08f2f81dda1074a136bb8a51b335931bc97303c6c56fd155c2
+EBUILD togl-2.0-r2.ebuild 871 SHA256 e5b9c63263b41ea91e3fd7ea4cdca7b22db5bf710a630fe008939e8c37f2ebd0 SHA512 abfe4987bdb7a2f77f105386d4093bec7aa9e7f0d301ce0871a34535ca92ac9aabae37bf82ab15b1c7587710945677f0ac310b5c852d3f3c3820697165ed1a8a WHIRLPOOL 281b3151fe437fbe636efb55c165efae5201d7759e83b00a76fd4a8b2035b1b0dd5934c0e3bd0e8ce0d2b00661179cebe0a5a9f4051a7837cf69a9e28849afc0
+MISC ChangeLog 2421 SHA256 1625243f33753d754f886567ba82b5920eac7d46327b8bc2f8074b956b9b0289 SHA512 dd23778678b65bd7433b9e8b52eaacf2382771a277b92d39531644e8c5b8daacf19d07b16fdb1194a3eb6d5285d483d95c5e724311c2d03462276232cefc9c27 WHIRLPOOL fcb85e0e06917291df63219f9691216e0761acaf7e05bc03013a2d1bd17b3afc794dda744623d4af0185f0125617c45e8a1c934f3c9e3d153044d41fde22c6f4
+MISC ChangeLog-2015 3417 SHA256 f65b41abb06bf61cc6b98b96924dca7a3a839593a81c1b0b6be5941a7eaba899 SHA512 5722b18c9ba56b1f572dbb2bf3a1133c16be60df435deb27d75276566d626c20eb39a92f251d2563a82a4411d201ed4ae58e3dd91f6eea951b406790898711a9 WHIRLPOOL 63784e7b002f937bfd080a44b7b0d591777bea5488354d8b85caa32040e89762ad03af003cbf159359de5f49c4f622fb2c439130b03fac79c641765de7fdc6b3
+MISC metadata.xml 1191 SHA256 0861ace614a9db8bab705f540e66b2705a7efcb34900d1afb3c0d8d9ec6c2912 SHA512 890b9b1bb4b9ae4255e9fa24efb01e3f109a8e7675055ef9166a71d9ec1624494d2e5115cf3d8f074f400f805a61a3409558a8f21d544f91e4d8775fb2f3c5ef WHIRLPOOL 602c0cbee82be83e74067bb9ab3d9131402ad347cbac58d7197fce0c6582d737a2be737d2a6ab91cad44fc951031263b2939b1de0fe936673f22561201299cac
diff --git a/dev-tcltk/togl/metadata.xml b/dev-tcltk/togl/metadata.xml
new file mode 100644
index 000000000000..e8e075423cc0
--- /dev/null
+++ b/dev-tcltk/togl/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tcltk@gentoo.org</email>
+ <name>Gentoo Tcltk Project</name>
+ </maintainer>
+ <longdescription>
+Togl is a Tk widget for OpenGL rendering. Togl was originally based on
+OGLTK, written by Benjamin Bederson at the University of New Mexico. Togl's
+main features are:
+
+* unifies Microsoft Windows, X11 (Linux/IRIX/...), and Mac OS X Aqua support
+* support for requesting stencil, accumulation, alpha buffers, etc.
+* multiple OpenGL drawing windows
+* simple stereo rendering support
+* simple, portable font support
+* color-index mode support including color allocation functions
+* overlay plane support
+* OpenGL extension testing from Tcl
+* Tcl Extension Architecture (TEA) 3 compliant
+
+Togl does almost no OpenGL drawing itself, instead it manages OpenGL
+drawing by calling various Tcl commands (a.k.a., callback functions). Those
+commands can be C functions that call OpenGL (in)directly or another Tcl
+package (e.g., Tcl3D).
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">togl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-tcltk/togl/togl-2.0-r2.ebuild b/dev-tcltk/togl/togl-2.0-r2.ebuild
new file mode 100644
index 000000000000..58d12aadd6c7
--- /dev/null
+++ b/dev-tcltk/togl/togl-2.0-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MY_P=Togl${PV}
+
+DESCRIPTION="A Tk widget for OpenGL rendering"
+HOMEPAGE="http://togl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug +threads"
+
+RDEPEND="
+ dev-lang/tk
+ virtual/opengl
+ x11-libs/libXmu"
+DEPEND="${RDEPEND}"
+
+# tests directory is missing
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed \
+ -e 's:-fomit-frame-pointer::g' \
+ -e 's:-O2::g' \
+ -e 's:-pipe::g' \
+ -i configure || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug symbols) \
+ $(use_enable threads)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dohtml doc/*
+ dodoc README*
+}