1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="small and simple window manager of novel design"
9 HOMEPAGE="http://www.nickgravgaard.com/windowlab/"
10 SRC_URI="http://www.nickgravgaard.com/${PN}/${P}.tar"
14 KEYWORDS="amd64 ~mips ppc x86"
17 RDEPEND="truetype? ( x11-libs/libXft )
23 PATCHES=( "${FILESDIR}/${PN}-1.34-fixed-font.patch"
24 "${FILESDIR}/${P}-gentoo.diff" )
27 if use truetype ; then
29 export EXTRA_INC=$(pkg-config --cflags xft)
30 export EXTRA_LIBS=$(pkg-config --libs xft)
38 exeinto /etc/X11/Sessions
39 cat <<- EOF > "${T}"/${PN}
47 elog "${PN}'s menu config file has been changed from"
48 elog "/etc/X11/${PN}/menurc to /etc/X11/${PN}/${PN}.menurc"