commit: fb2cbcfdb36c1823ad3bb4de4d4a9cf0fb0aaeac Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Wed Sep 15 11:27:29 2021 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Wed Sep 15 11:27:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2cbcfd
x11-wm/blackbox: bump to 0.77 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> x11-wm/blackbox/Manifest | 1 + x11-wm/blackbox/blackbox-0.77.ebuild | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/x11-wm/blackbox/Manifest b/x11-wm/blackbox/Manifest index 952b6ae64ab..9cddd2d517c 100644 --- a/x11-wm/blackbox/Manifest +++ b/x11-wm/blackbox/Manifest @@ -1 +1,2 @@ DIST blackbox-0.76.tar.gz 394032 BLAKE2B ffefd24277c581ca59216f53c10d5ffacd7231b33c7fd8bfd799a1f93f0b4953ab91f6c8e7061f91ca80036a8a2b8d7b118383e97b8ab58b8f4cd039155760a1 SHA512 bc97ae699820f8291399ce6f2a87ef4486fabcaeda2dc33fbeb31fc6405c01d722a52c85d8dc65ef44bb031e3dda63c326b76aa1bfca3e544bfcab0fac9d1afa +DIST blackbox-0.77.tar.gz 394176 BLAKE2B c52872fd02eba6857d2a3f5a8e122a6a8a0cdaa9c2d83f5b2510f9e770e650626d07f6d2b43b18bc3d77de4bfefc9bb9fb10321de0e72d4f82e5988f3c670d59 SHA512 d1f86707d9a2acb68db6a9af947e47acfd687752d06e3e2a60932550fbfa087730e6890b6ceb086f8aa8cf04e932ed7864f92266368fc43dc70b4b58140a792d diff --git a/x11-wm/blackbox/blackbox-0.77.ebuild b/x11-wm/blackbox/blackbox-0.77.ebuild new file mode 100644 index 00000000000..b476324b895 --- /dev/null +++ b/x11-wm/blackbox/blackbox-0.77.ebuild @@ -0,0 +1,56 @@ +# 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="debug nls static-libs truetype" + +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=">=sys-devel/autoconf-2.71 + 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 + use static-libs || rm "${D}"/usr/$(get_libdir)/libbt.a || die +}