# Distributed under the terms of the GNU General Public License v2 EAPI=5 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="GTK+ application for controlling audio volume from system tray/notification area" HOMEPAGE="https://github.com/gen2brain/volti" SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="libnotify X" RDEPEND=">=dev-python/pygtk-2.16 >=dev-python/pyalsaaudio-0.7-r1 dev-python/dbus-python X? ( >=dev-python/python-xlib-0.15_rc1 ) libnotify? ( x11-libs/libnotify )" DEPEND="" src_prepare() { epatch "${FILESDIR}"/fix_dbus.patch #https://bugs.funtoo.org/browse/FL-3835 epatch "${FILESDIR}"/fix_mixer.patch #https://bugs.funtoo.org/browse/FL-3847 distutils-r1_src_prepare } DOCS=( AUTHORS ChangeLog README )