Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/blackbox/
Date: Tue, 11 Feb 2020 12:56:45
Message-Id: 1581425790.a641a5fa7e1aed5594c9a413ed43a451a88b69c3.bkohler@gentoo
1 commit: a641a5fa7e1aed5594c9a413ed43a451a88b69c3
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 11 12:56:13 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 11 12:56:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a641a5fa
7
8 x11-wm/blackbox: bump to 0.76
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 x11-wm/blackbox/Manifest | 1 +
14 x11-wm/blackbox/blackbox-0.76.ebuild | 52 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/x11-wm/blackbox/Manifest b/x11-wm/blackbox/Manifest
18 index af8a9a7ea1c..1c2d7b0dfad 100644
19 --- a/x11-wm/blackbox/Manifest
20 +++ b/x11-wm/blackbox/Manifest
21 @@ -1,2 +1,3 @@
22 DIST blackbox-0.70.1.tar.bz2 492399 BLAKE2B d6faed388d2a1fbfbf10baf2b848f78fc5d99bc4e5fb2daf28df7ec9732d9ad5de9dfa87763cea9a954ed72b23207563dda65c92bb37ba2136e8f6e6049e0ab7 SHA512 6e8cf6fd04030a5f97ffd8dbe97aaa0f683f776e7237cdd46f2b93265cd8de665cffce5a352624a2235aa6c42628be13f98d565af765b3f06e95bff404fb0ccb
23 DIST blackbox-0.75.tar.gz 394605 BLAKE2B 6e1338f946fe1d211d88f060178a17c452ca2b5f700d8ab73c62e2f01fd7bc81a52d06dcb42941c133528b144a6707c6ecc4711cb10630ce2921214d0b699669 SHA512 64d1ec45f9cb143dc5e3688a490acb3e20e303c57f778656dda227215b2fa13ca2db753aebc7b1ea9605a9d66c69ff8cfdf8010dc2f37ddc4609d9d3865ec068
24 +DIST blackbox-0.76.tar.gz 394032 BLAKE2B ffefd24277c581ca59216f53c10d5ffacd7231b33c7fd8bfd799a1f93f0b4953ab91f6c8e7061f91ca80036a8a2b8d7b118383e97b8ab58b8f4cd039155760a1 SHA512 bc97ae699820f8291399ce6f2a87ef4486fabcaeda2dc33fbeb31fc6405c01d722a52c85d8dc65ef44bb031e3dda63c326b76aa1bfca3e544bfcab0fac9d1afa
25
26 diff --git a/x11-wm/blackbox/blackbox-0.76.ebuild b/x11-wm/blackbox/blackbox-0.76.ebuild
27 new file mode 100644
28 index 00000000000..5bd673eb8b6
29 --- /dev/null
30 +++ b/x11-wm/blackbox/blackbox-0.76.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="A small, fast, full-featured window manager for X"
40 +HOMEPAGE="https://github.com/bbidulock/blackboxwm"
41 +SRC_URI="https://github.com/bbidulock/blackboxwm/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="nls truetype debug"
47 +
48 +RDEPEND="x11-libs/libXft
49 + x11-libs/libXt
50 + nls? ( >=sys-devel/gettext-0.20 )
51 + truetype? ( media-libs/freetype )"
52 +DEPEND="${RDEPEND}
53 + x11-base/xorg-proto"
54 +BDEPEND="virtual/pkgconfig"
55 +
56 +S="${WORKDIR}"/blackboxwm-${PV}
57 +
58 +src_prepare() {
59 + default
60 + eautoreconf
61 +}
62 +
63 +src_configure() {
64 + econf \
65 + --sysconfdir=/etc/X11/${PN} \
66 + $(use_enable debug) \
67 + $(use_enable nls) \
68 + $(use_enable truetype xft)
69 +}
70 +
71 +src_install() {
72 + dodir /etc/X11/Sessions
73 + echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}"
74 + fperms a+x /etc/X11/Sessions/${PN}
75 +
76 + insinto /usr/share/xsessions
77 + doins "${FILESDIR}/${PN}.desktop"
78 +
79 + emake DESTDIR="${D}" install
80 + dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO
81 +
82 + prune_libtool_files --all
83 +}