summaryrefslogtreecommitdiff
path: root/dev-tcltk/togl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/togl')
-rw-r--r--dev-tcltk/togl/Manifest1
-rw-r--r--dev-tcltk/togl/togl-2.0-r3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-tcltk/togl/Manifest b/dev-tcltk/togl/Manifest
index d13446e37b2c..bd0fd4cd42c1 100644
--- a/dev-tcltk/togl/Manifest
+++ b/dev-tcltk/togl/Manifest
@@ -1,3 +1,4 @@
DIST Togl2.0-src.tar.gz 244968 BLAKE2B f094fb4bba7049470d7f61a2748d4a5baaf47c99c766d96ef8061e254673acf7f2a11555e202ec01f5d6b7a00ae7c275a33981fba5df7f1478f69da17f3180b8 SHA512 2be3062baada848d96b2802582bc5590b215f2ab4dc02c91761e72af2bf8c0ba768a71a2ffb8107bca83b63b7d1321ee83de19b97f83b1c2f0962f9288948b0a
EBUILD togl-2.0-r2.ebuild 849 BLAKE2B 2bf947c321a43e5c5588cb15189a26933ad7b259460d7c960371e9cad6d28596882a022aa29b71c7b557a0afc2323a3d075bfee88b6504567bf3a66c0770c148 SHA512 e85525fef7a244aa71c0108929611b6d6428da7e1b5fe80c0a0f956acaab587693431264f526b78a073bff7db284f223cb179d8579ce5cd8569c49454636a37d
+EBUILD togl-2.0-r3.ebuild 838 BLAKE2B 68b22a10a38d4141bf395497e0febd66af783a52d36034c93c2a13f0e5ebd64eb5791e20b6980aca5121db74644c4eaa8410e08f65492f9d0a09bd5554a82c22 SHA512 8af377b2cab489eb0e82b3bf7dfc624962e6e20135aacfe9372e151f34d9471904ffa572620e8d1df04e2fd2ba23fa9c7883df6c962b9ddb4eee8520de7a7fb8
MISC metadata.xml 1191 BLAKE2B c421c6f81a32e715643716995a0c336166f1892c46f663bbcd4f910f2c208f9e5249e2820b9df10e22c76111d27bec7d61e4d405ebb9193a9c44166aed58c52b SHA512 890b9b1bb4b9ae4255e9fa24efb01e3f109a8e7675055ef9166a71d9ec1624494d2e5115cf3d8f074f400f805a61a3409558a8f21d544f91e4d8775fb2f3c5ef
diff --git a/dev-tcltk/togl/togl-2.0-r3.ebuild b/dev-tcltk/togl/togl-2.0-r3.ebuild
new file mode 100644
index 000000000000..5791c04242e4
--- /dev/null
+++ b/dev-tcltk/togl/togl-2.0-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-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() {
+ default
+ 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() {
+ HTML_DOCS=( doc/* )
+ default
+}