summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2024-09-10 11:10:36 +0200
committerSam James <sam@gentoo.org>2024-10-04 09:12:35 +0100
commit472eb778d5240619766387f79dd0be4c7d597f6f (patch)
tree528adaed5f3cd7be84d02e4da51e189064777c1a /x11-wm/evilwm
parentnet-misc/bgpq4: drop 1.7 (diff)
downloadgentoo-472eb778d5240619766387f79dd0be4c7d597f6f.tar.gz
gentoo-472eb778d5240619766387f79dd0be4c7d597f6f.tar.bz2
gentoo-472eb778d5240619766387f79dd0be4c7d597f6f.zip
x11-wm/evilwm: add 1.4.3
Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/38547 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-wm/evilwm')
-rw-r--r--x11-wm/evilwm/Manifest1
-rw-r--r--x11-wm/evilwm/evilwm-1.4.3.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/evilwm/Manifest b/x11-wm/evilwm/Manifest
index 8d27fa93a30d..d9f2c7709318 100644
--- a/x11-wm/evilwm/Manifest
+++ b/x11-wm/evilwm/Manifest
@@ -1 +1,2 @@
DIST evilwm-1.4.2.tar.gz 73716 BLAKE2B dbdeb914efe1002a3d3e97942d9b8ee22a3506aec4232cc59d5cb7fe61ee2bcbf08eaa5cc1d55151acd2c41f5fe7128cf0238ac844e91d61fc6afcb9162792e1 SHA512 07f1d82a611b95606ef137bb76599f8eef4bc27bf90eae9f5aa15bc806808c3bc4e1d7e821cebe1651b134d03f2b129e336b95e9659f0509d9711faab9bd00ba
+DIST evilwm-1.4.3.tar.gz 74386 BLAKE2B 59a8aa3167f6c15c41251d58958496147f76283486345191f2d2d1ad429f0e8d4fe9df3f986ce0c11e0c0f8217365b2fb32cb6fa96566e625333e3eb5f3b58d9 SHA512 3e2d4207b401261bce3ec2a185a1fb2385bb7d79595c0a61a13aeb3238d7ebb5502efb2121d00599af53ce98cdc5cf291751e6ac3a6fb0d623c06628a302047e
diff --git a/x11-wm/evilwm/evilwm-1.4.3.ebuild b/x11-wm/evilwm/evilwm-1.4.3.ebuild
new file mode 100644
index 000000000000..c995191f1567
--- /dev/null
+++ b/x11-wm/evilwm/evilwm-1.4.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="A minimalist, no frills window manager for X"
+HOMEPAGE="https://www.6809.org.uk/evilwm/"
+SRC_URI="https://www.6809.org.uk/evilwm/dl/${P}.tar.gz"
+
+LICENSE="MIT 9wm"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+
+src_prepare() {
+ default
+ sed -e 's/^#define DEF_FONT.*/#define DEF_FONT "fixed"/' \
+ -i evilwm.h || die "sed font failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" INSTALL_STRIP="" install
+
+ einstalldocs
+
+ echo -e "#!${EPREFIX}/bin/sh\nexec \"${EPREFIX}/usr/bin/${PN}\"" > "${T}/${PN}" || die
+ exeinto /etc/X11/Sessions
+ doexe "${T}/${PN}"
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}/${PN}.desktop"
+ domenu "${FILESDIR}"/evilwm.desktop
+}