* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2011-12-25 0:43 Nirbheek Chauhan
0 siblings, 0 replies; 9+ messages in thread
From: Nirbheek Chauhan @ 2011-12-25 0:43 UTC (permalink / raw
To: gentoo-commits
commit: cad539d92eb607f93f3ad9fbbce6e73727a0210c
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 19:09:36 2011 +0000
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 19:10:00 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=cad539d9
net-misc/spice-gtk: bump to 0.7.159
---
...ce-gtk-9999.ebuild => spice-gtk-0.7.159.ebuild} | 10 +++++++---
net-misc/spice-gtk/spice-gtk-9999.ebuild | 10 +++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild
similarity index 90%
copy from net-misc/spice-gtk/spice-gtk-9999.ebuild
copy to net-misc/spice-gtk/spice-gtk-0.7.159.ebuild
index b499340..e3c9bef 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.7.159.ebuild
@@ -27,8 +27,10 @@ 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 )
- >=app-emulation/spice-protocol-0.9.0
+ 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
@@ -62,12 +64,14 @@ src_configure() {
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: usbredir support, needs libusbredirhost and newer libusb
+ # TODO: usbredirection support
+ # needs libusbredirhost, newer libusb, policykit, libacl
econf \
VALAC=$(type -P valac-0.14) \
VAPIGEN=$(type -P vapigen-0.14) \
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index b499340..e3c9bef 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -27,8 +27,10 @@ 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 )
- >=app-emulation/spice-protocol-0.9.0
+ 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
@@ -62,12 +64,14 @@ src_configure() {
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: usbredir support, needs libusbredirhost and newer libusb
+ # TODO: usbredirection support
+ # needs libusbredirhost, newer libusb, policykit, libacl
econf \
VALAC=$(type -P valac-0.14) \
VAPIGEN=$(type -P vapigen-0.14) \
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2012-01-11 4:36 Nirbheek Chauhan
0 siblings, 0 replies; 9+ messages in thread
From: Nirbheek Chauhan @ 2012-01-11 4:36 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2012-05-24 6:09 Alexandre Restovtsev
0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Restovtsev @ 2012-05-24 6:09 UTC (permalink / raw
To: gentoo-commits
commit: efddd81ac39c1c1bfdf373931e4560b264f6dd3c
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Thu May 24 06:09:37 2012 +0000
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Thu May 24 06:09:37 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=efddd81a
net-misc/spice-gtk: sync with gx86
---
net-misc/spice-gtk/spice-gtk-9999.ebuild | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index d324385..012a7b5 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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 $
+# $Header: $
EAPI="4"
GCONF_DEBUG="no"
@@ -25,14 +25,14 @@ else
KEYWORDS="~amd64 ~x86"
fi
IUSE="doc gnome gstreamer gtk3 +introspection kde policykit +pulseaudio
-python sasl static-libs usbredir vala"
+python sasl smartcard 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
media-libs/gst-plugins-base:0.10 )
- >=app-emulation/spice-protocol-0.9.1
+ >=app-emulation/spice-protocol-0.10.1
>=x11-libs/pixman-0.17.7
>=media-libs/celt-0.5.1.1:0.5.1
dev-libs/openssl
@@ -46,12 +46,14 @@ RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) )
python? ( dev-python/pygtk:2 )
sasl? ( dev-libs/cyrus-sasl )
gnome? ( gnome-base/gconf )
+ smartcard? ( app-emulation/libcacard )
usbredir? (
policykit? (
sys-auth/polkit
- sys-apps/acl )
- >=dev-libs/libusb-1.0.9_rc1
- >=sys-apps/usbredir-0.3.1
+ sys-apps/acl
+ >=sys-auth/polkit-0.101 )
+ virtual/libusb:1
+ >=sys-apps/usbredir-0.4.2
sys-fs/udev[gudev] )"
DEPEND="${RDEPEND}
vala? ( dev-lang/vala:0.14 )
@@ -95,11 +97,11 @@ src_configure() {
--with-audio="${audio}" \
$(use_with python) \
$(use_with sasl) \
+ $(use_enable smartcard) \
$(use_enable usbredir) \
$(use_enable policykit polkit) \
$(use_enable vala) \
--with-gtk="${gtk}" \
- --disable-smartcard \
--disable-werror
}
@@ -112,7 +114,7 @@ src_install() {
dodoc AUTHORS NEWS README THANKS TODO
- make_desktop_entry spicy Spicy "" net
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
if use gnome ; then
insinto /etc/gconf/schemas
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2013-12-18 23:08 Gilles Dartiguelongue
0 siblings, 0 replies; 9+ messages in thread
From: Gilles Dartiguelongue @ 2013-12-18 23:08 UTC (permalink / raw
To: gentoo-commits
commit: a0e0085e3cc934df9725d59d0b762c46d269e92b
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 18 23:04:35 2013 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Wed Dec 18 23:04:35 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a0e0085e
net-misc/spice-gtk: sync with gentoo-x86
---
net-misc/spice-gtk/metadata.xml | 27 ++++++
net-misc/spice-gtk/spice-gtk-9999.ebuild | 159 +++++++++++++++++++------------
2 files changed, 126 insertions(+), 60 deletions(-)
diff --git a/net-misc/spice-gtk/metadata.xml b/net-misc/spice-gtk/metadata.xml
new file mode 100644
index 0000000..16dc6e6
--- /dev/null
+++ b/net-misc/spice-gtk/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>virtualization</herd>
+ <maintainer>
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+ <maintainer>
+ <email>nirbheek@gentoo.org</email>
+ <name>Nirbheek Chauhan</name>
+ </maintainer>
+ <use>
+ <flag name="gtk3">Link against <pkg>x11-libs/gtk+:3</pkg> instead of
+ <pkg>x11-libs/gtk+:2</pkg></flag>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+ <flag name="policykit">Enable <pkg>sys-auth/polkit</pkg> support for the
+ usbredir acl helper</flag>
+ <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
+ devices to another machine over TCP</flag>
+ <flag name="vala">Generate <pkg>dev-lang/vala</pkg> bindings using
+ vapigen and regenerate .vala files using valac</flag>
+ <flag name="dbus">Support for desktop integration such as
+ automounting and other APIs exposed by your DE via D-Bus</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index 9093c45..a6290e1 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="4"
+EAPI=5
GCONF_DEBUG="no"
+VALA_MIN_API_VERSION="0.14"
+VALA_USE_DEPEND="vapigen"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils python gnome2-utils
+inherit eutils python-single-r1 vala
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"
@@ -22,119 +23,157 @@ if [[ ${PV} = 9999 ]]; then
KEYWORDS=""
else
SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
fi
-IUSE="doc gnome gstreamer gtk3 +introspection kde policykit +pulseaudio
-python sasl smartcard static-libs usbredir vala"
-
-# TODO: check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
-RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) )
+IUSE="dbus doc gstreamer gtk3 +introspection policykit pulseaudio python sasl smartcard static-libs usbredir vala"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ ?? ( pulseaudio gstreamer )
+"
+
+# TODO:
+# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
+# * use external pnp.ids as soon as that means not pulling in gnome-desktop
+RDEPEND="
+ ${PYTHON_DEPS}
+ pulseaudio? ( media-sound/pulseaudio[glib] )
gstreamer? (
media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10 )
- >=app-emulation/spice-protocol-0.10.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?] )
+ x11-libs/gtk+:2[introspection?]
>=dev-libs/glib-2.26:2
>=x11-libs/cairo-1.2
virtual/jpeg
sys-libs/zlib
+ dbus? ( dev-libs/dbus-glib )
introspection? ( dev-libs/gobject-introspection )
python? ( dev-python/pygtk:2 )
sasl? ( dev-libs/cyrus-sasl )
- gnome? ( gnome-base/gconf )
smartcard? ( app-emulation/libcacard )
usbredir? (
+ sys-apps/hwids
+ >=sys-apps/usbredir-0.4.2
+ virtual/libusb:1
+ virtual/udev[gudev]
policykit? (
- sys-auth/polkit
sys-apps/acl
- >=sys-auth/polkit-0.101 )
- virtual/libusb:1
- >=sys-apps/usbredir-0.4.2
- virtal/udev[gudev] )"
+ >=sys-auth/polkit-0.110-r1
+ !~sys-auth/polkit-0.111 )
+ )"
DEPEND="${RDEPEND}
- vala? ( dev-lang/vala:0.14 )
dev-lang/python
dev-python/pyparsing
+ dev-perl/Text-CSV
>=dev-util/intltool-0.40.0
>=sys-devel/gettext-0.17
- virtual/pkgconfig"
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
if [[ ${PV} = 9999 ]]; then
DEPEND="${DEPEND}
- dev-lang/vala:0.14
+ $(vala_depend)
dev-lang/perl
dev-perl/Text-CSV"
fi
-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
+GTK2_BUILDDIR="${WORKDIR}/${P}_gtk2"
+GTK3_BUILDDIR="${WORKDIR}/${P}_gtk3"
+
+src_prepare() {
+ use vala && vala_src_prepare
+ mkdir ${GTK2_BUILDDIR} ${GTK3_BUILDDIR} || die
}
src_configure() {
+ local myconf
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"
+ use pulseaudio && audio="pulse"
+
if use vala ; then
# force vala regen for MinGW, etc
rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c
fi
- econf --disable-maintainer-mode \
- VALAC=$(type -P valac-0.14) \
- VAPIGEN=$(type -P vapigen-0.14) \
+ myconf="
$(use_enable static-libs static) \
$(use_enable introspection) \
- --with-audio="${audio}" \
+ --with-audio=${audio} \
$(use_with python) \
$(use_with sasl) \
$(use_enable smartcard) \
$(use_enable usbredir) \
+ $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \
+ $(use_with usbredir usb-acl-helper-dir /usr/libexec) \
$(use_enable policykit polkit) \
$(use_enable vala) \
- --with-gtk="${gtk}" \
- --disable-werror
+ $(use_enable dbus) \
+ $(use_enable doc gtk-doc) \
+ --disable-werror \
+ --enable-pie"
+
+ cd ${GTK2_BUILDDIR}
+ echo "Running configure in ${GTK2_BUILDDIR}"
+ ECONF_SOURCE="${S}" econf --disable-maintainer-mode \
+ --with-gtk=2.0 \
+ ${myconf}
+
+ if use gtk3; then
+ cd ${GTK3_BUILDDIR}
+ echo "Running configure in ${GTK3_BUILDDIR}"
+ ECONF_SOURCE="${S}" econf --disable-maintainer-mode \
+ --with-gtk=3.0 \
+ ${myconf}
+ fi
}
-src_install() {
- 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"
+src_compile() {
+ cd ${GTK2_BUILDDIR}
+ einfo "Running make in ${GTK2_BUILDDIR}"
+ default
- dodoc AUTHORS NEWS README THANKS TODO
+ if use gtk3; then
+ cd ${GTK3_BUILDDIR}
+ einfo "Running make in ${GTK3_BUILDDIR}"
+ default
+ fi
+}
- make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
+src_test() {
+ cd ${GTK2_BUILDDIR}
+ einfo "Running make check in ${GTK2_BUILDDIR}"
+ default
- 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"
+ if use gtk3; then
+ cd ${GTK3_BUILDDIR}
+ einfo "Running make check in ${GTK3_BUILDDIR}"
+ default
fi
-
}
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
+src_install() {
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
-pkg_postinst() {
- use gnome && gnome2_gconf_install
-}
+ cd ${GTK2_BUILDDIR}
+ einfo "Running make check in ${GTK2_BUILDDIR}"
+ default
+
+ if use gtk3; then
+ cd ${GTK3_BUILDDIR}
+ einfo "Running make install in ${GTK3_BUILDDIR}"
+ default
+ fi
-pkg_prerm() {
- use gnome && gnome2_gconf_uninstall
+ # Remove .la files if they're not needed
+ use static-libs || prune_libtool_files
+
+ use python && rm -rf "${ED}"/usr/lib*/python*/site-packages/*.la
+
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2014-10-25 21:07 Gilles Dartiguelongue
0 siblings, 0 replies; 9+ messages in thread
From: Gilles Dartiguelongue @ 2014-10-25 21:07 UTC (permalink / raw
To: gentoo-commits
commit: 83e9e3c658a7ca527c40032392ad53c168ab78a2
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 25 20:38:27 2014 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sat Oct 25 20:38:27 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=83e9e3c6
net-misc/spice-gtk: sync with gentoo-x86
---
net-misc/spice-gtk/metadata.xml | 8 ++------
net-misc/spice-gtk/spice-gtk-9999.ebuild | 15 +++++++++------
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/net-misc/spice-gtk/metadata.xml b/net-misc/spice-gtk/metadata.xml
index 16dc6e6..eed50c4 100644
--- a/net-misc/spice-gtk/metadata.xml
+++ b/net-misc/spice-gtk/metadata.xml
@@ -6,15 +6,9 @@
<email>dev-zero@gentoo.org</email>
<name>Tiziano Müller</name>
</maintainer>
- <maintainer>
- <email>nirbheek@gentoo.org</email>
- <name>Nirbheek Chauhan</name>
- </maintainer>
<use>
<flag name="gtk3">Link against <pkg>x11-libs/gtk+:3</pkg> instead of
<pkg>x11-libs/gtk+:2</pkg></flag>
- <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
- for introspection</flag>
<flag name="policykit">Enable <pkg>sys-auth/polkit</pkg> support for the
usbredir acl helper</flag>
<flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
@@ -23,5 +17,7 @@
vapigen and regenerate .vala files using valac</flag>
<flag name="dbus">Support for desktop integration such as
automounting and other APIs exposed by your DE via D-Bus</flag>
+ <flag name="webdav">Support for folder-sharing between guest and client
+ using <pkg>net-libs/phodav</pkg></flag>
</use>
</pkgmetadata>
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index a6290e1..cc95823 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -23,9 +23,9 @@ if [[ ${PV} = 9999 ]]; then
KEYWORDS=""
else
SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
- KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64"
fi
-IUSE="dbus doc gstreamer gtk3 +introspection policykit pulseaudio python sasl smartcard static-libs usbredir vala"
+IUSE="dbus doc gstreamer gtk3 +introspection policykit pulseaudio python sasl smartcard static-libs usbredir vala webdav"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
?? ( pulseaudio gstreamer )
@@ -42,6 +42,7 @@ RDEPEND="
media-libs/gst-plugins-base:0.10 )
>=x11-libs/pixman-0.17.7
>=media-libs/celt-0.5.1.1:0.5.1
+ media-libs/opus
dev-libs/openssl
gtk3? ( x11-libs/gtk+:3[introspection?] )
x11-libs/gtk+:2[introspection?]
@@ -53,17 +54,19 @@ RDEPEND="
introspection? ( dev-libs/gobject-introspection )
python? ( dev-python/pygtk:2 )
sasl? ( dev-libs/cyrus-sasl )
- smartcard? ( app-emulation/libcacard )
+ smartcard? ( app-emulation/qemu[smartcard] )
usbredir? (
sys-apps/hwids
>=sys-apps/usbredir-0.4.2
virtual/libusb:1
- virtual/udev[gudev]
+ virtual/libgudev:=
policykit? (
sys-apps/acl
>=sys-auth/polkit-0.110-r1
!~sys-auth/polkit-0.111 )
- )"
+ )
+ webdav? ( net-libs/phodav )
+"
DEPEND="${RDEPEND}
dev-lang/python
dev-python/pyparsing
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2015-05-14 22:50 Gilles Dartiguelongue
0 siblings, 0 replies; 9+ messages in thread
From: Gilles Dartiguelongue @ 2015-05-14 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 8de4e976aab065421970bcab7023a3c006627fde
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Thu May 14 22:41:53 2015 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Thu May 14 22:41:53 2015 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=8de4e976
net-misc/spice-gtk: fix repoman warnings
net-misc/spice-gtk/metadata.xml | 5 +++--
net-misc/spice-gtk/spice-gtk-0.28.ebuild | 4 ++--
net-misc/spice-gtk/spice-gtk-9999.ebuild | 4 ++--
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/net-misc/spice-gtk/metadata.xml b/net-misc/spice-gtk/metadata.xml
index eed50c4..6d0d973 100644
--- a/net-misc/spice-gtk/metadata.xml
+++ b/net-misc/spice-gtk/metadata.xml
@@ -7,8 +7,9 @@
<name>Tiziano Müller</name>
</maintainer>
<use>
- <flag name="gtk3">Link against <pkg>x11-libs/gtk+:3</pkg> instead of
- <pkg>x11-libs/gtk+:2</pkg></flag>
+ <flag name="gtk2">Build <pkg>x11-libs/gtk+:2</pkg> based library</flag>
+ <flag name="gtk3">Build <pkg>x11-libs/gtk+:3</pkg> based library</flag>
+ <flag name="lz4">Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg></flag>
<flag name="policykit">Enable <pkg>sys-auth/polkit</pkg> support for the
usbredir acl helper</flag>
<flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
diff --git a/net-misc/spice-gtk/spice-gtk-0.28.ebuild b/net-misc/spice-gtk/spice-gtk-0.28.ebuild
index a5b7599..f5a0a90 100644
--- a/net-misc/spice-gtk/spice-gtk-0.28.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.28.ebuild
@@ -37,12 +37,12 @@ RDEPEND="
>=x11-libs/pixman-0.17.7
>=media-libs/celt-0.5.1.1:0.5.1
media-libs/opus
- dev-libs/openssl
+ dev-libs/openssl:=
gtk2? ( x11-libs/gtk+:2[introspection?] )
gtk3? ( x11-libs/gtk+:3[introspection?] )
>=dev-libs/glib-2.28:2
>=x11-libs/cairo-1.2
- virtual/jpeg
+ virtual/jpeg:=
sys-libs/zlib
introspection? ( dev-libs/gobject-introspection )
lz4? ( app-arch/lz4 )
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index a345ca2..1b8bdd2 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -43,12 +43,12 @@ RDEPEND="
>=x11-libs/pixman-0.17.7
>=media-libs/celt-0.5.1.1:0.5.1
media-libs/opus
- dev-libs/openssl
+ dev-libs/openssl:=
gtk2? ( x11-libs/gtk+:2[introspection?] )
gtk3? ( x11-libs/gtk+:3[introspection?] )
>=dev-libs/glib-2.28:2
>=x11-libs/cairo-1.2
- virtual/jpeg
+ virtual/jpeg:=
sys-libs/zlib
introspection? ( dev-libs/gobject-introspection )
lz4? ( app-arch/lz4 )
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2015-05-24 16:33 Gilles Dartiguelongue
0 siblings, 0 replies; 9+ messages in thread
From: Gilles Dartiguelongue @ 2015-05-24 16:33 UTC (permalink / raw
To: gentoo-commits
commit: ad82653641cca1914c2e2ff0867d911e28cefcaa
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 16:22:49 2015 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun May 24 16:32:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=ad826536
net-misc/spice-gtk: use patched multibuild to support python+gtk variants
net-misc/spice-gtk/spice-gtk-0.28.ebuild | 37 ++++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 9 deletions(-)
diff --git a/net-misc/spice-gtk/spice-gtk-0.28.ebuild b/net-misc/spice-gtk/spice-gtk-0.28.ebuild
index f5a0a90..edabb3e 100644
--- a/net-misc/spice-gtk/spice-gtk-0.28.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.28.ebuild
@@ -10,7 +10,7 @@ VALA_USE_DEPEND="vapigen"
PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils multibuild python-single-r1 vala
+inherit autotools eutils multibuild python-r1 vala
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"
@@ -87,6 +87,14 @@ src_prepare() {
use vala && vala_src_prepare
}
+filter_combination() {
+ if [[ ${MULTIBUILD_VARIANT} = "2.0" ]] && use python ; then
+ python_foreach_impl $@
+ else
+ $@
+ fi
+}
+
src_configure() {
local myconf
local audio="no"
@@ -104,7 +112,6 @@ src_configure() {
$(use_enable static-libs static) \
$(use_enable introspection) \
--with-audio=${audio} \
- $(use_with python) \
$(use_with sasl) \
$(use_enable smartcard) \
$(use_enable usbredir) \
@@ -124,25 +131,37 @@ src_configure() {
use gtk3 && MULTIBUILD_VARIANTS+=( 3.0 )
configure() {
- [[ ${MULTIBUILD_VARIANT} != "2.0" ]] && myconf+=( --with-python )
- myconf+=( --with-gtk=${MULTIBUILD_VARIANT} )
- ECONF_SOURCE="${S}" econf ${myconf[@]}
+ local myconf=()
+
+ if [[ ${MULTIBUILD_ID} =~ "python" ]] ; then
+ myconf+=(
+ $(use_with python)
+ --with-gtk=${MULTIBUILD_VARIANT[1]}
+ )
+ else
+ myconf+=(
+ --without-python
+ --with-gtk=${MULTIBUILD_VARIANT}
+ )
+ fi
+
+ ECONF_SOURCE="${S}" econf $@ ${myconf[@]}
}
- multibuild_foreach_variant run_in_build_dir configure
+ multibuild_foreach_variant filter_combination run_in_build_dir configure ${myconf}
}
src_compile() {
- multibuild_foreach_variant run_in_build_dir default
+ multibuild_foreach_variant filter_combination run_in_build_dir default
}
src_test() {
- multibuild_foreach_variant run_in_build_dir default
+ multibuild_foreach_variant filter_combination run_in_build_dir default
}
src_install() {
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
- multibuild_foreach_variant run_in_build_dir default
+ multibuild_foreach_variant filter_combination run_in_build_dir default
# Remove .la files if they're not needed
use static-libs || prune_libtool_files
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2015-06-10 10:37 Gilles Dartiguelongue
0 siblings, 0 replies; 9+ messages in thread
From: Gilles Dartiguelongue @ 2015-06-10 10:37 UTC (permalink / raw
To: gentoo-commits
commit: b3b2517d11230a86579460cf4d586cd7a973cddf
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 9 23:25:13 2015 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Tue Jun 9 23:25:13 2015 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=b3b2517d
net-misc/spice-gtk: 0.28 → 0.28-r1
Rename ebuild to take precedence over gentoo-x86.
net-misc/spice-gtk/{spice-gtk-0.28.ebuild => spice-gtk-0.28-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/net-misc/spice-gtk/spice-gtk-0.28.ebuild b/net-misc/spice-gtk/spice-gtk-0.28-r1.ebuild
similarity index 100%
rename from net-misc/spice-gtk/spice-gtk-0.28.ebuild
rename to net-misc/spice-gtk/spice-gtk-0.28-r1.ebuild
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/
@ 2018-01-12 14:35 Dennis Lamm
0 siblings, 0 replies; 9+ messages in thread
From: Dennis Lamm @ 2018-01-12 14:35 UTC (permalink / raw
To: gentoo-commits
commit: 40d9bca60532ef4a6df217c3f740d5922fe21e16
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 14:35:39 2018 +0000
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 14:35:39 2018 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=40d9bca6
net-misc/spice-gtk: drop old
Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --force
net-misc/spice-gtk/metadata.xml | 37 +++---
net-misc/spice-gtk/spice-gtk-0.28-r1.ebuild | 172 ----------------------------
2 files changed, 16 insertions(+), 193 deletions(-)
diff --git a/net-misc/spice-gtk/metadata.xml b/net-misc/spice-gtk/metadata.xml
index 4f972ad0..92aeee0d 100644
--- a/net-misc/spice-gtk/metadata.xml
+++ b/net-misc/spice-gtk/metadata.xml
@@ -1,27 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>dev-zero@gentoo.org</email>
- <name>Tiziano Müller</name>
- </maintainer>
- <maintainer type="project">
- <email>virtualization@gentoo.org</email>
- <name>Gentoo Virtualization Project</name>
- </maintainer>
- <use>
- <flag name="gtk2">Build <pkg>x11-libs/gtk+:2</pkg> based library</flag>
- <flag name="gtk3">Build <pkg>x11-libs/gtk+:3</pkg> based library</flag>
- <flag name="lz4">Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg></flag>
- <flag name="policykit">Enable <pkg>sys-auth/polkit</pkg> support for the
+ <maintainer type="project">
+ <email>virtualization@gentoo.org</email>
+ <name>Gentoo Virtualization Project</name>
+ </maintainer>
+ <use>
+ <flag name="dbus">Support for desktop integration such as
+ automounting and other APIs exposed by your DE via D-Bus</flag>
+ <flag name="gtk3">Link against <pkg>x11-libs/gtk+</pkg>:3 instead of
+ <pkg>x11-libs/gtk+</pkg>:2</flag>
+ <flag name="lz4">Enable support for LZ4 compression using
+ <pkg>app-arch/lz4</pkg></flag>
+ <flag name="policykit">Enable <pkg>sys-auth/polkit</pkg> support for the
usbredir acl helper</flag>
- <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
+ <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
devices to another machine over TCP</flag>
- <flag name="vala">Generate <pkg>dev-lang/vala</pkg> bindings using
- vapigen and regenerate .vala files using valac</flag>
- <flag name="dbus">Support for desktop integration such as
- automounting and other APIs exposed by your DE via D-Bus</flag>
- <flag name="webdav">Support for folder-sharing between guest and client
- using <pkg>net-libs/phodav</pkg></flag>
- </use>
+ <flag name="webdav">Support for folder-sharing between guest and client
+ using <pkg>net-libs/phodav</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/net-misc/spice-gtk/spice-gtk-0.28-r1.ebuild b/net-misc/spice-gtk/spice-gtk-0.28-r1.ebuild
deleted file mode 100644
index c5be5d1c..00000000
--- a/net-misc/spice-gtk/spice-gtk-0.28-r1.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-GCONF_DEBUG="no"
-WANT_AUTOMAKE="1.12"
-VALA_MIN_API_VERSION="0.14"
-VALA_USE_DEPEND="vapigen"
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools eutils multibuild python-r1 vala
-
-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"
-SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="dbus gstreamer gtk2 gtk3 +introspection lz4 policykit pulseaudio python sasl smartcard static-libs usbredir vala webdav"
-REQUIRED_USE="
- python? ( gtk2 ${PYTHON_REQUIRED_USE} )
- ?? ( pulseaudio gstreamer )
-"
-
-# TODO:
-# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
-# * use external pnp.ids as soon as that means not pulling in gnome-desktop
-RDEPEND="
- ${PYTHON_DEPS}
- pulseaudio? ( media-sound/pulseaudio[glib] )
- gstreamer? (
- media-libs/gstreamer:1.0
- media-libs/gst-plugins-base:1.0 )
- >=x11-libs/pixman-0.17.7
- >=media-libs/celt-0.5.1.1:0.5.1
- media-libs/opus
- dev-libs/openssl:=
- gtk2? ( x11-libs/gtk+:2[introspection?] )
- gtk3? ( x11-libs/gtk+:3[introspection?] )
- >=dev-libs/glib-2.28:2
- >=x11-libs/cairo-1.2
- virtual/jpeg:=
- sys-libs/zlib
- introspection? ( dev-libs/gobject-introspection )
- lz4? ( app-arch/lz4 )
- python? ( dev-python/pygtk:2 )
- sasl? ( dev-libs/cyrus-sasl )
- smartcard? ( app-emulation/qemu[smartcard] )
- usbredir? (
- sys-apps/hwids
- >=sys-apps/usbredir-0.4.2
- virtual/libusb:1
- virtual/libgudev:=
- policykit? (
- sys-apps/acl
- >=sys-auth/polkit-0.110-r1
- !~sys-auth/polkit-0.111 )
- )
- webdav? (
- net-libs/phodav:2.0
- >=dev-libs/glib-2.43.90:2
- >=net-libs/libsoup-2.49.91 )
-"
-DEPEND="${RDEPEND}
- dev-lang/python
- dev-python/pyparsing
- dev-perl/Text-CSV
- >=dev-util/gtk-doc-am-1.14
- >=dev-util/intltool-0.40.0
- >=sys-devel/gettext-0.17
- virtual/pkgconfig
- vala? ( $(vala_depend) )
-"
-
-# Hard-deps while building from git:
-# dev-lang/vala:0.14
-# dev-lang/perl
-
-src_prepare() {
- epatch_user
-
- AT_NO_RECURSIVE="yes" eautoreconf
-
- use vala && vala_src_prepare
-}
-
-filter_combination() {
- if [[ ${MULTIBUILD_VARIANT} = "2.0" ]] && use python ; then
- python_foreach_impl $@
- else
- $@
- fi
-}
-
-src_configure() {
- local myconf
- local audio="no"
-
- use gstreamer && audio="gstreamer"
- use pulseaudio && audio="pulse"
-
- if use vala ; then
- # force vala regen for MinGW, etc
- rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c
- fi
-
- myconf="
- --disable-maintainer-mode \
- $(use_enable static-libs static) \
- $(use_enable introspection) \
- --with-audio=${audio} \
- $(use_with sasl) \
- $(use_enable smartcard) \
- $(use_enable usbredir) \
- $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \
- $(use_with usbredir usb-acl-helper-dir /usr/libexec) \
- $(use_enable policykit polkit) \
- $(use_enable vala) \
- $(use_enable webdav) \
- $(use_enable dbus) \
- --disable-gtk-doc \
- --disable-werror \
- --enable-pie"
-
- # Parameter of --with-gtk
- MULTIBUILD_VARIANTS=( no )
- use gtk2 && MULTIBUILD_VARIANTS+=( 2.0 )
- use gtk3 && MULTIBUILD_VARIANTS+=( 3.0 )
-
- configure() {
- local myconf=()
-
- if [[ ${MULTIBUILD_ID} =~ "python" ]] ; then
- myconf+=(
- $(use_with python)
- --with-gtk=${MULTIBUILD_VARIANT[1]}
- )
- else
- myconf+=(
- --without-python
- --with-gtk=${MULTIBUILD_VARIANT}
- )
- fi
-
- ECONF_SOURCE="${S}" econf $@ ${myconf[@]}
- }
- multibuild_foreach_variant filter_combination run_in_build_dir configure ${myconf}
-}
-
-src_compile() {
- multibuild_foreach_variant filter_combination run_in_build_dir default
-}
-
-src_test() {
- multibuild_foreach_variant filter_combination run_in_build_dir default
-}
-
-src_install() {
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO
-
- multibuild_foreach_variant filter_combination run_in_build_dir default
-
- # Remove .la files if they're not needed
- use static-libs || prune_libtool_files
-
- use python && rm -rf "${ED}"/usr/lib*/python*/site-packages/*.la
-
- make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
-}
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-01-12 14:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 14:35 [gentoo-commits] proj/gnome:master commit in: net-misc/spice-gtk/ Dennis Lamm
-- strict thread matches above, loose matches on Subject: below --
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
2012-01-11 4:36 Nirbheek Chauhan
2011-12-25 0:43 Nirbheek Chauhan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox