diff options
Diffstat (limited to 'dev-haskell/x11')
-rw-r--r-- | dev-haskell/x11/Manifest | 8 | ||||
-rw-r--r-- | dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch | 12 | ||||
-rw-r--r-- | dev-haskell/x11/metadata.xml | 20 | ||||
-rw-r--r-- | dev-haskell/x11/x11-1.6.1.1.ebuild | 40 | ||||
-rw-r--r-- | dev-haskell/x11/x11-1.6.1.2.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/x11/x11-1.8-r1.ebuild | 43 |
6 files changed, 164 insertions, 0 deletions
diff --git a/dev-haskell/x11/Manifest b/dev-haskell/x11/Manifest new file mode 100644 index 000000000000..ab6493a56775 --- /dev/null +++ b/dev-haskell/x11/Manifest @@ -0,0 +1,8 @@ +AUX x11-1.8-no-LDFLAGS.patch 375 BLAKE2B ffaed9994a08f5e69354235cdc08d3c7a4156a22c4528e82a2c12e92bcc8d3451d5f30a619066f553cd4a96ebfe22f75fca1284ceb37bf33b8726e72d92dad1e SHA512 10637a22e5a49cbc570d60861ad6912c886355e99033d3a31ff874681e5bd00907d929b8bbac24372766f2bab36b9ac75aee3bc1e1c72a49366be73e566273b9 +DIST X11-1.6.1.1.tar.gz 188628 BLAKE2B 8ce533c89812c1b1e5babd1025773919518f021396d67bda3cc87b0ec61b241ebe27ca40ff4ae9fca9562a73263b71b64ceda098ff809a9a688230d5a71efcde SHA512 d5f58a7ab2450e145e890187e8dc7b43e286d2a95414a605e549cbf48568ef0d89f662870b2010eecba3b8fdd2a3a57214d33fc8775426e7e23ffad727b4e144 +DIST X11-1.6.1.2.tar.gz 188612 BLAKE2B f75e16010000fc28f899a008c547d6c7b3275f17eafface70f42cc9ef0542514090fccc42b69835df48f261b70f598e8484e99f563a41156b7613b555351292e SHA512 f8d01c806f59a20ad6d6632367b80ca972ebc2df9ba65fe23338d5fa1b933049c08609d25be690d87ba6dbe9cd1ba0f5a95e491c8abaca9eaec078ca03e0e01b +DIST X11-1.8.tar.gz 191331 BLAKE2B a539da2bb0231c4749a948574b99e7fa4d30e21b94d1eaa81f1d9f79885b16d5fa60578db868cceb842e27e6b84fa6e3c7a7d1cb757d4df26dfaf2786fc2f4e6 SHA512 bb647bcc7504b3e4267d6a8a6ec73766fe62d7f5b3966bfa037742849c4a1128ea22608dd8353a6035aedc2046c53fae65c8b54f2933a4b896297159f5c2e59c +EBUILD x11-1.6.1.1.ebuild 1011 BLAKE2B 5827e64a72104a0dcb3bc20c5e0054e2280c2ebf795e78e5e222caabf9727ecc39b452f37f433e5592db40f047ec43962182a860da562830b375172b00e0b36c SHA512 7ec597be697c7719447be6491dccb6be333f4b84f3641d97eac1a8f49b488bc44c2899962946fb031bbca99e53f888b2b443129d166ffb3228576d6bce3c2bbc +EBUILD x11-1.6.1.2.ebuild 1012 BLAKE2B 043062c25b2d26feb43d0bfba33e73d750f34a39730116769d93cba3c729e38ff5ff8bc29fa1092a96d0b99ff7067227954a2c5cf24e769e465a3aa353d0a9a5 SHA512 c3c419d3fd27a563bc158ead3e7f60ea65c34c1de437ca1f40c1f4da5936f2088715c13c010577e7222aabf1017bfa287c9816d773bef909142f1ced949bc8e5 +EBUILD x11-1.8-r1.ebuild 1043 BLAKE2B e80515d79130c9b1c18504d10f8bc554e08ce42db90305c4ac947ad3c9dd1eb21fd466ace30f28875adefb43de4f4409e6712f410dca6632263a432a8f0c4db5 SHA512 7a24931d7a8a3179f629d4f49b0de4f0fbeb6aedcebd1244fbed734f856dd2038096d2fabb920c5f2d8ce701215cc619efbfb919684138610ed23877dab2f1ec +MISC metadata.xml 700 BLAKE2B 080b3aca0b33588e2b2f5b2f8d984564a6de2db86c97cf03b807a875089f30a33f246f4eac92cc91d7adea48cf63c7e07146682288a6df9d277738e999cbfe0d SHA512 73e5b575860e2f3540b0bda58b551a8688d4003451913326f4e55ec0adc35dbb42bef7da015ad00d12683be286b1b7ee611884479f618ffdfabccf3a9c0fb074 diff --git a/dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch b/dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch new file mode 100644 index 000000000000..f1d5c179036e --- /dev/null +++ b/dev-haskell/x11/files/x11-1.8-no-LDFLAGS.patch @@ -0,0 +1,12 @@ +Don't persist LDFLAGS into package database. + +https://bugs.gentoo.org/609624 +diff --git a/X11.buildinfo.in b/X11.buildinfo.in +index 6925939..6a18b58 100644 +--- a/X11.buildinfo.in ++++ b/X11.buildinfo.in +@@ -5,3 +5,3 @@ buildable: @BUILD_PACKAGE_BOOL@ + cc-options: @X_CFLAGS@ @CPPFLAGS@ +-ld-options: @X_LIBS@ @LDFLAGS@ ++ld-options: @X_LIBS@ + extra-libraries: @EXTRA_LIBRARIES@ diff --git a/dev-haskell/x11/metadata.xml b/dev-haskell/x11/metadata.xml new file mode 100644 index 000000000000..4c6b85a81825 --- /dev/null +++ b/dev-haskell/x11/metadata.xml @@ -0,0 +1,20 @@ +<?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 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 <http://tronche.com/gui/x/xlib/>. + </longdescription> + <use> + <flag name="screensaver">whether to build XScreenSaver.</flag> + </use> + <upstream> + <remote-id type="github">haskell-pkg-janitors/X11</remote-id> + </upstream> +</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..d5af84e8874b --- /dev/null +++ b/dev-haskell/x11/x11-1.6.1.1.ebuild @@ -0,0 +1,40 @@ +# 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 + +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 ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+screensaver +xinerama" + +RDEPEND="dev-haskell/data-default:=[profile?] + >=dev-lang/ghc-7.4.1:= + 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) +} diff --git a/dev-haskell/x11/x11-1.6.1.2.ebuild b/dev-haskell/x11/x11-1.6.1.2.ebuild new file mode 100644 index 000000000000..5f5e654e625d --- /dev/null +++ b/dev-haskell/x11/x11-1.6.1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 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 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 ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+screensaver +xinerama" + +RDEPEND="dev-haskell/data-default:=[profile?] + >=dev-lang/ghc-7.4.1:= + 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) +} diff --git a/dev-haskell/x11/x11-1.8-r1.ebuild b/dev-haskell/x11/x11-1.8-r1.ebuild new file mode 100644 index 000000000000..a5010fb8e286 --- /dev/null +++ b/dev-haskell/x11/x11-1.8-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.1.9999 + +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/xmonad/X11" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+screensaver +xinerama" + +RDEPEND="dev-haskell/data-default:=[profile?] + >=dev-lang/ghc-7.4.1:= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + screensaver? ( x11-libs/libXScrnSaver ) + xinerama? ( x11-libs/libXinerama ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +PATCHES=("${FILESDIR}"/${P}-no-LDFLAGS.patch) + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --configure-option=$(use_with xinerama) \ + --configure-option=$(use_with screensaver xscreensaver) +} |