summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-11 10:11:56 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-11 10:11:56 +0100
commit9aa74a41070321a8e5a24aa159478630584bab44 (patch)
tree5cc35ce2466e9a776b37390342456dd57af48b21 /x11-misc/xowl
parentx11-wm/xoat: Install example configuration files/scripts. (diff)
downloadgentoo-9aa74a41070321a8e5a24aa159478630584bab44.tar.gz
gentoo-9aa74a41070321a8e5a24aa159478630584bab44.tar.bz2
gentoo-9aa74a41070321a8e5a24aa159478630584bab44.zip
x11-misc/xowl: Initial commit.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'x11-misc/xowl')
-rw-r--r--x11-misc/xowl/metadata.xml7
-rw-r--r--x11-misc/xowl/xowl-9999.ebuild47
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/xowl/metadata.xml b/x11-misc/xowl/metadata.xml
new file mode 100644
index 000000000000..fed47a353275
--- /dev/null
+++ b/x11-misc/xowl/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-misc/xowl/xowl-9999.ebuild b/x11-misc/xowl/xowl-9999.ebuild
new file mode 100644
index 000000000000..7964137a2de4
--- /dev/null
+++ b/x11-misc/xowl/xowl-9999.ebuild
@@ -0,0 +1,47 @@
+# 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/xowl"
+EGIT_REPO_URI="https://github.com/seanpringle/xowl"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="
+ x11-libs/libX11
+ x11-libs/libXft
+ x11-libs/libXinerama
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+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 xft xinerama)
+ )
+ echo ${XOAT_COMPILE[@]}
+ ${XOAT_COMPILE[@]} || die
+}
+
+src_install() {
+ dobin xowl
+ dodoc xowl.md
+ doman xowl.1
+ save_config config.h
+}