summaryrefslogtreecommitdiff
blob: 520adb17bfbc9e3341b7104361c95ce3e8859fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmfs/wmfs-201003.ebuild,v 1.2 2015/06/08 18:23:31 jer Exp $

EAPI=5
inherit cmake-utils eutils

DESCRIPTION="Window Manager From Scratch, A tiling window manager highly configurable"
HOMEPAGE="https://github.com/xorg62/"
SRC_URI="${HOMEPAGE}${PN}/archive/201003.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	media-libs/freetype
	media-libs/imlib2
	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}-201003-desktop.patch \
		"${FILESDIR}"/${PN}-201003-pthread.patch
}

src_install() {
	cmake-utils_src_install
	rm -r "${D}"/usr/share/${PN}
	dodoc README TODO rc/status.sh
}