diff options
author | Leho Kraav <leho@kraav.com> | 2016-06-28 11:57:31 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-06-28 13:35:56 +0000 |
commit | 5b399000e476a9ac5359f9113d86c46b6e1be731 (patch) | |
tree | 049da93f908764a68b98f4a7e7fe561fc235c2ff /x11-misc/gpaste/gpaste-3.20.3.ebuild | |
parent | media-sound/flacon: better replaygain USE description (diff) | |
download | gentoo-5b399000e476a9ac5359f9113d86c46b6e1be731.tar.gz gentoo-5b399000e476a9ac5359f9113d86c46b6e1be731.tar.bz2 gentoo-5b399000e476a9ac5359f9113d86c46b6e1be731.zip |
x11-misc/gpaste: drop 3.16, bump 3.20.3
Closes: https://github.com/gentoo/gentoo/pull/1778
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'x11-misc/gpaste/gpaste-3.20.3.ebuild')
-rw-r--r-- | x11-misc/gpaste/gpaste-3.20.3.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/x11-misc/gpaste/gpaste-3.20.3.ebuild b/x11-misc/gpaste/gpaste-3.20.3.ebuild new file mode 100644 index 000000000000..227ca8d2096b --- /dev/null +++ b/x11-misc/gpaste/gpaste-3.20.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +VALA_USE_DEPEND="vapigen" + +inherit eutils autotools gnome2-utils vala vcs-snapshot + +DESCRIPTION="Clipboard management system" +HOMEPAGE="https://github.com/Keruspe/GPaste" +SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+applet gnome vala" + +CDEPEND=" + dev-libs/appstream-glib + >=dev-libs/glib-2.48:2 + >=dev-libs/gobject-introspection-1.48.0 + sys-apps/dbus + >=x11-libs/gdk-pixbuf-2.34:2 + >=x11-libs/gtk+-3.20:3 + x11-libs/libX11 + x11-libs/libXi + gnome? ( + gnome-base/gnome-control-center:2 + media-libs/clutter + x11-libs/pango + ) +" +RDEPEND="${CDEPEND} + gnome? ( + gnome-base/gnome-shell + ) +" +DEPEND="${CDEPEND} + dev-util/intltool + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + eautoreconf + intltoolize --force --automake || die "intltoolize error" + vala_src_prepare + + if ! use gnome ; then + echo "" > data/control-center.mk || die + fi +} + +src_configure() { + econf \ + $(use_enable vala) \ + $(use_enable applet) \ + --disable-unity \ + $(use_enable gnome gnome-shell-extension) \ + --disable-static \ + --disable-schemas-compile +} + +src_install() { + default + prune_libtool_files +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +} |