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 97B811382C5 for ; Tue, 30 Mar 2021 12:28:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7720E09FB; Tue, 30 Mar 2021 12:28:52 +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 9E174E09FB for ; Tue, 30 Mar 2021 12:28:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4EE9A340E5C for ; Tue, 30 Mar 2021 12:28:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9555A637 for ; Tue, 30 Mar 2021 12:28:49 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1617107315.78404444302dc73432cc1f4192f828c0c4f7d241.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/blackbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/blackbox/blackbox-0.76-r1.ebuild X-VCS-Directories: x11-wm/blackbox/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 78404444302dc73432cc1f4192f828c0c4f7d241 X-VCS-Branch: master Date: Tue, 30 Mar 2021 12:28:49 +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: 046c1fce-8dea-4f7b-9726-7dd93d010ac9 X-Archives-Hash: e774c65141dc5787e6a907b842da5678 commit: 78404444302dc73432cc1f4192f828c0c4f7d241 Author: Ben Kohler gentoo org> AuthorDate: Tue Mar 30 12:12:05 2021 +0000 Commit: Ben Kohler gentoo org> CommitDate: Tue Mar 30 12:28:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78404444 x11-wm/blackbox: re-enable shared libs, add missing dep Closes: https://bugs.gentoo.org/697498 Closes: https://bugs.gentoo.org/697516 Closes: https://bugs.gentoo.org/697724 Closes: https://bugs.gentoo.org/724976 Closes: https://bugs.gentoo.org/726404 Closes: https://bugs.gentoo.org/745159 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ben Kohler gentoo.org> x11-wm/blackbox/blackbox-0.76-r1.ebuild | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/x11-wm/blackbox/blackbox-0.76-r1.ebuild b/x11-wm/blackbox/blackbox-0.76-r1.ebuild new file mode 100644 index 00000000000..81e924b915b --- /dev/null +++ b/x11-wm/blackbox/blackbox-0.76-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A small, fast, full-featured window manager for X" +HOMEPAGE="https://github.com/bbidulock/blackboxwm" +SRC_URI="https://github.com/bbidulock/blackboxwm/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls truetype debug" + +RDEPEND="x11-libs/libXft + x11-libs/libXt + x11-libs/libX11 + nls? ( >=sys-devel/gettext-0.20 ) + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}"/blackboxwm-${PV} + +src_prepare() { + sed -e '/AC_DISABLE_SHARED/d' -i configure.ac || die + default + eautoreconf +} + +src_configure() { + econf \ + --sysconfdir=/etc/X11/${PN} \ + $(use_enable debug) \ + $(use_enable nls) \ + $(use_enable truetype xft) +} + +src_install() { + dodir /etc/X11/Sessions + echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}" + fperms a+x /etc/X11/Sessions/${PN} + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" + + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO + + find "${D}" -name '*.la' -delete || die +}