# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit gnome2 DESCRIPTION="A nautilus extension for sending files to locations" HOMEPAGE="https://git.gnome.org/browse/nautilus-sendto/" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" IUSE="debug" RDEPEND=" >=x11-libs/gtk+-2.90.3:3 " DEPEND="${RDEPEND} >=dev-util/gtk-doc-am-1.9 >=dev-util/intltool-0.35 sys-devel/gettext virtual/pkgconfig " # Needed for eautoreconf # >=gnome-base/gnome-common-0.12 src_prepare() { gnome2_src_prepare # Does not require introspection at all, bug #561008 sed -i -e 's/\(^ \+enable_introspection\)=yes/\1=no/' configure || die } src_configure() { gnome2_src_configure \ $(usex debug --enable-debug=yes ' ') } pkg_postinst() { if ! has_version "gnome-base/nautilus[sendto]"; then einfo "Note that ${CATEGORY}/${PN} is meant to be used as a helper by gnome-base/nautilus[sendto]" fi }