summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-12-14 22:24:30 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-12-14 22:53:43 +0000
commit48fdeac8cd7dde0ea2b7353a212e37905b5161c6 (patch)
tree4bc9c0c03f670170f63496276cf007cbb7d59861 /dev-haskell/glut
parentdev-haskell/gnuidn: bump up to 0.2.2-r1 (diff)
downloadgentoo-48fdeac8cd7dde0ea2b7353a212e37905b5161c6.tar.gz
gentoo-48fdeac8cd7dde0ea2b7353a212e37905b5161c6.tar.bz2
gentoo-48fdeac8cd7dde0ea2b7353a212e37905b5161c6.zip
dev-haskell/glut: bump up to 2.7.0.15
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/glut')
-rw-r--r--dev-haskell/glut/Manifest1
-rw-r--r--dev-haskell/glut/glut-2.7.0.15.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-haskell/glut/Manifest b/dev-haskell/glut/Manifest
index cd0c53c6ba42..08cd0f8fe9c4 100644
--- a/dev-haskell/glut/Manifest
+++ b/dev-haskell/glut/Manifest
@@ -1,2 +1,3 @@
DIST GLUT-2.5.1.1.tar.gz 655292 BLAKE2B 49347d5ffdb887388cd862902bd548dfdb1a4a024d98f0a5de64cd2e6cb7cf7021956ee170439d6cea145c65a5f3ebf9f4e9f2b6e7e38f10be3cb92c276fc8f4 SHA512 79895fea8b49178a93f59efa094a9eca26d23c2bb4b07902d83c8403e8c45c3a10a1961177bfc272339be279d012a0e8ff273881bcc54128fc40ff11f5f8bdd9
DIST GLUT-2.7.0.11.tar.gz 656855 BLAKE2B cb45b6207a2af626c251d8c3abe64fbf295db5f7c396cb99bedb6326ed9a16e416c5e8de1f402926edf0109f52e79be1a7c7087adb388f27e07394e53b6e95c3 SHA512 aa9977f2d2141dc4fbc38915ffe8bfd6cf5a5c93502d3b813a41195556ada91644774869a6daa33f44964c517370e006830578b9b1b5cb59b7b49abedb1dcc66
+DIST GLUT-2.7.0.15.tar.gz 654907 BLAKE2B c955d2942ffa2ac8d8370726cc32a67772dba2e343f2ad0a10e24134ae9bf5762bb108292e17275db3665572379bbaab55f605b79973bf90b066818934501aeb SHA512 d4ee183f7a9600e86ddea7783e3236ab33510217b6c1e815fb46936e95db851ea35c6b504142595779665b74912fcc312cbee8462e4719e78e9d5c99913692de
diff --git a/dev-haskell/glut/glut-2.7.0.15.ebuild b/dev-haskell/glut/glut-2.7.0.15.ebuild
new file mode 100644
index 000000000000..a02bf667d8b7
--- /dev/null
+++ b/dev-haskell/glut/glut-2.7.0.15.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.9999
+#hackport: flags: -usenativewindowslibraries,buildexamples:examples
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="GLUT"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding for the OpenGL Utility Toolkit"
+HOMEPAGE="http://www.haskell.org/haskellwiki/Opengl"
+SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND=">=dev-haskell/opengl-2.12:=[profile?] <dev-haskell/opengl-3.1:=[profile?]
+ >=dev-haskell/statevar-1.1:=[profile?] <dev-haskell/statevar-1.3:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+ examples? ( >=dev-haskell/openglraw-1.0:=[profile?] <dev-haskell/openglraw-3.4:=[profile?]
+ >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.2:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag examples buildexamples) \
+ --flag=-usenativewindowslibraries
+}