summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2021-08-30 09:04:38 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-09-03 08:33:31 +0300
commit343928e5a290c05950fa4ad1b45a7ed65b3eb5a3 (patch)
treef3a9ac9a53d8491578baab2ca4793d4a9e834861 /x11-wm/evilwm/evilwm-1.3.1.ebuild
parentapp-editors/featherpad: drop . from USE flag description (diff)
downloadgentoo-343928e5a290c05950fa4ad1b45a7ed65b3eb5a3.tar.gz
gentoo-343928e5a290c05950fa4ad1b45a7ed65b3eb5a3.tar.bz2
gentoo-343928e5a290c05950fa4ad1b45a7ed65b3eb5a3.zip
x11-wm/evilwm: version 1.3.1.
This fixes the problems I've had with 1.1.1 and 1.2.* (the reasons I didn't want to stable them, nor even submitted 1.2.*). Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/22155 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-wm/evilwm/evilwm-1.3.1.ebuild')
-rw-r--r--x11-wm/evilwm/evilwm-1.3.1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/evilwm/evilwm-1.3.1.ebuild b/x11-wm/evilwm/evilwm-1.3.1.ebuild
new file mode 100644
index 000000000000..849578958ea8
--- /dev/null
+++ b/x11-wm/evilwm/evilwm-1.3.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 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
+}