# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 DESCRIPTION="A little bit like the famous OS X dock but in shape of a pie menu" HOMEPAGE="http://markusfisch.de/PieDock" SRC_URI="http://markusfisch.de/downloads/${P}.tar.bz2 https://github.com/markusfisch/PieDock/commit/a7fda1896f1cc6966ba0fa8912e9b404c1b0be97.patch -> ${P}-gcc6.patch" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="gtk kde" RDEPEND=" media-libs/libpng:0= x11-libs/libX11 x11-libs/libXft x11-libs/libXmu x11-libs/libXrender gtk? ( dev-libs/atk dev-libs/glib x11-libs/gdk-pixbuf x11-libs/gtk+:2 ) kde? ( kde-frameworks/kdelibs:4 dev-qt/qtcore:4 dev-qt/qtgui:4 ) " DEPEND="${RDEPEND}" DOCS=( res/${PN}rc.sample AUTHORS ChangeLog NEWS ) PATCHES=( "${FILESDIR}"/${PN}-1.6.1-signals.patch "${DISTDIR}"/${P}-gcc6.patch ) src_configure() { econf \ $(use_enable gtk) \ $(use_enable kde) \ --bindir="${EPREFIX}"/usr/bin \ --enable-xft \ --enable-xmu \ --enable-xrender }