# Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit autotools xdg-utils DESCRIPTION="Emerald Window Decorator" HOMEPAGE="http://www.compiz.org/" SRC_URI="https://github.com/p12tic/${PN}/archive/v${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="*" IUSE="themes" PDEPEND="themes? ( x11-themes/emerald-themes )" RDEPEND=" >=x11-libs/gtk+-2.8.0:2 >=x11-libs/libwnck-2.31.0:1 >=x11-wm/compiz-${PV} " DEPEND="${RDEPEND} >=dev-util/intltool-0.35 virtual/pkgconfig >=sys-devel/gettext-0.15 " src_prepare() { eautoreconf || die "eautoreconf failed" default } pkg_postrm() { xdg_desktop_database_update xdg_icon_cache_update xdg_mimeinfo_database_update } pkg_postinst() { xdg_desktop_database_update xdg_icon_cache_update xdg_mimeinfo_database_update }