diff options
Diffstat (limited to 'media-gfx/gnome-screenshot/gnome-screenshot-3.14.0-r1.ebuild')
-rw-r--r-- | media-gfx/gnome-screenshot/gnome-screenshot-3.14.0-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/gnome-screenshot/gnome-screenshot-3.14.0-r1.ebuild b/media-gfx/gnome-screenshot/gnome-screenshot-3.14.0-r1.ebuild new file mode 100644 index 000000000000..9c1aeb7e7362 --- /dev/null +++ b/media-gfx/gnome-screenshot/gnome-screenshot-3.14.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit gnome2 readme.gentoo + +DESCRIPTION="Screenshot utility for GNOME" +HOMEPAGE="https://git.gnome.org/browse/gnome-screenshot" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" + +# libcanberra 0.26-r2 is needed for gtk+:3 fixes +COMMON_DEPEND=" + >=dev-libs/glib-2.35.1:2[dbus] + >=media-libs/libcanberra-0.26-r2[gtk3] + x11-libs/cairo + x11-libs/gdk-pixbuf + >=x11-libs/gtk+-3.0.3:3 + x11-libs/libX11 + x11-libs/libXext +" +RDEPEND="${COMMON_DEPEND} + >=gnome-base/gsettings-desktop-schemas-0.1.0 + !<gnome-extra/gnome-utils-3.4 +" +# ${PN} was part of gnome-utils before 3.4 +DEPEND="${COMMON_DEPEND} + x11-proto/xextproto + >=dev-util/intltool-0.40 + virtual/pkgconfig +" + +DOC_CONTENTS="${P} saves screenshots in ~/Pictures/ and defaults to + non-interactive mode when launched from a terminal. If you want to choose + where to save the screenshot, run 'gnome-screenshot --interactive'" + +src_prepare() { + # filename-builder: use dash for time format separator (from 'master') + epatch "${FILESDIR}"/${PN}-3.14.0-use-dash.patch + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} |