diff options
Diffstat (limited to 'x11-wm/xmonad')
-rw-r--r-- | x11-wm/xmonad/Manifest | 2 | ||||
-rw-r--r-- | x11-wm/xmonad/xmonad-0.15-r1.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/x11-wm/xmonad/Manifest b/x11-wm/xmonad/Manifest index ec1213f80b41..53188c7d7967 100644 --- a/x11-wm/xmonad/Manifest +++ b/x11-wm/xmonad/Manifest @@ -1,5 +1,7 @@ AUX xmonad-0.14-check-repeat.patch 2393 BLAKE2B 1b173ab0598c650645af4286c5c6f7ed536f201bbab51f4f515fdf8c0433ea355e5836b9d63353cf7bc8aedba23e15b661bfc02ec94519e43b4a49e8818b569f SHA512 ff9341e4e7f065e9354cb723470ed88d9f8fb3858c0a529590d14c2bcb65672494c0df49b9678e502a812d36035f255780d3e50dd303e41ac96d52e1d946b731 AUX xmonad.desktop 270 BLAKE2B dce8e606b7b1008dd77c74feb0ce96f7d7d59de299adc4b61b164cdcf9057eb2a4119bfd97c5f67a660d0810cd7a43d5ee580d9935b623c9dd877543de2adffe SHA512 b858edfb6fd6004f8ca0f95e97f298140ab489e246f7f09b1fdab3fe899dba66f3f150fe67981f7b5fd8f3a268df7dab2ee60db6d3f96bd874fab2b670435b4e DIST xmonad-0.15.tar.gz 68822 BLAKE2B 9ee9a070f6743fbab2cffe05ee9e60b64fded0b4916fdec03a550f5d5ec5a34102ab2d4e9586b9a0ca534db284a8058f11ee248072f3f3b312ae30c09873feff SHA512 f881f3faa4f5a0de7a5a37118cd7041083ae3a7569c7094b55dedb9aa858176789aff459d426b237ebae5cc4598b06de790938775a7ac968c2d76be3f0efc8ba +DIST xmonad-259.patch 1452 BLAKE2B 869d11ae762c43b9e749169d6b691fdee52e9fc17848fc4ee494e075501528d4c0c040deea617f8fbeab003dd7bc277254498b0089b60f8e6e47b6b96430eb69 SHA512 9edb155a74d170e612cd84aad4fb004176fe5e5fc7017f1985aa2b4628b2cc995b157ba42ab6f7b546d5e3467358292234b3926254e1e831cc7ef38844e14c6d +EBUILD xmonad-0.15-r1.ebuild 2471 BLAKE2B b972a8799e198777e8cfb1c3c0e84b38a3aa86fd8249d0bdff81859c99385054f23ccf0d4877291a165bb13263e9e01d6c61a2f76dae92563fdd6c289a8c7928 SHA512 34ce510725c4fedfc33b4b00781cbc4e49135bd9b26e7323a727b58a3b18436eee157f00fd13b7894407f9916eadac7451c08ef92cfd436bb988fcb659bd8cba EBUILD xmonad-0.15.ebuild 2340 BLAKE2B 846657af5db706832ea4adcff0126ff386dea3f1f2d46d830602ad75ef0c2f0be6837825403ed3904e72ea9e9cae40a06991ee3275abacfd20c98593896f2585 SHA512 c68f2b8da62c8314b3cf35f048754d3fd2e018be4e1761c105f2c01a46434f4435636cd36a4d02851502692fd50a2e08c2506aeb95eff304b3494f5deb797ab2 MISC metadata.xml 944 BLAKE2B 1bf165521429318f0f7508d125c1203f4a866d05234ca1df2ea42f7cd5eb0a4b7280505928f83619a40c19327cb051f64450f953efa15ff718fdfba1e129cd70 SHA512 7ace3bf8c00d5677e3d8a9ced1487a92b5e243cf60824c100a9bb23f4a411bf0d602617bfcc8359b1e108b8ab4bc692f057320078d99df1daec2c7bf48ffdc9f diff --git a/x11-wm/xmonad/xmonad-0.15-r1.ebuild b/x11-wm/xmonad/xmonad-0.15-r1.ebuild new file mode 100644 index 000000000000..0d981be7a180 --- /dev/null +++ b/x11-wm/xmonad/xmonad-0.15-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.5.6.9999 +#hackport: flags: -generatemanpage,-testing,-profiling + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A tiling window manager" +HOMEPAGE="https://xmonad.org" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://patch-diff.githubusercontent.com/raw/xmonad/xmonad/pull/259.patch -> ${PN}-259.patch" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="no-autorepeat-keys" + +RDEPEND="dev-haskell/data-default:=[profile?] + dev-haskell/extensible-exceptions:=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/setlocale:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-haskell/x11-1.8:=[profile?] <dev-haskell/x11-1.10:=[profile?] + >=dev-lang/ghc-8.0.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.24.0.0 + test? ( >=dev-haskell/quickcheck-2 ) +" + +DOCS=( CONFIG README.md CHANGES.md ) +HTML_DOCS=( man/${PN}.1.html ) + +SAMPLE_CONFIG="${PN}.hs" + +src_prepare() { + default + use no-autorepeat-keys && eapply "${FILESDIR}"/${PN}-0.14-check-repeat.patch + eapply "${DISTDIR}/${PN}-259.patch" +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-generatemanpage \ + --flag=-profiling \ + --flag=-testing +} + +src_install() { + default + + cabal_src_install + + echo -e "#!/bin/sh\n/usr/bin/${PN}" > "${T}/${PN}" + exeinto /etc/X11/Sessions + doexe "${T}/${PN}" + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" + + insinto /usr/share/${PF}/ghc-$(ghc-version)/man + doins man/${SAMPLE_CONFIG} + + doman man/${PN}.1 +} + +pkg_postinst() { + haskell-cabal_pkg_postinst + + elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:" + elog " /usr/share/${PF}/ghc-$(ghc-version)/man/${SAMPLE_CONFIG}" + elog "The parameters in this file are the defaults used by ${PN}." + elog "To customize ${PN}, copy this file to:" + elog " ~/.${PN}/${SAMPLE_CONFIG}" + elog "After editing, use 'mod-q' to dynamically restart ${PN} " + elog "(where the 'mod' key defaults to 'Alt')." + elog "" + elog "Read the README or man page for more information, and to see " + elog "other possible configurations go to:" + elog " http://haskell.org/haskellwiki/Xmonad/Config_archive" + elog "Please note that many of these configurations will require the " + elog "x11-wm/xmonad-contrib package to be installed." +} |