summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-03-30 22:17:49 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-03-30 22:17:49 +0900
commit33c515b271566dc1c4e8dc55cd07888d7fd2b06c (patch)
tree8b3149353fdd55cb8894d788c943324ebce794cf /dev-scheme/gauche-gl
parentdev-scheme/gauche-gl: rename patch (diff)
downloadgentoo-33c515b271566dc1c4e8dc55cd07888d7fd2b06c.tar.gz
gentoo-33c515b271566dc1c4e8dc55cd07888d7fd2b06c.tar.bz2
gentoo-33c515b271566dc1c4e8dc55cd07888d7fd2b06c.zip
dev-scheme/gauche-gl: update to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-scheme/gauche-gl')
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild11
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.6.ebuild15
2 files changed, 10 insertions, 16 deletions
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
index 80c89c1a79e1..ac716f416c3a 100644
--- a/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
+++ b/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
@@ -1,12 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
-inherit eutils
-
-# Switch to ^g when we switch to EAPI=6.
-MY_P="G${P:1}"
+MY_P="${P^g}"
DESCRIPTION="OpenGL binding for Gauche"
HOMEPAGE="http://practical-scheme.net/gauche/"
@@ -18,8 +15,8 @@ KEYWORDS="~ppc x86"
IUSE="cg examples"
RDEPEND=">=dev-scheme/gauche-0.9.2
- virtual/opengl
media-libs/freeglut
+ virtual/opengl
cg? ( media-gfx/nvidia-cg-toolkit )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
index ab4d26ce0bd0..76e3c9939d75 100644
--- a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
+++ b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
@@ -1,12 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
-inherit eutils
-
-# Switch to ^g when we switch to EAPI=6.
-MY_P="G${P:1}"
+MY_P="${P^g}"
DESCRIPTION="OpenGL binding for Gauche"
HOMEPAGE="http://practical-scheme.net/gauche/"
@@ -18,15 +15,15 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE="cg examples"
RDEPEND=">=dev-scheme/gauche-0.9.4
- virtual/opengl
media-libs/freeglut
+ virtual/opengl
cg? ( media-gfx/nvidia-cg-toolkit )"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-simple.viewer.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-simple.viewer.patch
+)
src_configure() {
econf $(usex cg --enable-cg "")