# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools git-r3 DESCRIPTION="Lightweight GTK+ clipboard manager. Fork of Parcellite." HOMEPAGE="https://github.com/CristianHenzel/ClipIt" EGIT_REPO_URI="https://github.com/CristianHenzel/ClipIt.git" LICENSE="LGPL-3.0" SLOT="0" KEYWORDS="" IUSE="nls +gtk3" DEPEND=" !gtk3? ( >=x11-libs/gtk+-2.10:2 ) gtk3? ( x11-libs/gtk+:3 ) >=dev-libs/glib-2.14 nls? ( dev-util/intltool sys-devel/gettext ) " RDEPEND="${DEPEND} x11-misc/xdotool " src_prepare(){ eautoreconf } src_configure(){ econf \ $(use_enable nls) \ $(use_with gtk3) } pkg_postinst() { fdo-mime_desktop_database_update } pkg_postrm() { fdo-mime_desktop_database_update }