summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-24 01:53:22 +0100
committerSam James <sam@gentoo.org>2022-07-24 01:59:34 +0100
commit25e07a27aaf7f0eda2d1ec0b9f4c0b889e19643f (patch)
tree0c89b2e54c09d85e0bf4c9429c9fd329e5588805 /dev-haskell/x11
parentx11-wm/xmonad-contrib: add 0.17.0 (diff)
downloadgentoo-25e07a27aaf7f0eda2d1ec0b9f4c0b889e19643f.tar.gz
gentoo-25e07a27aaf7f0eda2d1ec0b9f4c0b889e19643f.tar.bz2
gentoo-25e07a27aaf7f0eda2d1ec0b9f4c0b889e19643f.zip
dev-haskell/x11: add 1.10
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/x11')
-rw-r--r--dev-haskell/x11/Manifest1
-rw-r--r--dev-haskell/x11/metadata.xml6
-rw-r--r--dev-haskell/x11/x11-1.10-r1.ebuild38
3 files changed, 39 insertions, 6 deletions
diff --git a/dev-haskell/x11/Manifest b/dev-haskell/x11/Manifest
index a3548cf32d93..9875a838ab0a 100644
--- a/dev-haskell/x11/Manifest
+++ b/dev-haskell/x11/Manifest
@@ -1 +1,2 @@
+DIST X11-1.10.tar.gz 192493 BLAKE2B 7c951eaf3a009302b2b7d3a9aeb866b908e99f60b408aaae75375e0fbdd12254c283ad27a0e2354cc0c6be745fa507c0bf64a763c548037a640eb8927923246e SHA512 7976a151edf9a54e4278f65903ec6b177211f8209039c4e2747abddd9ed86db51a6e65c5359297443b5ade513d9ca8e452cff033d9d0261f3fb027113765bb89
DIST X11-1.9.2.tar.gz 190757 BLAKE2B cae5bd1e689bec914d612f59070ab5da3f604d33991ba885d83257337ca6d53089374e427f8bcfee2dd7504687b49b830ac98ab5947021c6c2d6e500123203ec SHA512 e9658c33b6dcbb6a42f1cc4a8976365506af94ddc15c32f73205b453934ef3232f3b383f8365b6aa6e69b51acfda4a0f3a8038f3164523b33781139a80582a41
diff --git a/dev-haskell/x11/metadata.xml b/dev-haskell/x11/metadata.xml
index a52b5e84e878..937381521944 100644
--- a/dev-haskell/x11/metadata.xml
+++ b/dev-haskell/x11/metadata.xml
@@ -5,10 +5,4 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</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 \"The Xlib Programming Manual\", available online at
- &lt;http://tronche.com/gui/x/xlib/&gt;.
- </longdescription>
</pkgmetadata>
diff --git a/dev-haskell/x11/x11-1.10-r1.ebuild b/dev-haskell/x11/x11-1.10-r1.ebuild
new file mode 100644
index 000000000000..a9792bfb0016
--- /dev/null
+++ b/dev-haskell/x11/x11-1.10-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.9999
+#hackport: flags:-pedantic
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="X11"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="A binding to the X11 graphics library"
+HOMEPAGE="https://github.com/xmonad/X11"
+SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+# remember to add libXScrnSaver manually on bumps, or src_configure will fail.
+RDEPEND=">=dev-haskell/data-default-class-0.1:=[profile?] <dev-haskell/data-default-class-0.2:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-pedantic
+}