diff options
author | Andrey Utkin <andrey_utkin@gentoo.org> | 2020-12-01 13:59:44 +0000 |
---|---|---|
committer | Andrey Utkin <andrey_utkin@gentoo.org> | 2020-12-01 14:01:17 +0000 |
commit | dcd2a537b8533c5b6a62cb5d529e55a03fc138f3 (patch) | |
tree | b90937bafaa8355d498c550819acdb9e8c09fff7 /x11-wm/herbstluftwm | |
parent | x11-misc/spnavcfg: 0.3.1 (diff) | |
download | gentoo-dcd2a537b8533c5b6a62cb5d529e55a03fc138f3.tar.gz gentoo-dcd2a537b8533c5b6a62cb5d529e55a03fc138f3.tar.bz2 gentoo-dcd2a537b8533c5b6a62cb5d529e55a03fc138f3.zip |
x11-wm/herbstluftwm: revert "remove old 0.7.2-r1, 0.8.2"
This reverts commit f47143995e6272d766ff41e752a10f1344a0c84e.
0.7.2-r1 was the last stabilized version.
Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'x11-wm/herbstluftwm')
-rw-r--r-- | x11-wm/herbstluftwm/Manifest | 2 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild | 72 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/herbstluftwm-0.8.2.ebuild | 58 |
3 files changed, 132 insertions, 0 deletions
diff --git a/x11-wm/herbstluftwm/Manifest b/x11-wm/herbstluftwm/Manifest index e8dfa9556e3b..d6d312045047 100644 --- a/x11-wm/herbstluftwm/Manifest +++ b/x11-wm/herbstluftwm/Manifest @@ -1,2 +1,4 @@ +DIST herbstluftwm-0.7.2.tar.gz 245506 BLAKE2B 72d0bb2a77e519161d193ac7b2b9f1f878ccb6cfe4914b6c75d060e2daa0bec4203ee4ebf203b9fa1dfb844d71d50aa7c03257c78aa22e906bf42519d1e592af SHA512 abb49bbc3de9a0ef619ce7063c1cea0d0d25ab2195c53dc0d33e061ad24060da4bbe9b99b9b9126028cdf68b462d4fcc8d1534431e4892d571ff897a68d2113c +DIST herbstluftwm-0.8.2.tar.gz 377790 BLAKE2B 88cee9937f134f6784fb5917435f629db67971339b09da8c6b91b55286fc50a7ba9d8dbea98dc583a92f5ae6e0e427dd487265cfb7d1ca4bbc10f865a2532e3e SHA512 1a2bf3861ce23e33bb09afed285f7d85450307b46d00a666d02eaf9c454d53904e4d54ca8b0245da5ef095667a0adf9cdfc3aff170089c99df6b7f01e9038d5f DIST herbstluftwm-0.8.3.tar.gz 379052 BLAKE2B e8216d856df7111951842001992cac07b37efa89ba8cd52c804a763135a91512f92902910e726193a2cc902e93dacc1bae1e701ff4c669e164080992a3410bca SHA512 ff6acb64a6609030abfe315452567f7011088b39e123f3fd988448183c4bf1c65aa0ba49ba1b0ab18b959448e12638a8198093db25bcfba828791e3305966ef1 DIST herbstluftwm-0.9.0.tar.gz 406897 BLAKE2B 06a2d6f303e1cf3990ae5247104952936e374b39ec4be316885718a94741f21c868f084ac7c3d4854d3e2870c26b4037153f3f18bffdb7458e56b3039eb4f1e1 SHA512 a9d4486729a65c8eb87b0d36f0cc28349f670abee82e20c9649e1348298ca5e73f9b349921007d555d620327cc09dab4c24e9c76dd971afc7f4de98b9408d925 diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild new file mode 100644 index 000000000000..74f4e1a1a6dc --- /dev/null +++ b/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs bash-completion-r1 + +if [[ ${PV} == 9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/herbstluftwm/herbstluftwm" + BDEPEND="app-text/asciidoc" +else + SRC_URI="https://herbstluftwm.org/tarballs/${P}.tar.gz" + KEYWORDS="amd64 x86" + BDEPEND="" +fi + +DESCRIPTION="A manual tiling window manager for X" +HOMEPAGE="https://herbstluftwm.org/" + +LICENSE="BSD-2" +SLOT="0" +IUSE="examples xinerama zsh-completion" + +DEPEND=" + >=dev-libs/glib-2.24:2 + x11-libs/libX11 + x11-libs/libXext + xinerama? ( x11-libs/libXinerama ) +" +RDEPEND=" + ${DEPEND} + app-shells/bash + zsh-completion? ( app-shells/zsh ) +" +BDEPEND+=" + virtual/pkgconfig +" + +src_compile() { + tc-export CC CXX LD PKG_CONFIG + + emake LDXX="$(tc-getCXX)" COLOR=0 VERBOSE= \ + $(use xinerama || echo XINERAMAFLAGS= XINERAMALIBS= ) +} + +src_install() { + dobin herbstluftwm herbstclient + dodoc BUGS MIGRATION NEWS README.md + + doman doc/{herbstluftwm,herbstclient}.1 + + exeinto /etc/xdg/herbstluftwm + doexe share/{autostart,panel.sh,restartpanels.sh} + + insinto /usr/share/xsessions + doins share/herbstluftwm.desktop + + newbashcomp share/herbstclient-completion herbstclient + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins share/_herbstclient + fi + + if use examples ; then + exeinto /usr/share/doc/${PF}/examples + doexe scripts/*.sh + docinto examples + dodoc scripts/README + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.8.2.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.8.2.ebuild new file mode 100644 index 000000000000..716b6043cb68 --- /dev/null +++ b/x11-wm/herbstluftwm/herbstluftwm-0.8.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs cmake-utils + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/herbstluftwm/herbstluftwm" + BDEPEND="app-text/asciidoc" +else + SRC_URI="https://herbstluftwm.org/tarballs/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + BDEPEND="" +fi + +DESCRIPTION="A manual tiling window manager for X" +HOMEPAGE="https://herbstluftwm.org/" + +LICENSE="BSD-2" +SLOT="0" +IUSE="examples zsh-completion" + +DEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXinerama + x11-libs/libXrandr +" +RDEPEND=" + ${DEPEND} + app-shells/bash + zsh-completion? ( app-shells/zsh ) +" +BDEPEND+=" + virtual/pkgconfig +" + +src_configure() { + sed -i \ + -e '/^install.*LICENSEDIR/d' \ + -e '/set(DOCDIR / s#.*#set(DOCDIR ${CMAKE_INSTALL_DOCDIR})#' \ + CMakeLists.txt || die + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if ! use examples; then + rm -r "${ED}"/usr/share/doc/${PF}/examples || die + fi + + if ! use zsh-completion; then + rm -r "${ED}"/usr/share/zsh || die + fi +} |