summary refs log tree commit diff
path: root/x11-wm
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2018-12-28 01:22:40 +0300
committerazahi <azahi@teknik.io>2018-12-28 01:22:40 +0300
commit8f2f466965f061ce6d6be4443497c0fe6e10a5bc (patch)
tree9999239cbbac3bab7497b28c44dd75cf499d7f8c /x11-wm
Initial
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/i3-gaps/i3-gaps-9999.ebuild81
-rw-r--r--x11-wm/i3-gaps/metadata.xml8
-rw-r--r--x11-wm/wmutils-opt/Manifest1
-rw-r--r--x11-wm/wmutils-opt/metadata.xml8
-rw-r--r--x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild24
-rw-r--r--x11-wm/wmutils/Manifest1
-rw-r--r--x11-wm/wmutils/metadata.xml8
-rw-r--r--x11-wm/wmutils/wmutils-1.4.ebuild26
8 files changed, 157 insertions, 0 deletions
diff --git a/x11-wm/i3-gaps/i3-gaps-9999.ebuild b/x11-wm/i3-gaps/i3-gaps-9999.ebuild
new file mode 100644
index 0000000..8cf49e7
--- /dev/null
+++ b/x11-wm/i3-gaps/i3-gaps-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools git-r3
+
+DESCRIPTION="i3 with more features"
+HOMEPAGE="https://github.com/Airblader/i3"
+EGIT_REPO_URI="https://github.com/Airblader/i3.git"
+EGIT_BRANCH="gaps-next"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="dev-libs/libev
+	dev-libs/libpcre
+	>=dev-libs/yajl-2.0.3
+	virtual/pkgconfig
+	>=x11-libs/cairo-1.14.4[X,xcb]
+	x11-libs/libxcb[xkb]
+	x11-libs/libxkbcommon[X]
+	>=x11-libs/pango-1.30.0[X]
+	x11-libs/startup-notification
+	x11-libs/xcb-util
+	x11-libs/xcb-util-cursor
+	x11-libs/xcb-util-keysyms
+	x11-libs/xcb-util-wm
+	x11-libs/xcb-util-xrm
+"
+RDEPEND="${DEPEND}
+	dev-lang/perl
+	dev-perl/AnyEvent-I3
+	dev-perl/JSON-XS
+	!x11-wm/i3
+"
+
+BUILDDIR="${S}/build"
+
+src_prepare() {
+	default
+
+	eautoreconf
+
+	sed -i 's/-non-git//' I3_VERSION
+
+	if has nodoc ${FEATURES}; then
+		sed -e 's/\(AM_CONDITIONAL(\[BUILD_DOCS\],\).*/\1 false)/' \
+			-i configure.ac || die
+	fi
+	if has noman ${FEATURES}; then
+		sed -e 's/\(AM_CONDITIONAL(\[BUILD_MANS\],\).*/\1 false)/' \
+			-i configure.ac || die
+	fi
+
+	cat <<- EOF > "${T}"/i3wm
+		#!/bin/sh
+		exec /usr/bin/i3
+	EOF
+}
+
+src_configure() {
+	mkdir "${BUILDDIR}"
+	cd "${BUILDDIR}" || die
+	../configure
+}
+
+src_compile() {
+	cd "${BUILDDIR}" || die
+	emake V=1
+}
+
+src_install() {
+	cd "${BUILDDIR}" || die
+	emake DESTDIR="${D}" install
+
+	exeinto /etc/X11/Sessions
+	doexe "${T}"/i3wm
+}
diff --git a/x11-wm/i3-gaps/metadata.xml b/x11-wm/i3-gaps/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-wm/i3-gaps/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/x11-wm/wmutils-opt/Manifest b/x11-wm/wmutils-opt/Manifest
new file mode 100644
index 0000000..8dbf65e
--- /dev/null
+++ b/x11-wm/wmutils-opt/Manifest
@@ -0,0 +1 @@
+DIST wmutils-opt-1.0.tar.gz 7959 BLAKE2B 762500870227b503bf976bbad63f716bdf620c7a2417bc293858d59d8df9fb7e7b155e8fdeae6dbc5a02695164c4fae4dc011235db1d7c769591f8e03fb139da SHA512 6626464319a6facc6e86a7a1be03c2eafa82b6f89cdf51129fbbfafd26674764840c6e7f1c5f53f51ee824e9419f7b9f6c3c5bf9ca4855cf9b030302b9ab4d31
diff --git a/x11-wm/wmutils-opt/metadata.xml b/x11-wm/wmutils-opt/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-wm/wmutils-opt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild b/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
new file mode 100644
index 0000000..f00901d
--- /dev/null
+++ b/x11-wm/wmutils-opt/wmutils-opt-1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Optional addons to wmutils"
+HOMEPAGE="https://github.com/wmutils/opt"
+SRC_URI="https://github.com/wmutils/opt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-libs/libxcb"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/opt-${PV}"
+
+src_prepare() {
+	default
+
+	sed -e 's/\ -Os//' -i config.mk || die
+}
diff --git a/x11-wm/wmutils/Manifest b/x11-wm/wmutils/Manifest
new file mode 100644
index 0000000..9ac3a8c
--- /dev/null
+++ b/x11-wm/wmutils/Manifest
@@ -0,0 +1 @@
+DIST wmutils-1.4.tar.gz 10333 BLAKE2B fcb339ab70323f95a7984ad62dbc62a87bfb9d37d06754d3b82bd2ae644a1cb7bdd5d7224a8f2e0d36b9ea44678613e5a16556bae3664a950590b2162cf44c3b SHA512 cdecde223e812494752d877e0e010c0cc7c1ef96e0f9aab7c517f2112f189943c84f958fb2ac4da7068ae2c5e463fe38ec783567ef980d8e63f5d299d746aee9
diff --git a/x11-wm/wmutils/metadata.xml b/x11-wm/wmutils/metadata.xml
new file mode 100644
index 0000000..7869e07
--- /dev/null
+++ b/x11-wm/wmutils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azahi@teknik.io</email>
+		<name>azahi</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/x11-wm/wmutils/wmutils-1.4.ebuild b/x11-wm/wmutils/wmutils-1.4.ebuild
new file mode 100644
index 0000000..b6635bb
--- /dev/null
+++ b/x11-wm/wmutils/wmutils-1.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Set of window manipulation tools"
+HOMEPAGE="https://github.com/wmutils/core"
+SRC_URI="https://github.com/wmutils/core/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-libs/libxcb"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/core-${PV}"
+
+src_prepare() {
+	default
+
+	sed -e 's/\/man/\/share\/man/' -i config.mk || die
+
+	sed -e 's/\-Os//' -i config.mk || die
+}

Consider giving Nix/NixOS a try! <3