Permalink
Browse files

dev-haskell/gloss: allow opengl-2.8

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent 18db3f8 commit 3aedb64ba44bc97f2caeaf6b619f91d52894b561 @trofi trofi committed Mar 18, 2013
Showing with 8 additions and 2 deletions.
  1. +8 −2 dev-haskell/gloss/{gloss-1.7.8.2.ebuild → gloss-1.7.8.2-r1.ebuild}
@@ -19,15 +19,21 @@ KEYWORDS="~amd64 ~x86"
IUSE="explicitbackend glfw +glut"
RDEPEND="=dev-haskell/bmp-1.2*:=[profile?]
- =dev-haskell/glut-2.3*:=[profile?]
- =dev-haskell/opengl-2.6*:=[profile?]
+ >=dev-haskell/glut-2.3:=[profile?] <dev-haskell/glut-2.5:=[profile?]
+ >=dev-haskell/opengl-2.6:=[profile?] <dev-haskell/opengl-2.9:=[profile?]
>=dev-lang/ghc-7.6.1:=
glfw? ( <dev-haskell/glfw-b-0.2:=[profile?]
>=dev-haskell/glfw-b-0.1.0.1:=[profile?]
)"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"
+src_prepare() {
+ cabal_chdeps \
+ 'OpenGL == 2.6.*' 'OpenGL >= 2.6 && < 2.9' \
+ 'GLUT == 2.3.*' 'GLUT >= 2.3 && < 2.5'
+}
+
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag glut glut) \

0 comments on commit 3aedb64

Please sign in to comment.