Bump to 3.0.2, from gnome overlay for GNOME 3
authorNirbheek Chauhan <nirbheek@gentoo.org>
Fri, 19 Aug 2011 14:33:38 +0000 (14:33 +0000)
committerNirbheek Chauhan <nirbheek@gentoo.org>
Fri, 19 Aug 2011 14:33:38 +0000 (14:33 +0000)
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64

net-misc/vinagre/ChangeLog
net-misc/vinagre/metadata.xml
net-misc/vinagre/vinagre-3.0.2.ebuild [new file with mode: 0644]

index 72495b3a8bdb08db52592352391791f038ba7fdb..527d3763091dbe96a02fe1e04942d88b60b8ff0e 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/vinagre
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vinagre/ChangeLog,v 1.74 2011/03/27 12:43:28 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vinagre/ChangeLog,v 1.75 2011/08/19 14:33:38 nirbheek Exp $
+
+*vinagre-3.0.2 (19 Aug 2011)
+
+  19 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org> +vinagre-3.0.2.ebuild,
+  metadata.xml:
+  Bump to 3.0.2, from gnome overlay for GNOME 3
 
   27 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
   -vinagre-2.30.2.ebuild:
index 69df4a3b37ffffb7431642285d6b1058017b518c..3a088515351d3564f89c9fc55a491b41be2c8df3 100644 (file)
@@ -2,10 +2,14 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 <herd>gnome</herd>
-<use>
-       <flag name="applet">Enable vinagre applet for <pkg>gnome-base/gnome-panel</pkg>.</flag>
-       <flag name="telepathy">Enable access to remote desktop via a telepathy client.</flag>
-       <flag name="ssh">Enable ssh plugin.</flag>
-</use>
+       <use>
+               <flag name="applet">Enable vinagre applet for
+                       <pkg>gnome-base/gnome-panel</pkg></flag>
+               <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+                       for introspection</flag>
+               <flag name="ssh">Enable ssh plugin using <pkg>x11-libs/vte</pkg></flag>
+               <flag name="telepathy">Enable access to remote desktop via a
+                       <pkg>net-libs/telepathy-glib</pkg> client</flag>
+       </use>
 </pkgmetadata>
 
diff --git a/net-misc/vinagre/vinagre-3.0.2.ebuild b/net-misc/vinagre/vinagre-3.0.2.ebuild
new file mode 100644 (file)
index 0000000..c774849
--- /dev/null
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vinagre/vinagre-3.0.2.ebuild,v 1.1 2011/08/19 14:33:38 nirbheek Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 virtualx
+
+DESCRIPTION="VNC Client for the GNOME Desktop"
+HOMEPAGE="http://www.gnome.org/projects/vinagre/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="applet avahi +introspection +ssh +telepathy test"
+
+RDEPEND=">=dev-libs/glib-2.25.11:2
+       >=x11-libs/gtk+-3.0.3:3
+       >=dev-libs/libpeas-0.7.2[gtk]
+       >=dev-libs/libxml2-2.6.31:2
+       >=net-libs/gtk-vnc-0.4.3[gtk3]
+       >=gnome-base/gnome-keyring-1
+       x11-themes/gnome-icon-theme
+
+       applet? ( >=gnome-base/gnome-panel-2.91 )
+       avahi? ( >=net-dns/avahi-0.6.26[dbus,gtk3] )
+       introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
+       ssh? ( >=x11-libs/vte-0.20:2.90 )
+       telepathy? (
+               dev-libs/dbus-glib
+               >=net-libs/telepathy-glib-0.11.6 )
+"
+DEPEND="${RDEPEND}
+       gnome-base/gnome-common
+       >=dev-lang/perl-5
+       >=dev-util/pkgconfig-0.16
+       >=dev-util/intltool-0.40
+       app-text/scrollkeeper
+       app-text/gnome-doc-utils
+       >=sys-devel/gettext-0.17
+       test? ( ~app-text/docbook-xml-dtd-4.3 )"
+
+pkg_setup() {
+       DOCS="AUTHORS ChangeLog ChangeLog.pre-git NEWS README"
+       # Spice support?
+       G2CONF="${G2CONF}
+               --disable-schemas-compile
+               --disable-scrollkeeper
+               --disable-spice
+               --enable-rdp
+               $(use_with applet panelapplet)
+               $(use_with avahi)
+               $(use_enable introspection)
+               $(use_enable ssh)
+               $(use_with telepathy)"
+}
+
+src_compile() {
+       # Dbus is needed for introspection because it runs vinagre.
+       # Hence, we need X. But that's okay, because dbus auto-exits after a while.
+       # Also, we need the schemas from data/ to run the app for introspection.
+       local updater="${EROOT}${GLIB_COMPILE_SCHEMAS}"
+       ${updater} --allow-any-name "${S}/data" || die
+       GSETTINGS_SCHEMA_DIR=${S}/data Xemake || die
+}
+
+src_install() {
+       gnome2_src_install
+
+       # Remove it's own installation of DOCS that go to $PN instead of $P and aren't ecompressed
+       rm -rf "${ED}"/usr/share/doc/vinagre
+}