From 6c34a869337f4d26161b10ea8fe9b269d0143653 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 11 Mar 2017 09:53:26 +0100 Subject: x11-wm/xoat: Initial commit. Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- x11-wm/xoat/metadata.xml | 7 +++++++ x11-wm/xoat/xoat-9999.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 x11-wm/xoat/metadata.xml create mode 100644 x11-wm/xoat/xoat-9999.ebuild (limited to 'x11-wm/xoat') 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 @@ + + + + +jer@gentoo.org + + 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 +} -- cgit v1.2.3-65-gdbad