1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools git-r3
9 DESCRIPTION="An improved dynamic tiling window manager"
10 HOMEPAGE="http://i3wm.org/"
12 EGIT_REPO_URI="git://github.com/i3/i3"
20 CDEPEND="dev-lang/perl
25 x11-libs/libxkbcommon[X]
26 x11-libs/startup-notification
28 x11-libs/xcb-util-cursor
29 x11-libs/xcb-util-keysyms
32 >=x11-libs/pango-1.30.0[X]
33 >=x11-libs/cairo-1.14.4[X,xcb]"
35 doc? ( app-text/asciidoc app-text/xmlto )
45 sed -e '/AC_PATH_PROG(\[PATH_ASCIIDOC/d' -i configure.ac || die
49 cat <<- EOF > "${T}"/i3wm
56 local myeconfargs=( --enable-debug=no ) # otherwise injects -O0 -g
57 econf "${myeconfargs[@]}"
65 emake -C "${CBUILD}" DESTDIR="${D}" install
68 exeinto /etc/X11/Sessions
73 einfo "There are several packages that you may find useful with ${PN} and"
74 einfo "their usage is suggested by the upstream maintainers, namely:"
75 einfo " x11-misc/dmenu"
76 einfo " x11-misc/i3status"
77 einfo " x11-misc/i3lock"
78 einfo "Please refer to their description for additional info."