From d73167973e76f1408dd41825c41860b194f7d756 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 16 Feb 2017 20:53:17 +0000 Subject: [PATCH] dev-haskell/x11: bump up to 1.8 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-haskell/x11/Manifest | 1 + dev-haskell/x11/x11-1.8.ebuild | 42 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-haskell/x11/x11-1.8.ebuild diff --git a/dev-haskell/x11/Manifest b/dev-haskell/x11/Manifest index 970af42b5728..b8706075cb99 100644 --- a/dev-haskell/x11/Manifest +++ b/dev-haskell/x11/Manifest @@ -1,2 +1,3 @@ DIST X11-1.6.1.1.tar.gz 188628 SHA256 7ce575c613786c73efb20d5680a9e572aa1f1c91c3963e285011235759b76eae SHA512 d5f58a7ab2450e145e890187e8dc7b43e286d2a95414a605e549cbf48568ef0d89f662870b2010eecba3b8fdd2a3a57214d33fc8775426e7e23ffad727b4e144 WHIRLPOOL 30027638eb419052d8497594a64fdbcb2bc6d90de95d6ae869a03ee8a1ce3d8aa8d5064c1d10636c203f5e992c6389cfde67865d402d00beb532b9bf94b9d98b DIST X11-1.6.1.2.tar.gz 188612 SHA256 5216d485f807bd53bf34fba170896a8930290a6ac28b8e611c28e751ad67f2cf SHA512 f8d01c806f59a20ad6d6632367b80ca972ebc2df9ba65fe23338d5fa1b933049c08609d25be690d87ba6dbe9cd1ba0f5a95e491c8abaca9eaec078ca03e0e01b WHIRLPOOL 03a22e04df736590336cb805e23505b9dd1c64e9bb8171af3e1b9ce82648a39b3f4f288475c680b11732af54eedf1671c17b0d5fab91bcdd7c3202198c0130e0 +DIST X11-1.8.tar.gz 191331 SHA256 541b166aab1e05a92dc8f42a511d827e7aad373af12ae283b9df9982ccc09d8e SHA512 bb647bcc7504b3e4267d6a8a6ec73766fe62d7f5b3966bfa037742849c4a1128ea22608dd8353a6035aedc2046c53fae65c8b54f2933a4b896297159f5c2e59c WHIRLPOOL 070eb79e62e3804de409b9eff9cabf4db5854a8c0a93aa5207d4c85027ef68de31313566dbc7be8b8da4226e477329c41c475638a639173f587b00b21fd3f42d diff --git a/dev-haskell/x11/x11-1.8.ebuild b/dev-haskell/x11/x11-1.8.ebuild new file mode 100644 index 000000000000..50622790aa32 --- /dev/null +++ b/dev-haskell/x11/x11-1.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --configure-option=$(use_with xinerama) \ + --configure-option=$(use_with screensaver xscreensaver) +} -- 2.26.2