summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-09-21 17:56:03 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-09-21 17:56:03 +0000
commit7638dff832fd605901b2f3e3c74575cedf12618e (patch)
treec27a9487b1c20fdcd000da8fb839d24eabeee4a6 /net-misc
parentAdd missing depend on dev-util/intltool. bug #435386 (diff)
downloadhistorical-7638dff832fd605901b2f3e3c74575cedf12618e.tar.gz
historical-7638dff832fd605901b2f3e3c74575cedf12618e.tar.bz2
historical-7638dff832fd605901b2f3e3c74575cedf12618e.zip
Version bumps
Package-Manager: portage-2.2.0_alpha129/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/spice-gtk/ChangeLog9
-rw-r--r--net-misc/spice-gtk/Manifest40
-rw-r--r--net-misc/spice-gtk/spice-gtk-0.13.ebuild117
-rw-r--r--net-misc/spice-gtk/spice-gtk-0.14.ebuild117
4 files changed, 259 insertions, 24 deletions
diff --git a/net-misc/spice-gtk/ChangeLog b/net-misc/spice-gtk/ChangeLog
index 488ecf48172c..40c5545a23db 100644
--- a/net-misc/spice-gtk/ChangeLog
+++ b/net-misc/spice-gtk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/spice-gtk
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.24 2012/06/13 09:27:43 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.25 2012/09/21 17:56:03 cardoe Exp $
+
+*spice-gtk-0.14 (21 Sep 2012)
+*spice-gtk-0.13 (21 Sep 2012)
+
+ 21 Sep 2012; Doug Goldstein <cardoe@gentoo.org> +spice-gtk-0.13.ebuild,
+ +spice-gtk-0.14.ebuild:
+ Version bumps
13 Jun 2012; Tiziano Müller <dev-zero@gentoo.org> spice-gtk-0.12.ebuild:
Do not run eaclocal separately as it does not help. Do not convert shebangs on
diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest
index 33e1bae6a308..344c9ce18699 100644
--- a/net-misc/spice-gtk/Manifest
+++ b/net-misc/spice-gtk/Manifest
@@ -1,23 +1,17 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 0.12-parallel-install.patch 723 RMD160 c691750b939a8d32a4065de4d66e5745b38c9948 SHA1 4bc99c451d310927d2bda76f4afd2d1703766c96 SHA256 8205e16a007ebb481d5cf9ee66b4c698be408038798fa7176287c5c529af572d
-AUX spice.protocol 159 RMD160 21355d8f9f223cfbd6c37431427e882a1c462693 SHA1 fa0b2a8ae28bd93bc70423a99d803f5af5fe5ed3 SHA256 9a13ea202d5b26cbb45874c56df95d30c15a9372e55140426742f249f5b16525
-AUX spice.schemas 1305 RMD160 308a15a26d54874237c8d1698176c1dddbd3c243 SHA1 a6c8fd323ef971924f996857b9d26cabf8a4696d SHA256 aa21d09f57e539a9206d88051f2b4d1a15e9eb3e8ea2d104bdcdcb677801ea14
-DIST spice-gtk-0.11.tar.bz2 868491 RMD160 75883e4a850aab4754e88d175ba1a46c11e54dde SHA1 9de48d1cc1bad0365ebe9f4b2b4a0c322fd2a6eb SHA256 7639876b49efc8bbe5e0668fdbadcd768acc9bbd5235b4856ae632235e784eba
-DIST spice-gtk-0.12.tar.bz2 1134841 RMD160 eb3b7908dc709b2b31bae732ea154afa62c61c8a SHA1 0c532e54e6305b031f228ecb43a0060090f0ed9f SHA256 5eea1622f351988eb6f2eb1a945fee6caba3d4038997a371eaf478ee9d3a00b3
-DIST spice-gtk-0.7.159.tar.bz2 800551 RMD160 f2601be265cff1379cfdf4caf3e2d4291ca7e75f SHA1 8f64c1359b4aa19d004158d5a379f23059ceefb3 SHA256 c154c28778cbf2afef4c3c7f023afe4d0de7d742a2aace38a7358eb56a2c3306
-DIST spice-gtk-0.8.tar.bz2 832151 RMD160 f3e58a66489b1c018438b0663549380c4454828f SHA1 9425c8f455a779516d8e6059ee471e0ddbc1884e SHA256 5d6607eeaace5773467ef881adb072481aca40fe1ac2ecf324ed48766cdb63b4
-EBUILD spice-gtk-0.11.ebuild 3399 RMD160 f8091b3c4c02516a69e299adfb0ef23bb0eb73b6 SHA1 ef7a06cc05d4ce347f7142133bf65c10afbb4d2c SHA256 ab35a890aebd16864d4759cceb93fbc26250cb61c46e50d845ee2fb5580a0218
-EBUILD spice-gtk-0.12.ebuild 3300 RMD160 f2d6f6cc287b176b72bad19922919408737db4c5 SHA1 ea0e392c79df59ea900a8bd43f7fa841e9c35383 SHA256 da2744086780962702ed5fe89a74520a9d5970d6e1bb78b65d0d130fa732e2a3
-EBUILD spice-gtk-0.7.159.ebuild 3299 RMD160 7825a661f1dfed89b3474e96e971db8dc44d0ba5 SHA1 5b3a6bdc6568784439cefea4344b3238256ac551 SHA256 d035917c03f65d13151d3de88c5f104622e2150f4de7647c6a21a38b5af36c37
-EBUILD spice-gtk-0.8.ebuild 3343 RMD160 75cf6c679b47c0afdc5b28aa370259852c6a58f2 SHA1 38070efacfc363adfe42ef43a01855d5a582e786 SHA256 e174c793cdb1a60c335c06b0ceac7ad31e0093832d0952bad64de00238fbd32b
-MISC ChangeLog 4110 RMD160 97370d90eed9cd2689fc78e5578ade034f67d6bb SHA1 4592ccd99d3d6a3ee3002608631d0aa6201ecc55 SHA256 ba9fc631c73f57de00e3b6458f8918b9492b1f2a4f78562ae845ebba14478f1e
-MISC metadata.xml 910 RMD160 3d840aa7b2a3f80b09efd18d9f1492776d99a996 SHA1 9b706dd492282a009bb2a0f4ad8bc7d559196a74 SHA256 b5785797bf26350dd7977d7f67a106aece090b33cfb7987fc95b2030ca382e40
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEARECAAYFAk/YXRQACgkQGwVqY66cHjCxpwCfRbZgSWCkeYVvjQ6AeBimWDlI
-yoMAnjmDJDGcY86JCbhEhvDCOoMguKoH
-=UOhx
------END PGP SIGNATURE-----
+AUX 0.12-parallel-install.patch 723 SHA256 8205e16a007ebb481d5cf9ee66b4c698be408038798fa7176287c5c529af572d SHA512 c6928e2e4e52e65760d7c2d69a44750d4756fea232288835d91eed9ded0d2770d062232283604163a5002565e0c4fc87b776693be5627e629ae588ab0710141c WHIRLPOOL 15af38b3f8986b08e576691fa46744cb42b3ecc51384e86f7f9c1ba2b8a40727684cb8e2529cd748c006bdb8be0bfe93604fb0fe3f90e0cdcc726bdb29f2ff61
+AUX spice.protocol 159 SHA256 9a13ea202d5b26cbb45874c56df95d30c15a9372e55140426742f249f5b16525 SHA512 39be4ab9878e1c2eb77955e80c23b58d33b6695f1177fda675ba35330ac57c7973d354e58c2b3ffa2129badb9202799e9e07db450fbb9b2d0b123a5361e2ebda WHIRLPOOL 1df7713b6e574f23fec5164e89b16909b8a88ab4cde6204dc7f013b52e1a88018fa2a685560996dcb37df5057ce62a482599f5ef7fa217762abc6fb78c627051
+AUX spice.schemas 1305 SHA256 aa21d09f57e539a9206d88051f2b4d1a15e9eb3e8ea2d104bdcdcb677801ea14 SHA512 bf894c8970c92353df0849e532ac46f7e04a3344090ca70c325ea198aa1a10e94a71649f7648a867d18b07fddc2e87be67d82d332965fc5777466e4798bfa33e WHIRLPOOL 593b2c2bad2ec1c975838ac5665a143c96f04e14a9537863eedd58ee1b34653aaa538b1e1e0a81f756c32ecc5ea4b8e08a5f988ff0fc05759633f6610eb27702
+DIST spice-gtk-0.11.tar.bz2 868491 SHA256 7639876b49efc8bbe5e0668fdbadcd768acc9bbd5235b4856ae632235e784eba SHA512 a5e094e02a69c2b8503f6ee00e74bc0fb9c993ecbf5e0fe5f3c6dc1caa689778e1836970916b1d879f805568eaf450724f7e5460da21dd592d8f2de7f6497ef9 WHIRLPOOL f1224144ba14795361913f7ffc5cd77a5f02d628c30f03b1d4d35019f62dc421e61eb280516f86130c959df2a4d0dbbefb28fe4d352f32ae90f7e20acd6e1cb9
+DIST spice-gtk-0.12.tar.bz2 1134841 SHA256 5eea1622f351988eb6f2eb1a945fee6caba3d4038997a371eaf478ee9d3a00b3 SHA512 b8c2edd9ab511dd95d58dc648ad80a2ed96b8ff496dc567e30b0803c7cfeb90044f6f98d7258bde03dba4a1a774ced9cfb65458e562331a905a2cd44004dc53a WHIRLPOOL 2dc016f071362652437ea4d812b8c3e4ca610d544cb96a6cf54389b8a6ff511160ac1178f0ad994264833571997fa649dce1ff40c4cf042eacdbd3908bcfbe5f
+DIST spice-gtk-0.13.tar.bz2 1164771 SHA256 d4a4155d013fb4e0d12750ae30ff92ebf25a47347450a3218106dec858671335 SHA512 8274737a255ea366d7c1939ee8a5109b8bcb09a58b5412720710c2034bf997d59ea245bc48f08fdf9ecc7c5ad12aa560cbbbe9336e8f1304420bceb34715ba67 WHIRLPOOL c99d79ed9d72e3fda3db364d16650c71e2e44719a24779122b2820ee6e290112b21de5ae2252bfa1d62e3fdd94b6db6b481ab69e3e2650687bce6f3ec2655703
+DIST spice-gtk-0.14.tar.bz2 1204821 SHA256 a16fa27364541493b886cc943f72c8f96ec251083af0a29d405a2c4f490274f5 SHA512 64510e098927d856ac8f05c6d9f07626ee280979fd792bb92f188ff11a15ff54b11acd0471a7e30c8f6fbc594a036c6642bd3369c0d231412ea9aece6d07bba1 WHIRLPOOL 16ce4c6cfb863c76026998239b5bbbd912cdeb5044afb8533020eaf255585863f41080bcc598b51efea3dc99b5e678508f1ece3f18a6dbae0d71e4bb81b513b9
+DIST spice-gtk-0.7.159.tar.bz2 800551 SHA256 c154c28778cbf2afef4c3c7f023afe4d0de7d742a2aace38a7358eb56a2c3306 SHA512 5ca9e5a953ae6eb3dcbf994772a8b38a2f574fe173e6c075adb9831f5197270f923d2d9d8747737f79d802d19c191f1c9f332abcc2b0c5787f023960f82f08ae WHIRLPOOL 71556dd4e20091ce6c10b81bb1ae2461e3a939082247d3c77947db7722cf5f5ee6763a4d3957757f7403d0278b3dcea44c5ab84590483b85e704e1da1afe21d8
+DIST spice-gtk-0.8.tar.bz2 832151 SHA256 5d6607eeaace5773467ef881adb072481aca40fe1ac2ecf324ed48766cdb63b4 SHA512 b1a4f86252484eb6856ce3d9fa1dd3a03a83ee9cfa5eebe1458ab3632e87289ecd0bd6a8bce2e2dff7ca4f8d41a9fcd49fd37f8196d9dd145e310c12e38dc96d WHIRLPOOL a9208e446b9cd807d92ef87c5232992e044e6e588d54df75b9b37d108a5fd73ca9072461f6a175d316342a5508c72986179dabbcd2770cd0b1d0453bf24377a3
+EBUILD spice-gtk-0.11.ebuild 3399 SHA256 ab35a890aebd16864d4759cceb93fbc26250cb61c46e50d845ee2fb5580a0218 SHA512 aef3aec022cf369bdb9311a25e25abb66cf38d9e0f1ed6522a66841aeb86d5070f21d0a8c51e94d628fc9fac0100283fb4c71be4348539ce63c42c3199893016 WHIRLPOOL ad69141c5733758287a928ad265865d41c1622cb9b28dd19bbf86b623d0a135c6dcfd4829b2af45906a4991c3043d899bd9a4b2e839eae95b8c678b6ddbba66b
+EBUILD spice-gtk-0.12.ebuild 3300 SHA256 da2744086780962702ed5fe89a74520a9d5970d6e1bb78b65d0d130fa732e2a3 SHA512 d42f1fb02cd19a1d237a5b1f8ac198cc9d0e110576e596c930ddb67ebbb0b0ecc710a876baa0ce7990ed7fb6055b70e9e96989bbf70259a2fcadab921f0bf543 WHIRLPOOL 70c1d9e48aecc5ba4b77172c39176dfb6f6efbd9c7256ce0102e970185cbd1c2510861275cd878fee73bb949bac95680b51b468a646ff6fd3a76174538b390d5
+EBUILD spice-gtk-0.13.ebuild 3298 SHA256 6cad0b4b06f01f74d60ebba17fab9224570915fb9af983046990fb3d2233b5af SHA512 98e466c559c6115ff03d8d4be37e97f8bcb9033d6ae29e3c94e6236c6030f76920b913cd50b73ca567d60877277a57fd3832570cb52822b91c44ce697cb5a05b WHIRLPOOL e24c8e2662c7f34deead5bdfd1576cc755fcb3f9d7dac69dc047ac99f1f317473b221a39b658539ef536d6769e1f08e783184c6dc2d5600759109ca27af734a1
+EBUILD spice-gtk-0.14.ebuild 3298 SHA256 2b0653a27b5365ae77fa3f823603608bcc4d24ab7cd4eb7bb4ba8beb69149853 SHA512 564bb163d0ab1480e1ef4dcbab3a84128182037a0f49583a7e6321237236b22122aa6ce2bf345536e44c5f884068981bc950255a9a44387e6c51ae8c4fdfbab9 WHIRLPOOL c15b92d4e4a8bd946473344ca495bc2d3b09d33a4ca18df6cdb4dfb36f6ce520c0394225662f5d6b135476177f6cb99cc090a83262bf1c9dfbcef4bb295cd2df
+EBUILD spice-gtk-0.7.159.ebuild 3299 SHA256 d035917c03f65d13151d3de88c5f104622e2150f4de7647c6a21a38b5af36c37 SHA512 d8b9d9d50b879871c10898275813381aa246b1f1138bfc15b1ae7beaf55b7febc3bc3a453b16cd80c9ef68b2498144a65010608a243d7abfee7e180a0afd86b2 WHIRLPOOL c1734257586accdf501fa9f35bdf591b41067b1bf898f2808850e5a2fb58e1ca2258c7f59c243cee53e9dac4ca518525dcdfc5ba9e071522d7b6703d84d3e39f
+EBUILD spice-gtk-0.8.ebuild 3343 SHA256 e174c793cdb1a60c335c06b0ceac7ad31e0093832d0952bad64de00238fbd32b SHA512 13563bef43f9d11f85668bcc93eec553a3a9a75ee99b200e09dd14e1a071a8676ac1b0771a92e3b781b7dde23bd01483d12c61361bcd6a7f4c24f4ddabb8622e WHIRLPOOL aaa52446b4cfe349c0777a3bfa3d3d172bc4e4c4b07d9d00dd2aef696db626a5c8c3a6e5d3e88ba093b28a26fa51aa0d0f91d09c3bdf94dff500cd13ab408080
+MISC ChangeLog 4286 SHA256 324aeb8534f635614eb5adc0ad89134d5f5536d2a0f58c9c8f00a40d8feb5855 SHA512 d5b380b984dc9168d85b5711fc324619005adc3a41e91651996dcc187dae85f1f0b3a28445f4a54d581b6cf5028e4a4d4c65f56c20d921f7929c4fccd8079f82 WHIRLPOOL 89dff6bc2cd6fd844ca594cc46150228e739c466b27a595e6ff12dd1b6230ef5f71cb44a1bd92793a0b347ff7ec69190a041bfc1330d7269a523ae42f083b1d1
+MISC metadata.xml 910 SHA256 b5785797bf26350dd7977d7f67a106aece090b33cfb7987fc95b2030ca382e40 SHA512 03e8e92a33dd924be8e1dc604298f4130d9711c19326d5831448da104dd2a35ea7394ed26dcda5b99ebefb3651f782e3a1c7326f23995f51f49862d5847e8d3c WHIRLPOOL 21ba69019c590542bfa1384fb29b4a7d5c5a28ba5e5fa411c3b47a453cf25939dadb0c8c5e56c90b67e652ac1f271421a228f7b0477b0a068e1300754b30cdb8
diff --git a/net-misc/spice-gtk/spice-gtk-0.13.ebuild b/net-misc/spice-gtk/spice-gtk-0.13.ebuild
new file mode 100644
index 000000000000..2b22919e8596
--- /dev/null
+++ b/net-misc/spice-gtk/spice-gtk-0.13.ebuild
@@ -0,0 +1,117 @@
+# 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.13.ebuild,v 1.1 2012/09/21 17:56:03 cardoe Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+WANT_AUTOMAKE="1.11"
+
+inherit autotools eutils python
+
+PYTHON_DEPEND="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"
+SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gstreamer gtk3 +introspection policykit pulseaudio
+python sasl smartcard static-libs usbredir vala"
+
+# 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="pulseaudio? ( media-sound/pulseaudio )
+ gstreamer? ( !pulseaudio? (
+ 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?] )
+ >=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 )
+ smartcard? ( app-emulation/libcacard )
+ usbredir? (
+ sys-apps/hwids
+ policykit? (
+ 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 )
+ dev-lang/python
+ dev-python/pyparsing
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40.0
+ >=sys-devel/gettext-0.17"
+
+# Hard-deps while building from git:
+# dev-lang/vala:0.14
+# dev-lang/perl
+# dev-perl/Text-CSV
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+ if use gstreamer && use pulseaudio ; then
+ ewarn "spice-gtk can use only one audio backend: pulseaudio will be used since you enabled both."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-parallel-install.patch"
+ eautoreconf
+}
+
+src_configure() {
+ local audio="no"
+ local gtk="2.0"
+
+ use gstreamer && audio="gstreamer"
+ use pulseaudio && audio="pulse"
+ # TODO: do a double build like gtk-vnc does to install both gtk2 & gtk3 libs
+ use gtk3 && gtk="3.0"
+ 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) \
+ $(use_enable static-libs static) \
+ $(use_enable introspection) \
+ --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
+}
+
+src_install() {
+ default
+
+ 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"
+
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
+}
diff --git a/net-misc/spice-gtk/spice-gtk-0.14.ebuild b/net-misc/spice-gtk/spice-gtk-0.14.ebuild
new file mode 100644
index 000000000000..fdf84bcd0649
--- /dev/null
+++ b/net-misc/spice-gtk/spice-gtk-0.14.ebuild
@@ -0,0 +1,117 @@
+# 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.14.ebuild,v 1.1 2012/09/21 17:56:03 cardoe Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+WANT_AUTOMAKE="1.11"
+
+inherit autotools eutils python
+
+PYTHON_DEPEND="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"
+SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gstreamer gtk3 +introspection policykit pulseaudio
+python sasl smartcard static-libs usbredir vala"
+
+# 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="pulseaudio? ( media-sound/pulseaudio )
+ gstreamer? ( !pulseaudio? (
+ 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?] )
+ >=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 )
+ smartcard? ( app-emulation/libcacard )
+ usbredir? (
+ sys-apps/hwids
+ policykit? (
+ 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 )
+ dev-lang/python
+ dev-python/pyparsing
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40.0
+ >=sys-devel/gettext-0.17"
+
+# Hard-deps while building from git:
+# dev-lang/vala:0.14
+# dev-lang/perl
+# dev-perl/Text-CSV
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+ if use gstreamer && use pulseaudio ; then
+ ewarn "spice-gtk can use only one audio backend: pulseaudio will be used since you enabled both."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-parallel-install.patch"
+ eautoreconf
+}
+
+src_configure() {
+ local audio="no"
+ local gtk="2.0"
+
+ use gstreamer && audio="gstreamer"
+ use pulseaudio && audio="pulse"
+ # TODO: do a double build like gtk-vnc does to install both gtk2 & gtk3 libs
+ use gtk3 && gtk="3.0"
+ 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) \
+ $(use_enable static-libs static) \
+ $(use_enable introspection) \
+ --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
+}
+
+src_install() {
+ default
+
+ 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"
+
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
+}