aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-wm/cwm/Manifest4
-rw-r--r--x11-wm/cwm/cwm-6.9.ebuild43
-rw-r--r--x11-wm/cwm/cwm-9999.ebuild43
-rw-r--r--x11-wm/cwm/metadata.xml7
4 files changed, 97 insertions, 0 deletions
diff --git a/x11-wm/cwm/Manifest b/x11-wm/cwm/Manifest
new file mode 100644
index 0000000..953a66e
--- /dev/null
+++ b/x11-wm/cwm/Manifest
@@ -0,0 +1,4 @@
+DIST cwm-6.9.tar.gz 49249 BLAKE2B 5ddbaa28039b48ad791380a1a1596c4d3ab80c1c594e663fd4b7b940e3dfd3940fd6aedea966d7be17c2a568856a64b70f9274712cd210d4271b2f703357079f SHA512 6cb65b889c3e0c41c765a5dd350b685745dd1d22e4b363a5da35a759ca6926b3e0d5ce3d38d13b0bddcd4cecae10f3a385f19ff6b7216c0672160671f4e81576
+EBUILD cwm-6.9.ebuild 893 BLAKE2B d2e5ae828f6299ecb1bd095bc9d428b7f0cf92b92d0d54769efa7c0064e2846b2c46bc6656b22b2bc052059630617af5af569dc053a0d45699b79ba1faf2fdb9 SHA512 20c7ac5c4351607cda93f69acaf847bf5193ab14658b8a085e0430cd9a0867d119976a8021c5f1ae7a854f740bede7f7000022cb7080f87f0299ce8ebc6932ff
+EBUILD cwm-9999.ebuild 893 BLAKE2B d2e5ae828f6299ecb1bd095bc9d428b7f0cf92b92d0d54769efa7c0064e2846b2c46bc6656b22b2bc052059630617af5af569dc053a0d45699b79ba1faf2fdb9 SHA512 20c7ac5c4351607cda93f69acaf847bf5193ab14658b8a085e0430cd9a0867d119976a8021c5f1ae7a854f740bede7f7000022cb7080f87f0299ce8ebc6932ff
+MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/x11-wm/cwm/cwm-6.9.ebuild b/x11-wm/cwm/cwm-6.9.ebuild
new file mode 100644
index 0000000..f786032
--- /dev/null
+++ b/x11-wm/cwm/cwm-6.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="A Linux port and fork of OpenBSD's cwm(1)"
+HOMEPAGE="https://git.oriole.systems/cwm/about/
+ https://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/
+"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.oriole.systems/cwm"
+else
+ SRC_URI="https://git.oriole.systems/cwm/snapshot/${P}.tar.gz"
+ KEYWORDS="amd64 ~arm ~arm64 x86"
+fi
+
+RESTRICT="mirror"
+
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ sys-devel/bison
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ make_session_desktop ${PN} ${PN}
+}
diff --git a/x11-wm/cwm/cwm-9999.ebuild b/x11-wm/cwm/cwm-9999.ebuild
new file mode 100644
index 0000000..f786032
--- /dev/null
+++ b/x11-wm/cwm/cwm-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="A Linux port and fork of OpenBSD's cwm(1)"
+HOMEPAGE="https://git.oriole.systems/cwm/about/
+ https://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/
+"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.oriole.systems/cwm"
+else
+ SRC_URI="https://git.oriole.systems/cwm/snapshot/${P}.tar.gz"
+ KEYWORDS="amd64 ~arm ~arm64 x86"
+fi
+
+RESTRICT="mirror"
+
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ sys-devel/bison
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ make_session_desktop ${PN} ${PN}
+}
diff --git a/x11-wm/cwm/metadata.xml b/x11-wm/cwm/metadata.xml
new file mode 100644
index 0000000..c544433
--- /dev/null
+++ b/x11-wm/cwm/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+</pkgmetadata>