commit: 9e162f66befc5f200a854dbb00bfdc332662f8ab Author: Ross Millen <rossmillen <AT> protonmail <DOT> com> AuthorDate: Tue Oct 4 22:16:55 2022 +0000 Commit: Ross Millen <rossmillen <AT> protonmail <DOT> com> CommitDate: Tue Oct 4 22:16:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e162f66
x11-wm/berry: new package, add 0.1.11 Signed-off-by: Ross Millen <rossmillen <AT> protonmail.com> x11-wm/berry/Manifest | 1 + x11-wm/berry/berry-0.1.11.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/x11-wm/berry/Manifest b/x11-wm/berry/Manifest new file mode 100644 index 000000000..d7c2e2650 --- /dev/null +++ b/x11-wm/berry/Manifest @@ -0,0 +1 @@ +DIST berry-0.1.11.tar.gz 29068 BLAKE2B 2df9f0003eaea6e3a94e4a4fee3161d8e6abbe6959b7774a370b08a20e6f341dd48045479b42c15cacf1faf06c0145b9d21158cd2aa1caf67e326a7b6fdb282e SHA512 6486c072f189017147d6996a44e0e3f58288fe12e42e794b625825135b4382177e884c86560b6f942d219cfa1106d86f44ab7cdab16f51a75971825e8b139129 diff --git a/x11-wm/berry/berry-0.1.11.ebuild b/x11-wm/berry/berry-0.1.11.ebuild new file mode 100644 index 000000000..f7eda9253 --- /dev/null +++ b/x11-wm/berry/berry-0.1.11.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs + +DESCRIPTION="A byte-sized window manager written in C" +HOMEPAGE="https://berrywm.org" +SRC_URI="https://github.com/JLErvin/berry/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="examples" + +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-wm + x11-libs/libXinerama + x11-libs/libX11 + x11-libs/libXft +" +RDEPEND="${DEPEND} + x11-misc/sxhkd +" + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" install + + insinto /etc/xdg/sxhkd + doins examples/sxhkdrc + + if use examples ; then + dodoc -r examples + docompress -x /usr/share/doc/${PF} + fi + +}