From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
Date: Wed, 11 Jan 2012 04:36:49 +0000 (UTC) [thread overview]
Message-ID: <4b7437c00b4e5673711e520dfc0538a0c6c7d5df.nirbheek@gentoo> (raw)
commit: 4b7437c00b4e5673711e520dfc0538a0c6c7d5df
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 03:59:41 2012 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 03:59:41 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=4b7437c0
net-misc/spice-gtk: moved to tree, sync 9999 with tree
---
net-misc/spice-gtk/spice-gtk-0.7.159.ebuild | 123 ---------------------------
net-misc/spice-gtk/spice-gtk-9999.ebuild | 41 ++++++---
2 files changed, 28 insertions(+), 136 deletions(-)
diff --git a/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild b/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild
deleted file mode 100644
index e3c9bef..0000000
--- a/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.7.ebuild,v 1.2 2011/10/19 08:37:10 dev-zero Exp $
-
-EAPI="4"
-GCONF_DEBUG="no"
-
-inherit eutils python gnome2-utils
-if [[ ${PV} = 9999 ]]; then
- inherit gnome2-live
-fi
-
-PYTHON_DEPEND="python? 2"
-
-DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI."
-HOMEPAGE="http://spice-space.org http://gitorious.org/spice-gtk"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-if [[ ${PV} = 9999 ]]; then
- EGIT_REPO_URI="git://anongit.freedesktop.org/spice/${PN}"
- KEYWORDS=""
-else
- SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
-fi
-IUSE="+cairo doc gnome gstreamer gtk3 +introspection kde +pulseaudio python sasl static-libs vala"
-
-RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) )
- gstreamer? (
- media-libs/gstreamer:0.10
- media-libs/gst-plugins-base:0.10 )
- >=app-emulation/spice-protocol-0.9.1
- >=x11-libs/pixman-0.17.7
- >=media-libs/celt-0.5.1.1:0.5.1
- dev-libs/openssl
- gtk3? ( x11-libs/gtk+:3[introspection?] )
- !gtk3? ( x11-libs/gtk+:2[introspection?] )
- >=dev-libs/glib-2.26:2
- >=x11-libs/cairo-1.2
- virtual/jpeg
- sys-libs/zlib
- introspection? ( dev-libs/gobject-introspection )
- python? ( dev-python/pygtk:2 )
- sasl? ( dev-libs/cyrus-sasl )
- gnome? ( gnome-base/gconf )"
-DEPEND="${RDEPEND}
- vala? ( dev-lang/vala:0.14 )
- dev-lang/python
- dev-lang/perl
- dev-perl/Text-CSV
- dev-python/pyparsing
- dev-util/pkgconfig"
-
-pkg_setup() {
- if use gstreamer && use pulseaudio ; then
- ewarn "spice-gtk can use only one audio backend: gstreamer will be used since you enabled both."
- fi
-}
-
-src_configure() {
- local audio="no"
- local gtk="2.0"
-
- use pulseaudio && audio="pulse"
- use gstreamer && audio="gstreamer"
- # TODO: do a double build like gtk-vnc does to install both gtk2 & gtk3 libs
- use gtk3 && gtk="3.0"
- if use vala ; then
- rm -vf gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c # force vala regen
- fi
-
- # TODO: usbredirection support
- # needs libusbredirhost, newer libusb, policykit, libacl
- econf \
- VALAC=$(type -P valac-0.14) \
- VAPIGEN=$(type -P vapigen-0.14) \
- $(use_enable static-libs static) \
- $(use_enable introspection) \
- --with-audio="${audio}" \
- $(use_with !cairo x11) \
- $(use_with python) \
- $(use_with sasl) \
- $(use_enable vala) \
- --with-gtk="${gtk}" \
- --disable-smartcard \
- --disable-usbredir \
- --disable-werror
-}
-
-src_install() {
- emake -j1 DESTDIR="${D}" install || die "emake install failed"
-
- use static-libs || rm -rf "${D}"/usr/lib*/*.la
- use python && rm -rf "${D}"/usr/lib*/python*/site-packages/*.la
- use doc || rm -rf "${D}/usr/share/gtk-doc"
-
- dodoc AUTHORS NEWS README TODO
-
- make_desktop_entry spicy Spicy "" net
-
- if use gnome ; then
- insinto /etc/gconf/schemas
- doins "${FILESDIR}/spice.schemas"
- fi
- if use kde ; then
- insinto /usr/share/kde4/services
- doins "${FILESDIR}/spice.protocol"
- fi
-
-}
-
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
-
-pkg_postinst() {
- use gnome && gnome2_gconf_install
-}
-
-pkg_prerm() {
- use gnome && gnome2_gconf_uninstall
-}
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index e3c9bef..fc11a65 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -24,8 +24,10 @@ else
SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
fi
-IUSE="+cairo doc gnome gstreamer gtk3 +introspection kde +pulseaudio python sasl static-libs vala"
+IUSE="doc gnome gstreamer gtk3 +introspection kde policykit +pulseaudio
+python sasl static-libs usbredir vala"
+# TODO: check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) )
gstreamer? (
media-libs/gstreamer:0.10
@@ -43,14 +45,28 @@ RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) )
introspection? ( dev-libs/gobject-introspection )
python? ( dev-python/pygtk:2 )
sasl? ( dev-libs/cyrus-sasl )
- gnome? ( gnome-base/gconf )"
+ gnome? ( gnome-base/gconf )
+ usbredir? (
+ policykit? (
+ sys-auth/polkit
+ sys-apps/acl )
+ >=dev-libs/libusb-1.0.9_rc1
+ >=sys-apps/usbredir-0.3.1
+ sys-fs/udev[gudev] )"
DEPEND="${RDEPEND}
vala? ( dev-lang/vala:0.14 )
dev-lang/python
- dev-lang/perl
- dev-perl/Text-CSV
dev-python/pyparsing
- dev-util/pkgconfig"
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.40.0
+ >=sys-devel/gettext-0.17"
+
+if [[ ${PV} = 9999 ]]; then
+ DEPEND="${DEPEND}
+ dev-lang/vala:0.14
+ dev-lang/perl
+ dev-perl/Text-CSV"
+fi
pkg_setup() {
if use gstreamer && use pulseaudio ; then
@@ -67,35 +83,34 @@ src_configure() {
# TODO: do a double build like gtk-vnc does to install both gtk2 & gtk3 libs
use gtk3 && gtk="3.0"
if use vala ; then
- rm -vf gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c # force vala regen
+ # force vala regen for MinGW, etc
+ rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c
fi
- # TODO: usbredirection support
- # needs libusbredirhost, newer libusb, policykit, libacl
- econf \
+ econf --disable-maintainer-mode \
VALAC=$(type -P valac-0.14) \
VAPIGEN=$(type -P vapigen-0.14) \
$(use_enable static-libs static) \
$(use_enable introspection) \
--with-audio="${audio}" \
- $(use_with !cairo x11) \
$(use_with python) \
$(use_with sasl) \
+ $(use_enable usbredir) \
+ $(use_enable policykit polkit) \
$(use_enable vala) \
--with-gtk="${gtk}" \
--disable-smartcard \
- --disable-usbredir \
--disable-werror
}
src_install() {
- emake -j1 DESTDIR="${D}" install || die "emake install failed"
+ emake -j1 DESTDIR="${D}" install
use static-libs || rm -rf "${D}"/usr/lib*/*.la
use python && rm -rf "${D}"/usr/lib*/python*/site-packages/*.la
use doc || rm -rf "${D}/usr/share/gtk-doc"
- dodoc AUTHORS NEWS README TODO
+ dodoc AUTHORS NEWS README THANKS TODO
make_desktop_entry spicy Spicy "" net
next reply other threads:[~2012-01-11 4:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 4:36 Nirbheek Chauhan [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-12 14:35 [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/ Dennis Lamm
2015-06-10 10:37 Gilles Dartiguelongue
2015-05-24 16:33 Gilles Dartiguelongue
2015-05-14 22:50 Gilles Dartiguelongue
2014-10-25 21:07 Gilles Dartiguelongue
2013-12-18 23:08 Gilles Dartiguelongue
2012-05-24 6:09 Alexandre Restovtsev
2011-12-25 0:43 Nirbheek Chauhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4b7437c00b4e5673711e520dfc0538a0c6c7d5df.nirbheek@gentoo \
--to=nirbheek@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox