summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-11 09:53:26 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-11 09:53:26 +0100
commit6c34a869337f4d26161b10ea8fe9b269d0143653 (patch)
tree3aa55f2e53711aeaf5cd824a378c7c907a054464
parentx11-wm/goomwwm: Add live ebuild. (diff)
downloadgentoo-6c34a869337f4d26161b10ea8fe9b269d0143653.tar.gz
gentoo-6c34a869337f4d26161b10ea8fe9b269d0143653.tar.bz2
gentoo-6c34a869337f4d26161b10ea8fe9b269d0143653.zip
x11-wm/xoat: Initial commit.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
-rw-r--r--x11-wm/xoat/metadata.xml7
-rw-r--r--x11-wm/xoat/xoat-9999.ebuild48
2 files changed, 55 insertions, 0 deletions
diff --git a/x11-wm/xoat/metadata.xml b/x11-wm/xoat/metadata.xml
new file mode 100644
index 000000000000..fed47a353275
--- /dev/null
+++ b/x11-wm/xoat/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>jer@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-wm/xoat/xoat-9999.ebuild b/x11-wm/xoat/xoat-9999.ebuild
new file mode 100644
index 000000000000..97b5709e2170
--- /dev/null
+++ b/x11-wm/xoat/xoat-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic git-r3 savedconfig toolchain-funcs
+
+DESCRIPTION="An obstinate, asymmetric, tiling, window manager for X"
+HOMEPAGE="https://github.com/seanpringle/xoat"
+EGIT_REPO_URI="https://github.com/seanpringle/xoat"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+"
+RDEPEND="
+ ${DEPEND}
+ !savedconfig? ( x11-misc/dmenu )
+"
+
+src_prepare() {
+ default
+ restore_config config.h
+}
+
+src_configure() {
+ tc-export CC PKG_CONFIG
+}
+
+src_compile() {
+ XOAT_COMPILE=(
+ ${CC} -o ${PN} ${PN}.c ${CFLAGS} -std=c99 ${LDFLAGS}
+ $(${PKG_CONFIG} --cflags --libs x11 xinerama xft)
+ )
+ echo ${XOAT_COMPILE[@]}
+ ${XOAT_COMPILE[@]} || die
+}
+
+src_install() {
+ dobin xoat
+ dodoc xoat.md status
+ doman xoat.1
+ save_config config.h
+}