diff options
Diffstat (limited to 'gnome-extra/nautilus-sendto/nautilus-sendto-3.8.5.ebuild')
-rw-r--r-- | gnome-extra/nautilus-sendto/nautilus-sendto-3.8.5.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.5.ebuild b/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.5.ebuild new file mode 100644 index 000000000000..99ff5a458ea4 --- /dev/null +++ b/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.5.ebuild @@ -0,0 +1,43 @@ +# 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 +} |