1 |
commit: fb2cbcfdb36c1823ad3bb4de4d4a9cf0fb0aaeac |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 15 11:27:29 2021 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 15 11:27:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2cbcfd |
7 |
|
8 |
x11-wm/blackbox: bump to 0.77 |
9 |
|
10 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
x11-wm/blackbox/Manifest | 1 + |
14 |
x11-wm/blackbox/blackbox-0.77.ebuild | 56 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/x11-wm/blackbox/Manifest b/x11-wm/blackbox/Manifest |
18 |
index 952b6ae64ab..9cddd2d517c 100644 |
19 |
--- a/x11-wm/blackbox/Manifest |
20 |
+++ b/x11-wm/blackbox/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST blackbox-0.76.tar.gz 394032 BLAKE2B ffefd24277c581ca59216f53c10d5ffacd7231b33c7fd8bfd799a1f93f0b4953ab91f6c8e7061f91ca80036a8a2b8d7b118383e97b8ab58b8f4cd039155760a1 SHA512 bc97ae699820f8291399ce6f2a87ef4486fabcaeda2dc33fbeb31fc6405c01d722a52c85d8dc65ef44bb031e3dda63c326b76aa1bfca3e544bfcab0fac9d1afa |
23 |
+DIST blackbox-0.77.tar.gz 394176 BLAKE2B c52872fd02eba6857d2a3f5a8e122a6a8a0cdaa9c2d83f5b2510f9e770e650626d07f6d2b43b18bc3d77de4bfefc9bb9fb10321de0e72d4f82e5988f3c670d59 SHA512 d1f86707d9a2acb68db6a9af947e47acfd687752d06e3e2a60932550fbfa087730e6890b6ceb086f8aa8cf04e932ed7864f92266368fc43dc70b4b58140a792d |
24 |
|
25 |
diff --git a/x11-wm/blackbox/blackbox-0.77.ebuild b/x11-wm/blackbox/blackbox-0.77.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b476324b895 |
28 |
--- /dev/null |
29 |
+++ b/x11-wm/blackbox/blackbox-0.77.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="A small, fast, full-featured window manager for X" |
39 |
+HOMEPAGE="https://github.com/bbidulock/blackboxwm" |
40 |
+SRC_URI="https://github.com/bbidulock/blackboxwm/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="debug nls static-libs truetype" |
46 |
+ |
47 |
+RDEPEND="x11-libs/libXft |
48 |
+ x11-libs/libXt |
49 |
+ x11-libs/libX11 |
50 |
+ nls? ( >=sys-devel/gettext-0.20 ) |
51 |
+ truetype? ( media-libs/freetype )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ x11-base/xorg-proto" |
54 |
+BDEPEND=">=sys-devel/autoconf-2.71 |
55 |
+ virtual/pkgconfig" |
56 |
+ |
57 |
+S="${WORKDIR}"/blackboxwm-${PV} |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ sed -e '/AC_DISABLE_SHARED/d' -i configure.ac || die |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ --sysconfdir=/etc/X11/${PN} \ |
68 |
+ $(use_enable debug) \ |
69 |
+ $(use_enable nls) \ |
70 |
+ $(use_enable truetype xft) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ dodir /etc/X11/Sessions |
75 |
+ echo "/usr/bin/blackbox" > "${D}/etc/X11/Sessions/${PN}" |
76 |
+ fperms a+x /etc/X11/Sessions/${PN} |
77 |
+ |
78 |
+ insinto /usr/share/xsessions |
79 |
+ doins "${FILESDIR}/${PN}.desktop" |
80 |
+ |
81 |
+ emake DESTDIR="${D}" install |
82 |
+ dodoc AUTHORS ChangeLog* COMPLIANCE README* TODO |
83 |
+ |
84 |
+ find "${D}" -name '*.la' -delete || die |
85 |
+ use static-libs || rm "${D}"/usr/$(get_libdir)/libbt.a || die |
86 |
+} |