summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2023-05-21 21:23:15 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-05-27 10:49:19 +0300
commit36c72035a842a260c2f44c7ed2e52645a69a7039 (patch)
tree93d9ad47ce3fe848e385f91e2d2495c13c46f84e /x11-wm/evilwm
parentdev-libs/librdkafka: minor update 2.1.0 -> 2.1.1 (diff)
downloadgentoo-36c72035a842a260c2f44c7ed2e52645a69a7039.tar.gz
gentoo-36c72035a842a260c2f44c7ed2e52645a69a7039.tar.bz2
gentoo-36c72035a842a260c2f44c7ed2e52645a69a7039.zip
x11-wm/evilwm: add 1.4.2
Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/31119 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-wm/evilwm')
-rw-r--r--x11-wm/evilwm/Manifest1
-rw-r--r--x11-wm/evilwm/evilwm-1.4.2.ebuild45
-rw-r--r--x11-wm/evilwm/metadata.xml3
3 files changed, 46 insertions, 3 deletions
diff --git a/x11-wm/evilwm/Manifest b/x11-wm/evilwm/Manifest
index 8240def17afa..ed75b4ce8d74 100644
--- a/x11-wm/evilwm/Manifest
+++ b/x11-wm/evilwm/Manifest
@@ -1 +1,2 @@
DIST evilwm-1.3.1.tar.gz 64824 BLAKE2B 1145662c1907d27c39e55a4eddbc37c51a7b8d92dfa39b98c98eefdf419ebbee1bfc8889725ac38158f2b15e78e0d1a5a202584bc248cb93797c2ba05fbae5c2 SHA512 551ed96884792a6e607b0abb582bed68e583e7790773960a9f5ef6d974a7695752b4f2286d1549c2ca2d8f99b6401deb4e6da11e56bf6ce1fcf828370b072d75
+DIST evilwm-1.4.2.tar.gz 73716 BLAKE2B dbdeb914efe1002a3d3e97942d9b8ee22a3506aec4232cc59d5cb7fe61ee2bcbf08eaa5cc1d55151acd2c41f5fe7128cf0238ac844e91d61fc6afcb9162792e1 SHA512 07f1d82a611b95606ef137bb76599f8eef4bc27bf90eae9f5aa15bc806808c3bc4e1d7e821cebe1651b134d03f2b129e336b95e9659f0509d9711faab9bd00ba
diff --git a/x11-wm/evilwm/evilwm-1.4.2.ebuild b/x11-wm/evilwm/evilwm-1.4.2.ebuild
new file mode 100644
index 000000000000..78f4f156f7b3
--- /dev/null
+++ b/x11-wm/evilwm/evilwm-1.4.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 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="http://www.6809.org.uk/evilwm/"
+SRC_URI="http://www.6809.org.uk/evilwm/${P}.tar.gz"
+
+LICENSE="MIT 9wm"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc64-solaris"
+IUSE=""
+
+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"
+ sed -e '/Encoding/d' -i ${PN}.desktop || die
+}
+
+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
+}
diff --git a/x11-wm/evilwm/metadata.xml b/x11-wm/evilwm/metadata.xml
index dcac6b0c2a14..5a6d0ebebff6 100644
--- a/x11-wm/evilwm/metadata.xml
+++ b/x11-wm/evilwm/metadata.xml
@@ -14,7 +14,4 @@
real estate and provides good keyboard control. It is currently based on
aewm.
</longdescription>
- <upstream>
- <remote-id type="sourceforge">evilwm</remote-id>
- </upstream>
</pkgmetadata>