From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B431138350 for ; Thu, 9 Apr 2020 20:07:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BA41E090E; Thu, 9 Apr 2020 20:07:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 581A2E090E for ; Thu, 9 Apr 2020 20:07:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B476834EFC9 for ; Thu, 9 Apr 2020 20:07:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60A182B for ; Thu, 9 Apr 2020 20:07:47 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1586462862.5f53289df2f67fe7c494feedad9ea8f9070bdadf.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/herbstluftwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/herbstluftwm/Manifest x11-wm/herbstluftwm/herbstluftwm-0.8.0.ebuild X-VCS-Directories: x11-wm/herbstluftwm/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5f53289df2f67fe7c494feedad9ea8f9070bdadf X-VCS-Branch: master Date: Thu, 9 Apr 2020 20:07:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b86480eb-2a22-4900-b92b-6909e31e3882 X-Archives-Hash: 60aa12222e79c720a6c0b12565c374fd commit: 5f53289df2f67fe7c494feedad9ea8f9070bdadf Author: Jeroen Roovers gentoo org> AuthorDate: Thu Apr 9 20:04:55 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Apr 9 20:07:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f53289d x11-wm/herbstluftwm: Version 0.8.0 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Closes: https://bugs.gentoo.org/716842 Signed-off-by: Jeroen Roovers gentoo.org> x11-wm/herbstluftwm/Manifest | 1 + x11-wm/herbstluftwm/herbstluftwm-0.8.0.ebuild | 62 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/x11-wm/herbstluftwm/Manifest b/x11-wm/herbstluftwm/Manifest index 4672f63b3e3..2a770ba3b3a 100644 --- a/x11-wm/herbstluftwm/Manifest +++ b/x11-wm/herbstluftwm/Manifest @@ -1 +1,2 @@ DIST herbstluftwm-0.7.2.tar.gz 245506 BLAKE2B 72d0bb2a77e519161d193ac7b2b9f1f878ccb6cfe4914b6c75d060e2daa0bec4203ee4ebf203b9fa1dfb844d71d50aa7c03257c78aa22e906bf42519d1e592af SHA512 abb49bbc3de9a0ef619ce7063c1cea0d0d25ab2195c53dc0d33e061ad24060da4bbe9b99b9b9126028cdf68b462d4fcc8d1534431e4892d571ff897a68d2113c +DIST herbstluftwm-0.8.0.tar.gz 358434 BLAKE2B 770aa66c2e8926d5f73b36ae2376e33ac92f9f72e2d45f55caa3247710f88b0eef72bed8a7242ba4ef298d9e8a7af3768114bd5149aa5596aa4682caef7e9e91 SHA512 108ef76e6f81d98742c37a1a5ecf1ce998d6fc8ee43642acb08716a5bee2e7a691f1f8defe9c81ecc8930f8b29ba7a49efe2eb00a3699c22de1a5f841266873c diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.8.0.ebuild b/x11-wm/herbstluftwm/herbstluftwm-0.8.0.ebuild new file mode 100644 index 00000000000..c6dbf314e58 --- /dev/null +++ b/x11-wm/herbstluftwm/herbstluftwm-0.8.0.ebuild @@ -0,0 +1,62 @@ +# 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 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_configure() { + sed -i \ + -e '/^install.*LICENSEDIR/d' \ + -e '/set(DOCDIR / s#.*#set(DOCDIR ${CMAKE_INSTALL_DOCDIR})#' \ + CMakeLists.txt || die + + mycmakeargs=( + -DWITH_XINERAMA=$(usex xinerama) + ) + + 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 +}