diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-08-01 13:46:18 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 09:04:30 +0100 |
commit | 37954b06d82a931048a60c2e4d6d2d9730f154f5 (patch) | |
tree | 75a0102af6392dfc92959a35976aede0f5705893 /dev-haskell/x11 | |
parent | dev-haskell/wai-app-static: bump up to 3.1.7.1 (diff) | |
download | gentoo-37954b06d82a931048a60c2e4d6d2d9730f154f5.tar.gz gentoo-37954b06d82a931048a60c2e4d6d2d9730f154f5.tar.bz2 gentoo-37954b06d82a931048a60c2e4d6d2d9730f154f5.zip |
dev-haskell/x11: bump up to 1.9.1
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/x11')
-rw-r--r-- | dev-haskell/x11/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/x11/files/x11-1.9-cabal-3.patch | 8 | ||||
-rw-r--r-- | dev-haskell/x11/files/x11-1.9-no-LDFLAGS.patch | 10 | ||||
-rw-r--r-- | dev-haskell/x11/x11-1.9.1.ebuild | 44 |
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-haskell/x11/Manifest b/dev-haskell/x11/Manifest index 1917fa8c8d7f..d36936af2a28 100644 --- a/dev-haskell/x11/Manifest +++ b/dev-haskell/x11/Manifest @@ -1,3 +1,4 @@ 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 +DIST X11-1.9.1.tar.gz 190698 BLAKE2B ba8ee8f26b6e7cacb2334248d3609863277817b2c06d5eb7d8491ee2804691bcc49bb1588e3f2308acacebb739d9d7920507969729ef651e9b0600aa5acbc1f4 SHA512 6fc3c8b71681ba45d14c4b709c58760d7bfcb3e6363ef6c79e3d3ecce8f5a30bda877141cea9de73094fc00fa064d23d36f1f8fa61aa65f2d9d75acd1808eaa7 diff --git a/dev-haskell/x11/files/x11-1.9-cabal-3.patch b/dev-haskell/x11/files/x11-1.9-cabal-3.patch new file mode 100644 index 000000000000..fc4ea175de04 --- /dev/null +++ b/dev-haskell/x11/files/x11-1.9-cabal-3.patch @@ -0,0 +1,8 @@ +--- a/Setup.hs ++++ b/Setup.hs +@@ -3,4 +3,4 @@ module Main (main) where + import Distribution.Simple + + main :: IO () +-main = defaultMainWithHooks defaultUserHooks ++main = defaultMainWithHooks autoconfUserHooks diff --git a/dev-haskell/x11/files/x11-1.9-no-LDFLAGS.patch b/dev-haskell/x11/files/x11-1.9-no-LDFLAGS.patch new file mode 100644 index 000000000000..69bc33c0d21e --- /dev/null +++ b/dev-haskell/x11/files/x11-1.9-no-LDFLAGS.patch @@ -0,0 +1,10 @@ +Don't persist LDFLAGS into package database. + +https://bugs.gentoo.org/609624 +--- 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/x11-1.9.1.ebuild b/dev-haskell/x11/x11-1.9.1.ebuild new file mode 100644 index 000000000000..cb805ed19d65 --- /dev/null +++ b/dev-haskell/x11/x11-1.9.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.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="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+xinerama" + +RDEPEND="dev-haskell/data-default:=[profile?] + >=dev-lang/ghc-7.4.1:= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXScrnSaver + xinerama? ( x11-libs/libXinerama ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.9-no-LDFLAGS.patch +) + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --configure-option=$(use_with xinerama) +} |