summaryrefslogtreecommitdiff
path: root/gnome-extra/gpaste/gpaste-3.2.2.ebuild
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
committerStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
commit71c20430bd06d80b663fb54d1df67598d804c219 (patch)
tree8ed9e8852b128c270f9197edf597532ac3fd8e11 /gnome-extra/gpaste/gpaste-3.2.2.ebuild
parent35875647a1f4db65a3a7a559479ef8e311acbac2 (diff)
parent975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff)
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'gnome-extra/gpaste/gpaste-3.2.2.ebuild')
-rw-r--r--gnome-extra/gpaste/gpaste-3.2.2.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/gnome-extra/gpaste/gpaste-3.2.2.ebuild b/gnome-extra/gpaste/gpaste-3.2.2.ebuild
new file mode 100644
index 00000000..8b2d48af
--- /dev/null
+++ b/gnome-extra/gpaste/gpaste-3.2.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit bash-completion-r1 gnome2
+
+DESCRIPTION="Clipboard management system"
+HOMEPAGE="http://github.com/Keruspe/GPaste"
+SRC_URI="http://www.imagination-land.org/files/gpaste//${P}.tar.xz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="applet bash-completion +gnome-shell +vala zsh-completion +systemd"
+
+DEPEND=">=dev-libs/glib-2.30:2
+ >=sys-devel/gettext-0.17
+ >=dev-util/intltool-0.40
+ >=x11-libs/gtk+-3.0.0:3
+ dev-libs/libxml2
+ x11-libs/libxcb
+ sys-apps/dbus
+ >=dev-libs/gobject-introspection-1.30.0
+ >=dev-lang/vala-0.22.0:0.22[vapigen]"
+RDEPEND="${DEPEND}
+ bash-completion? ( app-shells/bash )
+ gnome-shell? ( >gnome-base/gnome-shell-3.3.2
+ <gnome-base/gnome-shell-3.10 )
+ zsh-completion? ( app-shells/zsh app-shells/zsh-completion )
+ systemd? ( sys-apps/systemd )"
+
+G2CONF="
+ VALAC=$(type -p valac-0.22)
+ VAPIGEN=$(type -p vapigen-0.22)
+ --disable-schemas-compile
+ $(use_enable applet)
+ $(use_enable gnome-shell gnome-shell-extension)
+ $(use_enable vala)"
+
+
+REQUIRED_USE="|| ( gnome-shell applet )"
+
+src_configure(){
+ econf \
+ $(use_enable systemd)
+}
+
+src_install() {
+ use bash-completion && dobashcomp data/completions/gpaste
+ if use zsh-completion ; then
+ insinto /usr/share/zsh/site-functions
+ doins data/completions/_gpaste
+ fi
+ gnome2_src_install
+ find ${D} -name '*.la' -exec rm -f {} +
+}