diff options
-rw-r--r-- | x11-wm/xoat/metadata.xml | 7 | ||||
-rw-r--r-- | x11-wm/xoat/xoat-9999.ebuild | 48 |
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 +} |