diff options
Diffstat (limited to 'x11-wm/wmfs/wmfs-99999999.ebuild')
-rw-r--r-- | x11-wm/wmfs/wmfs-99999999.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/x11-wm/wmfs/wmfs-99999999.ebuild b/x11-wm/wmfs/wmfs-99999999.ebuild new file mode 100644 index 000000000000..cf1658314a46 --- /dev/null +++ b/x11-wm/wmfs/wmfs-99999999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils git-r3 + +DESCRIPTION="Window Manager From Scratch, A tiling window manager highly configurable" +HOMEPAGE="https://github.com/xorg62/wmfs" +EGIT_REPO_URI="${HOMEPAGE}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="+imlib2 +xinerama" + +RDEPEND=" + media-libs/freetype + media-libs/imlib2[X] + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXinerama + x11-libs/libXrandr +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/randrproto + x11-proto/xineramaproto + x11-proto/xproto +" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-99999999-desktop.patch + + sed -i -e '/^which dpkg/s|.*|false|g' configure || die +} + +src_configure() { + # not autotools based + local ECHO + for ECHO in echo ''; do + ${ECHO} sh configure \ + $(usex xinerama '' --without-xinerama) \ + $(usex imlib2 '' --without-imlib2) \ + --prefix /usr \ + --man-prefix /usr/share/man \ + --xdg-config-dir /etc/xdg \ + || die + done +} + +src_install() { + default + rm -r "${D}"/usr/share/${PN} + dodoc README +} |