summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/x11/ChangeLog8
-rw-r--r--dev-haskell/x11/metadata.xml17
-rw-r--r--dev-haskell/x11/x11-1.6.1.1.ebuild41
3 files changed, 61 insertions, 5 deletions
diff --git a/dev-haskell/x11/ChangeLog b/dev-haskell/x11/ChangeLog
index 9160a1807a5e..ece4b572bbcf 100644
--- a/dev-haskell/x11/ChangeLog
+++ b/dev-haskell/x11/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/x11
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/x11/ChangeLog,v 1.29 2013/02/09 19:07:22 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/x11/ChangeLog,v 1.30 2013/04/03 11:34:17 gienah Exp $
+
+*x11-1.6.1.1 (03 Apr 2013)
+
+ 03 Apr 2013; Mark Wright <gienah@gentoo.org> +x11-1.6.1.1.ebuild,
+ metadata.xml:
+ Bump x11 to 1.6.1.1
*x11-1.6.0.2-r1 (09 Feb 2013)
diff --git a/dev-haskell/x11/metadata.xml b/dev-haskell/x11/metadata.xml
index 8c66906af531..002d0b7f2c67 100644
--- a/dev-haskell/x11/metadata.xml
+++ b/dev-haskell/x11/metadata.xml
@@ -1,8 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>haskell</herd>
-<maintainer>
- <email>haskell@gentoo.org</email>
-</maintainer>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ A Haskell binding to the X11 graphics library.
+ The binding is a direct translation of the C binding; for
+ documentation of these calls, refer to &quot;The Xlib Programming
+ Manual&quot;, available online at &lt;http://tronche.com/gui/x/xlib/&gt;.
+ </longdescription>
+ <use>
+ <flag name="screensaver">whether to build XScreenSaver.</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-haskell/x11/x11-1.6.1.1.ebuild b/dev-haskell/x11/x11-1.6.1.1.ebuild
new file mode 100644
index 000000000000..8acc09d88aec
--- /dev/null
+++ b/dev-haskell/x11/x11-1.6.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/x11/x11-1.6.1.1.ebuild,v 1.1 2013/04/03 11:34:17 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="X11"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A binding to the X11 graphics library"
+HOMEPAGE="https://github.com/haskell-pkg-janitors/X11"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux ~ppc64 ~ppc-macos ~x86-linux"
+IUSE="+screensaver +xinerama"
+
+RDEPEND="dev-haskell/data-default:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ screensaver? ( x11-libs/libXScrnSaver )
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --configure-option=$(use_with xinerama) \
+ --configure-option=$(use_with screensaver xscreensaver)
+}