# Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit xfconf DESCRIPTION="Panel for the Xfce desktop environment" HOMEPAGE="http://www.xfce.org/projects/" SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="*" IUSE="debug" RDEPEND=">=dev-libs/dbus-glib-0.100 >=dev-libs/glib-2.24 >=x11-libs/cairo-1 >=x11-libs/gtk+-2.20:2 >=x11-libs/gtk+-3.2:3 x11-libs/libX11 >=x11-libs/libwnck-2.31:1 >=xfce-base/exo-0.8 >=xfce-base/garcon-0.3 >=xfce-base/libxfce4ui-4.11 >=xfce-base/libxfce4util-4.11 >=xfce-base/xfconf-4.10" DEPEND="${RDEPEND} dev-lang/perl dev-util/gtk-doc-am dev-util/intltool sys-devel/gettext virtual/pkgconfig" src_prepare() { epatch "${FILESDIR}"/${PN}-4.12-directory-menu.patch } pkg_setup() { XFCONF=( --docdir="${EPREFIX}"/usr/share/doc/${PF} --enable-gtk3 $(xfconf_use_debug) ) DOCS=( AUTHORS ChangeLog NEWS THANKS ) }