From 88efc473af2b86a25ed0ca2752f2e2eaa2a959d4 Mon Sep 17 00:00:00 2001
From: Jeroen Roovers <jer@gentoo.org>
Date: Thu, 25 Jul 2019 08:34:13 +0200
Subject: x11-wm/ctwm: Version 4.0.3

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Fixes: https://bugs.gentoo.org/690592
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
---
 x11-wm/ctwm/Manifest          |  1 +
 x11-wm/ctwm/ctwm-4.0.3.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 x11-wm/ctwm/ctwm-4.0.3.ebuild

(limited to 'x11-wm')

diff --git a/x11-wm/ctwm/Manifest b/x11-wm/ctwm/Manifest
index 7b0583a8a952..909d5e62ee4f 100644
--- a/x11-wm/ctwm/Manifest
+++ b/x11-wm/ctwm/Manifest
@@ -1,2 +1,3 @@
 DIST ctwm-4.0.1.tar.xz 656776 BLAKE2B 37d6011d04f8d64552a86608a4d3867e6e1b0135f45457886daee6be1ae23ca1e3079caa1a63befd1d17bcc640e40ba0f1ed92e0a0caf2c6182f6e282f012bf7 SHA512 8c5c0bf868ba36cf5acca1ac5dbcea9327f63892698ace5086fabe563632acbb578cefea44ac3de91dc15afdbdce0370169e14156525507b90dc8aca8d305bc6
 DIST ctwm-4.0.2.tar.xz 672608 BLAKE2B b4dc26b9d6ba5aba0a5f1f71363c25065aec0d4d4be7b9772f51117460062f5d7ea17d338e1ad9a89cf1213ca2125a1d203417bdc3f6c95a9b9969477b443a40 SHA512 445151f12084acd44bcf8a7d895e29363411a1a663b93e098fa9db5b96ae5cb43921eaf0695026aff2196117b810b96712a60570f57d6dabbee7fba34d5bd57f
+DIST ctwm-4.0.3.tar.xz 683684 BLAKE2B d16a47a5cd91ab5305da3c02f874d5ad1c71e2c8a3664cd33d5fa0781f4fdc2613407f5b43b4da16bcf89e323eb34b0888c5dbd02598746195991e7870aba0ef SHA512 f9bb2f8f28a050cce0fc2f1f4e00e79acd7c54055016d8483e045d8f5fa9829f8f5d92bb53f0c1d9500f97d6f52cd827ddd15515c84451ea03551025a8ab831d
diff --git a/x11-wm/ctwm/ctwm-4.0.3.ebuild b/x11-wm/ctwm/ctwm-4.0.3.ebuild
new file mode 100644
index 000000000000..63fd567ef40a
--- /dev/null
+++ b/x11-wm/ctwm/ctwm-4.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils
+
+DESCRIPTION="A clean, light window manager"
+HOMEPAGE="https://ctwm.org/"
+SRC_URI="${HOMEPAGE}dist/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND="
+	x11-libs/libICE
+	x11-libs/libSM
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXpm
+	x11-libs/libXt
+"
+DEPEND="
+	${RDEPEND}
+	app-arch/xz-utils
+	app-text/rman
+	virtual/jpeg
+	x11-base/xorg-proto
+"
+
+src_prepare() {
+	cmake-utils_src_prepare
+
+	# implicit 'isspace'
+	sed -i parse.c -e "/<stdio.h>/ a#include <ctype.h>" || die
+}
+
+src_configure() {
+	mycmakeargs=(
+		-DNOMANCOMPRESS=yes
+		-DDOCDIR=/usr/share/doc/${PF}
+	)
+
+	cmake-utils_src_configure
+}
-- 
cgit v1.2.3-65-gdbad