Skip to content

Instantly share code, notes, and snippets.

@apinsard
Last active August 29, 2015 14:20
Show Gist options
  • Save apinsard/aac3dfbb0e427aa56b07 to your computer and use it in GitHub Desktop.
Save apinsard/aac3dfbb0e427aa56b07 to your computer and use it in GitHub Desktop.
qtile-0.9.1-r1.ebuild
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~*"
DESCRIPTION="A full-featured, hackable tiling window manager written and configured in Python"
HOMEPAGE="http://www.qtile.org/"
LICENSE="MIT"
SLOT="0"
IUSE="dbus widget-google-calendar widget-imap widget-launchbar widget-mpd widget-mpris widget-wlan"
REQUIRED_USE="widget-mpris? ( dbus )"
RDEPEND="x11-libs/pango
>=dev-python/cairocffi-0.6[${PYTHON_USEDEP}]
>=dev-python/cffi-0.8.2[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
>=dev-python/xcffib-0.1.11[${PYTHON_USEDEP}]
dev-python/trollius[${PYTHON_USEDEP}]
dbus? (
dev-python/dbus-python[${PYTHON_USEDEP}]
>=dev-python/pygobject-3.4.2-r1000[${PYTHON_USEDEP}]
)
widget-google-calendar? (
dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/google-api-python-client[${PYTHON_USEDEP}]
dev-python/oauth2client[${PYTHON_USEDEP}]
)
widget-imap? ( dev-python/keyring[${PYTHON_USEDEP}] )
widget-launchbar? ( dev-python/pyxdg[${PYTHON_USEDEP}] )
widget-mpd? ( dev-python/python-mpd[${PYTHON_USEDEP}] )
widget-wlan? ( net-wireless/python-wifi[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
DOCS=( CHANGELOG README.rst )
DISTUTILS_SINGLE_IMPL=true
python_install_all() {
distutils-r1_python_install_all
insinto /usr/share/xsessions
doins resources/qtile.desktop
exeinto /etc/X11/Sessions
newexe "${FILESDIR}"/${PN}-session ${PN}
}
@apinsard
Copy link
Author

This is an outdated version. See https://github.com/apinsard/funtoo-overlay/blob/qtile/x11-wm/qtile/qtile-0.9.1-r2.ebuild for an up-to-date version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment