summaryrefslogtreecommitdiff
path: root/dev-haskell/opengl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/opengl
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/opengl')
-rw-r--r--dev-haskell/opengl/Manifest17
-rw-r--r--dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch29
-rw-r--r--dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch13
-rw-r--r--dev-haskell/opengl/metadata.xml19
-rw-r--r--dev-haskell/opengl/opengl-2.12.0.1.ebuild35
-rw-r--r--dev-haskell/opengl/opengl-2.2.1.1.ebuild28
-rw-r--r--dev-haskell/opengl/opengl-2.5.0.0.ebuild32
-rw-r--r--dev-haskell/opengl/opengl-2.6.0.1.ebuild32
-rw-r--r--dev-haskell/opengl/opengl-2.8.0.0.ebuild29
-rw-r--r--dev-haskell/opengl/opengl-2.9.2.0.ebuild36
-rw-r--r--dev-haskell/opengl/opengl-3.0.1.0.ebuild35
11 files changed, 305 insertions, 0 deletions
diff --git a/dev-haskell/opengl/Manifest b/dev-haskell/opengl/Manifest
new file mode 100644
index 000000000000..2c118590de34
--- /dev/null
+++ b/dev-haskell/opengl/Manifest
@@ -0,0 +1,17 @@
+AUX opengl-2.2.1.1-ghc-7.4.patch 1209 BLAKE2B e8b6cd8d35cba6ff61fcddf1087a3993df0a81f9775d71552010efbc90b66bf80c294a2282c708ec711e8ee7dbbb3f1db6f38f00de01bfac5ad1cf30f43af1d7 SHA512 0e774a69cba5d99e6362ff2e36a94b212e96ea95de7817b3d6cf15e383d4de4e9cb9ab5c7fbd07e33951e4b6b1a67c7e6f0512c4cd41fe92ab722f1d76ea47e1
+AUX opengl-2.9.2.0-ghc-7.10.patch 538 BLAKE2B 1d532d8a36627c389a10d341c7f887d71c2f97b9e101caf40da87c2e1ee319c8bcd57b9d6c97e99583ca52d1a82a58a37af42316bc141b5fad1b1b4638f1528a SHA512 df64e2277c053b9404369ba6def4b474bb49302947405558b3a49ae054a5416a7f28c858e51e3457d2fd90e28af74aeb08424afe3a7389ef381ca4e3b321ee53
+DIST OpenGL-2.12.0.1.tar.gz 125419 BLAKE2B f6cb30335f783d9474d112159fef0d7af744c3bef54580485e1df77d58f625d4ba9a6c46120c1dc5d96fa98c89f34a6e63e91909f0f5dd1f7626460ad3f55612 SHA512 58c21efade5a8e10a78a61eaee35986e61581e3ef898f657e3f4c0479e0e35f60772bfa489bf49dfdbf3c395826df513f3f116278fb400d568babed1061e4765
+DIST OpenGL-2.2.1.1.tar.gz 176695 BLAKE2B 5816950e5ca853c1891136e8124d9cec51d901b68ea00c8558d136d1140afe7d200aa8d5cae7a335a9dc5099d8c7436c803927ed5b4b6ebbe5680bf4f886c6eb SHA512 24184a839123c10f228e79ef0bdf5c69b440065828e9b87a820f80c8bcd5a03c4ea179b8aab186e29b1bc435028d9f453dd8e6c22302751f4cc8c93e37742d85
+DIST OpenGL-2.5.0.0.tar.gz 105010 BLAKE2B 454d7f67424a1f9b5aa35dca17c54ffb5e2e67215776c51e0949c9bbe6c93b91ca0b8a925fbffaadeb47e4e2e36c0b8ae1c14ec3a9296f68373bfab3819a6031 SHA512 020a9c8615f636b2d9394f245581a324cdee7341604799552a1a65c56a0d44d419593d4058de46156dd8bae03293f6848e4dc47bbe321a1cdcb2994cb587928e
+DIST OpenGL-2.6.0.1.tar.gz 119962 BLAKE2B 6a67dde2a8b7ce83bf30ed14d669ba55440028a7b3ee93934a86c97ba220c0e64fecf13147790465645fe4eff16a2c2068996bbf2ebf34d54fc43753ba165d8a SHA512 ac7d09e71bffb58fd80736c7bd3b1e4cfbe1b4ca9ad40502c12132cfbc4e8dd1a446500548ab32f19288032ec533feea9d9e1c5db1078ae84ce798d9cd05b7f6
+DIST OpenGL-2.8.0.0.tar.gz 123107 BLAKE2B 56663621a2e3c121080ede51ca6685821758b05f843ee5994902bc6ad5b9263cdcdcfeced6ebc355c4cd29e5dec43f7f4697bcc4ac00f59e80ac24a88c1aaf6c SHA512 ff39f9ddd997b93cabd54a837f2f1a8739a72ad882151801ae10300f0301716283a443071c996b6a928af5f1fecc53b09d92bb2074ad6684a783e96abe622429
+DIST OpenGL-2.9.2.0.tar.gz 122514 BLAKE2B f6d4e40b2b49dcbf542e7ec8e437d5b69834b593d0584ac512dffde97478b5e2f66d94c96129c910d428e1c7311319a0c751b48d52402fc90993407545bd124a SHA512 1abb31033fe57056a0a3d00308910033d25d800f3da9ee4ecfd43bf25d8a392d6344463f3173da432a35ab3bbe5b5964c2aa5b0de5252e4f274025fd8d0dd0e9
+DIST OpenGL-3.0.1.0.tar.gz 129993 BLAKE2B b47ac84c84ef891c0663d26b286e17b1b444ef0f05cd15ebeaf67a2469f26a745d3dee5e998b1d996ad23942ff43ed54ef82acd3f80440193a7a5e3c9628b5df SHA512 ce6d7a15b4a7d43ed0a8896a36dc890057b67472ca9b8c96143df9b5936ae3fdfc49a7dec4cff4d76407d76420ae60e606a4747a8ecc995141c82291433a1cdd
+EBUILD opengl-2.12.0.1.ebuild 1099 BLAKE2B da1760056af0103ea37b12bb789b9ccc24b1bd797af998ba2eb086bb761117792ed4f90532b79ff876772ae4ce4c8a5713a60fd991551b50e6a43f33dfe7ac10 SHA512 8173c21ef635da0d0caa115826d7f727e4ab6b70c7da37a8680814d9acd8ebfce8614c4e6c5dd0d70b8216e118ff874d0346193d64c7eb13eb61bf813920f4bf
+EBUILD opengl-2.2.1.1.ebuild 574 BLAKE2B 0bdf9494534b61e2c3bd90bad012cc94d107364abc0e3763f4a8ee15e51eb3a1de23bbc665201f49d85fda763be77bb8f57d14aa818be0818303cb7fe8f0ba2c SHA512 aed7b0ecbd3e5d1fe0b4415ffa090e0facbb7b4227bd977e2b51154b002bfc35914052eb4571700ee6ae848195ea432be4fbf9e36d1182c89cd3aeb04772eb69
+EBUILD opengl-2.5.0.0.ebuild 822 BLAKE2B 2fd8251433c936bf262d65ee173611245dc847d21523d6b66af09a6c259078d6cf07ee06a8f4081af7d9d80d35f7e927fd8bc7e43c6b4a0cb9cb952f49ef70c5 SHA512 aafcc755202ca7d6b67d56ac48b50362f79156c6de69f62d50e7c3d77de19b3c79f4f132ddac4ee281ee2c77d41fbcba9232517cade6f0522524cbc049958af3
+EBUILD opengl-2.6.0.1.ebuild 838 BLAKE2B 386e7d6ab89752b18e42f380268ec8a448f70dc72090eb37828717843172c5c71f5d5ecc5d77753ba2b183e45702f2feed41fa2b92ee5c374b60a9bf248ddfcc SHA512 bd6588d6753cbccc9ee4b4cc13ce1d90e13263449f3344beefc5778ab1f4a7e72a1bc8e458acea797465ece6e227c73a94f42dce07d9fb57c65e075175ffc7f5
+EBUILD opengl-2.8.0.0.ebuild 715 BLAKE2B 3fbd1b615d4d27d907103a7ee6f9906316339953e13e2c8e88fb2c267b4e8a318ebcb65a8a322189f954cf15a7e58ba44fbafd157cb976e203079484d6354d1a SHA512 51e9bb66912af0c554be323ef2c47d80c2c3bb8f3568def96ba04d3fb1f4f2771f6a1cf809b5de2a060a8e560016b4634fabeb5efa8c6564d433b08968aec51e
+EBUILD opengl-2.9.2.0.ebuild 809 BLAKE2B ba59a4d88b6249eb325c91767ffe1a1f88a8a5d760426b268e6448ff5f8bcd0f7773faebb829184e05dc8079d43e6712f684f492ce618e9c32a85bb356a0ec2e SHA512 b7fbf36c581b6ba02aab52a4d82f9f599468c0e37b9f123e47750c6dafd415d8f77f37880a30a632e785725fc11245d7cb8656d4846f1dc94d136580d959d704
+EBUILD opengl-3.0.1.0.ebuild 1090 BLAKE2B fa3caa67c174caef454f608b62e974c4f18c75b372657c69ec9391ee0610b204204de14cb17d653fb50dd5d45e424f80109f0558a29d87ce794db8fa05ac831f SHA512 c25a869ecdeaf5642ed8d4035039be09e00210eae2cc6164c3fa3be8aae04618accadfd5381fc3f0aa00d1cd6d0e7fea18e1608f3f35023ad6fc9389cd74589b
+MISC metadata.xml 814 BLAKE2B 1fd42b44c7f720c6afed3556f087a57102dab18d4348b7b5e8c0665f9e52da441df52ca34a0c6236777918055777baf6baabfbf366c28803ed27b6bba482b767 SHA512 f56f0537d0df2c6fcd18812b99705d09a565031e909403ada47835ac343aa80b4045124c92226bdba6d0b779d8ff9ba04f21f3fc57eaf080c82f7b1aa301f64f
diff --git a/dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch b/dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch
new file mode 100644
index 000000000000..772b17539523
--- /dev/null
+++ b/dev-haskell/opengl/files/opengl-2.2.1.1-ghc-7.4.patch
@@ -0,0 +1,29 @@
+Fix build failure against ghc-7.4
+
+[ 4 of 84] Compiling Graphics.Rendering.OpenGL.GL.GLboolean ( Graphics/Rendering/OpenGL/GL/GLboolean.hs, dist/build/Graphics/Rendering/OpenGL/GL/GLboolean.o )
+
+Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:23:
+ Could not deduce (Eq a) arising from a use of `/='
+ from the context (Num a)
+ bound by the type signature for
+ unmarshalGLboolean :: Num a => a -> Bool
+ at Graphics/Rendering/OpenGL/GL/GLboolean.hs:27:1-27
+ Possible fix:
+ add (Eq a) to the context of
+ the type signature for unmarshalGLboolean :: Num a => a -> Bool
+ In the expression: (/= 0)
+ In an equation for `unmarshalGLboolean':
+ unmarshalGLboolean = (/= 0)
+
+Reported-by: Christian Lask
+diff --git a/Graphics/Rendering/OpenGL/GL/GLboolean.hs b/Graphics/Rendering/OpenGL/GL/GLboolean.hs
+index cab7356..cc4faa8 100644
+--- a/Graphics/Rendering/OpenGL/GL/GLboolean.hs
++++ b/Graphics/Rendering/OpenGL/GL/GLboolean.hs
+@@ -23,5 +23,5 @@ marshalGLboolean :: Num a => Bool -> a
+ marshalGLboolean False = 0
+ marshalGLboolean True = 1
+
+-unmarshalGLboolean :: Num a => a -> Bool
++unmarshalGLboolean :: (Eq a, Num a) => a -> Bool
+ unmarshalGLboolean = (/= 0)
diff --git a/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch b/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch
new file mode 100644
index 000000000000..02967bf16502
--- /dev/null
+++ b/dev-haskell/opengl/files/opengl-2.9.2.0-ghc-7.10.patch
@@ -0,0 +1,13 @@
+diff --git a/Graphics/Rendering/OpenGL/GL/IOState.hs b/Graphics/Rendering/OpenGL/GL/IOState.hs
+index 6fbc144..2c2a42d 100644
+--- a/Graphics/Rendering/OpenGL/GL/IOState.hs
++++ b/Graphics/Rendering/OpenGL/GL/IOState.hs
+@@ -21 +21,2 @@ module Graphics.Rendering.OpenGL.GL.IOState (
+-import Control.Monad(replicateM)
++import Control.Applicative
++import Control.Monad(replicateM,ap)
+@@ -31,0 +33,4 @@ instance Functor (IOState s) where
++instance Applicative (IOState s) where
++ pure = return
++ (<*>) = ap -- defined in Control.Monad
++
diff --git a/dev-haskell/opengl/metadata.xml b/dev-haskell/opengl/metadata.xml
new file mode 100644
index 000000000000..cbb3b5a94e2c
--- /dev/null
+++ b/dev-haskell/opengl/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ A Haskell binding for the OpenGL graphics system (GL, version 3.2) and its
+ accompanying utility library (GLU, version 1.3).
+
+ OpenGL is the industry's most widely used and supported 2D and 3D graphics
+ application programming interface (API), incorporating a broad set of
+ rendering, texture mapping, special effects, and other powerful visualization
+ functions. For more information about OpenGL and its various extensions,
+ please see &lt;http://www.opengl.org/&gt;
+ and &lt;http://www.opengl.org/registry/&gt;.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/opengl/opengl-2.12.0.1.ebuild b/dev-haskell/opengl/opengl-2.12.0.1.ebuild
new file mode 100644
index 000000000000..2941e0cb625c
--- /dev/null
+++ b/dev-haskell/opengl/opengl-2.12.0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="OpenGL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL graphics system"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/gluraw-1.3:=[profile?] <dev-haskell/gluraw-1.6:=[profile?]
+ >=dev-haskell/objectname-1.1:=[profile?] <dev-haskell/objectname-1.2:=[profile?]
+ >=dev-haskell/openglraw-2.1:=[profile?] <dev-haskell/openglraw-2.6:=[profile?]
+ >=dev-haskell/statevar-1.1:=[profile?] <dev-haskell/statevar-1.2:=[profile?]
+ >=dev-haskell/text-0.1:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/opengl/opengl-2.2.1.1.ebuild b/dev-haskell/opengl/opengl-2.2.1.1.ebuild
new file mode 100644
index 000000000000..448ed8d4ae24
--- /dev/null
+++ b/dev-haskell/opengl/opengl-2.2.1.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+CABAL_FEATURES="lib profile haddock"
+inherit base haskell-cabal
+
+MY_PN=OpenGL
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="OpenGL bindings for haskell"
+HOMEPAGE="http://haskell.org/ghc/"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 sparc x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ghc-6.4
+ virtual/opengl
+ virtual/glu
+ media-libs/freeglut"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=("${FILESDIR}/${P}-ghc-7.4.patch")
diff --git a/dev-haskell/opengl/opengl-2.5.0.0.ebuild b/dev-haskell/opengl/opengl-2.5.0.0.ebuild
new file mode 100644
index 000000000000..5c9520759895
--- /dev/null
+++ b/dev-haskell/opengl/opengl-2.5.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+# ebuild generated by hackport 0.2.18.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="OpenGL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL graphics system"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/gluraw-1.1.0.0[profile?]
+ =dev-haskell/objectname-1.0*[profile?]
+ >=dev-haskell/openglraw-1.1.0.0[profile?]
+ =dev-haskell/statevar-1.0*[profile?]
+ =dev-haskell/tensor-1.0*[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/opengl/opengl-2.6.0.1.ebuild b/dev-haskell/opengl/opengl-2.6.0.1.ebuild
new file mode 100644
index 000000000000..62b589aa2668
--- /dev/null
+++ b/dev-haskell/opengl/opengl-2.6.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="OpenGL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL graphics system"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/gluraw-1.1.0.0:=[profile?]
+ =dev-haskell/objectname-1.0*:=[profile?]
+ >=dev-haskell/openglraw-1.3.0.0:=[profile?]
+ =dev-haskell/statevar-1.0*:=[profile?]
+ =dev-haskell/tensor-1.0*:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/opengl/opengl-2.8.0.0.ebuild b/dev-haskell/opengl/opengl-2.8.0.0.ebuild
new file mode 100644
index 000000000000..f077bb46112c
--- /dev/null
+++ b/dev-haskell/opengl/opengl-2.8.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="OpenGL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL graphics system"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/gluraw-1.1.0.0:=[profile?]
+ >=dev-haskell/openglraw-1.3.0.0:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/opengl/opengl-2.9.2.0.ebuild b/dev-haskell/opengl/opengl-2.9.2.0.ebuild
new file mode 100644
index 000000000000..5e6eb84881bb
--- /dev/null
+++ b/dev-haskell/opengl/opengl-2.9.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit eutils haskell-cabal
+
+MY_PN="OpenGL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL graphics system"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/gluraw-1.3.0.0:=[profile?]
+ >=dev-haskell/openglraw-1.4.1.0:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ghc-7.10.patch
+}
diff --git a/dev-haskell/opengl/opengl-3.0.1.0.ebuild b/dev-haskell/opengl/opengl-3.0.1.0.ebuild
new file mode 100644
index 000000000000..12c842a4843c
--- /dev/null
+++ b/dev-haskell/opengl/opengl-3.0.1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="OpenGL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL graphics system"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/gluraw-2.0:=[profile?] <dev-haskell/gluraw-2.1:=[profile?]
+ >=dev-haskell/objectname-1.1:=[profile?] <dev-haskell/objectname-1.2:=[profile?]
+ >=dev-haskell/openglraw-3.0:=[profile?] <dev-haskell/openglraw-3.3:=[profile?]
+ >=dev-haskell/statevar-1.1:=[profile?] <dev-haskell/statevar-1.2:=[profile?]
+ >=dev-haskell/text-0.1:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.6:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+S="${WORKDIR}/${MY_P}"