summaryrefslogtreecommitdiff
path: root/dev-scheme/gauche-gl
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-scheme/gauche-gl
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-scheme/gauche-gl')
-rw-r--r--dev-scheme/gauche-gl/Manifest8
-rw-r--r--dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.patch25
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild46
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.6.ebuild50
-rw-r--r--dev-scheme/gauche-gl/metadata.xml16
5 files changed, 145 insertions, 0 deletions
diff --git a/dev-scheme/gauche-gl/Manifest b/dev-scheme/gauche-gl/Manifest
new file mode 100644
index 000000000000..f7854e70f0dd
--- /dev/null
+++ b/dev-scheme/gauche-gl/Manifest
@@ -0,0 +1,8 @@
+AUX gauche-gl-0.6-simple.viewer.patch 806 SHA256 904b7ac485c0ec47beb29e44607d00dce372030376dddc0bd6dc2de2a555d0e2 SHA512 ed9d08b02e7035b5415cefb501b323a86e434389149f49ec3612e00a282c5b709da2f900768749577387537189f68e2ac32320ecae118dd32ec4fed5ea40407f WHIRLPOOL 5ff182c094dcf032f72806f0108fa18c5c02580d5dd6867bb6455a8a9cefd65dca3910032e75399be39d51e06d205f98c434515ef8487cd1a62f10ea9cd955d5
+DIST Gauche-gl-0.5.1.tgz 1161233 SHA256 7f17f1d31afba83d374f31e49f025149dcec271b4d56279cd0f871b814176c68 SHA512 7b3834e46e4789f6dcd6a2e01b2d5cfc8fa29aa69c5969e8bb9d9e2af9fe4f82af23a5f13677f27e8ae7ba63855f833dfcdac6f285a0c56041d0eaef48c8a94b WHIRLPOOL ca0751304f2ec30793ca91c2f5e4c08e730621177ca852f263f3f92b4efa1d237fd8df2ce10a03184699dfab78b0274964e5fb2bc08bd8bf8ad8a6d77d8142e6
+DIST Gauche-gl-0.6.tgz 1369790 SHA256 cea07a8ff82056a980f6f626f43ab36dbf05ed8057f570bb3a4c6abf5ba6d297 SHA512 60f763ba832048f9932cabd2e8ce8595ba2a1f0b86f1212b1f6919d6b9b8ba33ed1076f119e53059ceac7f6e46a6ead3ba0e23cce81af3097355cd97b3b4b673 WHIRLPOOL d33dca7fc3641b1e50f13f14393fe4f5cf56364514b93a192c888ef68e49a34cd1fd7c98f40840aa2b51eca1c5cfeb6e1ccb177ff59369b2cab46f586cea8006
+EBUILD gauche-gl-0.5.1.ebuild 924 SHA256 b7b202be74e2bfcc68d1f29a57a8dd00d5f1f9889392d8bb6f04fdd7b8f482ce SHA512 93ceb81e8e0700f49ce69da7b4158fbe09a8a54d230f15346ade7ef4209285941d857930f4660cdad98db296403d4337840909c6f3806a2898749b1d57a45a5a WHIRLPOOL a84cc7f7bb0fc3e9964f9a539bdc7b7b1842cc1b0e986321dd254d9ed64cd86139bc2d06020665292afdbfe71fcf620bb724f3294493f885183f5f741b892de6
+EBUILD gauche-gl-0.6.ebuild 985 SHA256 2bd8e996ab5d5a693d9f98ce71ba185aed18d8975f2243f60e5e65db75b067c0 SHA512 815ea7f80fdb604b6d950be91f076bef24f2778741c748ad7a07e0f966b6ea528fbd6da0d86a0a3c35c87b84c87d5e584dd1c188635c45e4682f9d1f880ce70c WHIRLPOOL e7dd05c962578c5af7f84880b58cf5d925ec9aeb5d400271976f2940779656645b8049611d33b4d754143f1f3160fa62c51ab0c492e768d7e9965d9491b2a11c
+MISC ChangeLog 2561 SHA256 77f423a4f78fdd2a0df39c7fafa5c5e2d77fb00a06755b276514acfb563a5cf5 SHA512 7647e02511b040a55a2c6c759eedaaac83666ae09d693b02cba1c6717a7a7e08d1c3c409cc8d1a048b81da2bb6c8315670c8c5353422b93b7e60b37f65c65c60 WHIRLPOOL cf0abe349c5104d41055fc9922cbd42a9972c0fa7ac012f80539db8cef6fa366141c63fad6fcf7d18c702d8b268d23d6a3177e16ba2b7ca46d70f69dd0eb10d1
+MISC ChangeLog-2015 4565 SHA256 d33b513c6390ea4621b817c8a606197877a3125bb04a4ac892745121fb861fae SHA512 8ac88a5a6873647ccb6587c38817711baf080814b34a9f813c792a1adff71eb5d5120c0cf70adf4f8298606c6436850deb665f6d9803c183856b8713c27d1766 WHIRLPOOL 4ea1d6df4a98a7e2266bc95457b89578b49815021972b2dc3ed14071dd2c816c6d1cab59e822fc0a991dc24ad98091c8248438405baf59820f6076406fc1f964
+MISC metadata.xml 427 SHA256 932c834be005db9cb6bb7b66c548a9a4bf03cbdf98e7d97a66762e4b4b5959df SHA512 7a7bad85fc14f56fbc5c85586029dbbd42f845e0fc941e8d01280b884038a73a247dbd95143c4f77feedc207eb565434f06171c2c2eb24f699e78635f40ecd9d WHIRLPOOL 0416bdcbc106446e726c3454a85502e21eb3ede310d687f8da47105bc2a907438319d3919cd464e701049114ca0e8ae7c10f3f9accff805aec71036f4bd46e12
diff --git a/dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.patch b/dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.patch
new file mode 100644
index 000000000000..1f5cf8ecacf2
--- /dev/null
+++ b/dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.patch
@@ -0,0 +1,25 @@
+From 723309ac3e7aa031e2ebd6c9b059d94e42006de3 Mon Sep 17 00:00:00 2001
+From: Shiro Kawai <shiro@acm.org>
+Date: Sat, 9 Aug 2014 22:19:04 -1000
+Subject: [PATCH] Fix incorrect macro definition
+
+---
+ lib/gl/simple/viewer.scm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/gl/simple/viewer.scm b/lib/gl/simple/viewer.scm
+index 857b8d7..9a464ce 100644
+--- a/lib/gl/simple/viewer.scm
++++ b/lib/gl/simple/viewer.scm
+@@ -381,7 +381,7 @@
+ (match opts
+ [() (set! default3-var proc)]
+ [(':perspective) (set! default3-var proc)]
+- [(':orthographic) (set! default3-var proc)]
++ [(':orthographic) (set! default2-var proc)]
+ [(name)
+ (cond [(name->window name) => (^[win] (ref win'closure) 'key proc)]
+ [else
+--
+2.0.3
+
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
new file mode 100644
index 000000000000..1e5a2c734c05
--- /dev/null
+++ b/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P^g}"
+
+DESCRIPTION="OpenGL binding for Gauche"
+HOMEPAGE="http://practical-scheme.net/gauche/"
+SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~ppc x86"
+IUSE="cg examples"
+
+RDEPEND=">=dev-scheme/gauche-0.9.2
+ media-libs/freeglut
+ virtual/opengl
+ x11-libs/libXmu
+ cg? ( media-gfx/nvidia-cg-toolkit )"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ econf $(usex cg --enable-cg "")
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc examples/*.scm
+ # install simple
+ dodoc -r examples/simple
+ # install glbook
+ dodoc -r examples/glbook
+ dodoc -r examples/images
+ # install slbook
+ dodoc -r examples/slbook
+ # install cg examples
+ use cg && dodoc -r examples/cg
+ fi
+}
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
new file mode 100644
index 000000000000..337001f237d6
--- /dev/null
+++ b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P^g}"
+
+DESCRIPTION="OpenGL binding for Gauche"
+HOMEPAGE="http://practical-scheme.net/gauche/"
+SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cg examples"
+
+RDEPEND=">=dev-scheme/gauche-0.9.4
+ media-libs/freeglut
+ virtual/opengl
+ x11-libs/libXmu
+ cg? ( media-gfx/nvidia-cg-toolkit )"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-simple.viewer.patch
+)
+
+src_configure() {
+ econf $(usex cg --enable-cg "")
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc examples/*.scm
+ # install simple
+ dodoc -r examples/simple
+ # install glbook
+ dodoc -r examples/glbook
+ dodoc -r examples/images
+ # install slbook
+ dodoc -r examples/slbook
+ # install cg examples
+ use cg && dodoc -r examples/cg
+ fi
+}
diff --git a/dev-scheme/gauche-gl/metadata.xml b/dev-scheme/gauche-gl/metadata.xml
new file mode 100644
index 000000000000..27760741035e
--- /dev/null
+++ b/dev-scheme/gauche-gl/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hattya@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ OpenGL binding of Gauche
+ </longdescription>
+ <use>
+ <flag name="cg">Enable NVidia Cg binding</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gauche</remote-id>
+ </upstream>
+</pkgmetadata>