Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice/
Date: Sun, 01 May 2016 20:09:21
Message-Id: 1462133338.3d9048dd78b15f39e3e6077ef2f7cc49b471fe0b.tamiko@gentoo
1 commit: 3d9048dd78b15f39e3e6077ef2f7cc49b471fe0b
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 19:45:42 2016 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 20:08:58 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9048dd
7
8 app-emulation/spice: add version 0.12.7
9
10 Package-Manager: portage-2.2.26
11
12 app-emulation/spice/Manifest | 1 +
13 app-emulation/spice/spice-0.12.7.ebuild | 71 +++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/app-emulation/spice/Manifest b/app-emulation/spice/Manifest
17 index de49c76..8328b6f 100644
18 --- a/app-emulation/spice/Manifest
19 +++ b/app-emulation/spice/Manifest
20 @@ -1,2 +1,3 @@
21 DIST spice-0.12.6.tar.bz2 1181088 SHA256 f148ea30135bf80a4f465ce723a1cd6d4ccb34c098b6298a020b378ace8569b6 SHA512 877d9c447a09055c61db7839ae1a2bbd97ab1178d8fd30fff83883064f8a2f269479649e696732095833ed3fda2d0cc0cbe2a420decb89d36d2cf2f18ad9a3db WHIRLPOOL e381cf469a29be9a91ab442ee5f426a44ee569528d9297401df1c927cbf558e9daee7709cd69a4cc6389481b0c5aa26b19e56f0e97576e270d768842581544fe
22 +DIST spice-0.12.7.tar.bz2 1220405 SHA256 1c8e96cb9e833e23372e2f461508135903b697fd8c6daff565e9e87f6d2f6aba SHA512 a740d500d0ccad3edd1f2f71e51c5a120d6ae98e44125f33870c12f5d1eeb30b809e588d05b2d0cadb4216e889b38e57d2278916817538311b875ff22e3b31ae WHIRLPOOL 61ffa3e280a346a2667ddd38dcfd63ffa6c1e6efd0f05da4fad43b00ca5e1a1587411a907b929b75e4d1e72ebcef29621ccdd76dfb313e8f3a5513a5a367132b
23 DIST spice-0.13.1.tar.bz2 1245323 SHA256 9ecb130424da02e90c235c1294f6e759d7c676c5e710587a5c98a1f20f991da2 SHA512 a8e65cc02c802686f2e0c21615401e13b337e050c40938bebefa684abc1ce0e2d478136d0fec481a8ee30ed98f2e2fb909dfbf6cd65e9dfd7093d59f825b95d5 WHIRLPOOL 068d7d26f18435995546d84b0d8d81ced4973773303463e597cf05e1c5accd9ac8554f22032eb55827bebbe6c0fc14915455da24c58fc70b135d955fe3442db7
24
25 diff --git a/app-emulation/spice/spice-0.12.7.ebuild b/app-emulation/spice/spice-0.12.7.ebuild
26 new file mode 100644
27 index 0000000..0e5d130
28 --- /dev/null
29 +++ b/app-emulation/spice/spice-0.12.7.ebuild
30 @@ -0,0 +1,71 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python2_7 python3_4 )
38 +
39 +inherit eutils python-any-r1
40 +
41 +DESCRIPTION="SPICE server"
42 +HOMEPAGE="http://spice-space.org/"
43 +SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
44 +
45 +LICENSE="LGPL-2.1"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="libressl sasl smartcard static-libs"
49 +
50 +# the libspice-server only uses the headers of libcacard
51 +RDEPEND="
52 + >=dev-libs/glib-2.22:2[static-libs(+)?]
53 + >=media-libs/celt-0.5.1.1:0.5.1[static-libs(+)?]
54 + media-libs/opus[static-libs(+)?]
55 + sys-libs/zlib[static-libs(+)?]
56 + virtual/jpeg:0=[static-libs(+)?]
57 + >=x11-libs/pixman-0.17.7[static-libs(+)?]
58 + !libressl? ( dev-libs/openssl:0[static-libs(+)?] )
59 + libressl? ( dev-libs/libressl[static-libs(+)?] )
60 + sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )"
61 +
62 +DEPEND="
63 + ~app-emulation/spice-protocol-0.12.11
64 + virtual/pkgconfig
65 + $(python_gen_any_dep '
66 + >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
67 + dev-python/six[${PYTHON_USEDEP}]
68 + ')
69 + smartcard? ( app-emulation/qemu[smartcard] )
70 + ${RDEPEND}"
71 +
72 +python_check_deps() {
73 + has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
74 + has_version "dev-python/six[${PYTHON_USEDEP}]"
75 +}
76 +
77 +pkg_setup() {
78 + [[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup
79 +}
80 +
81 +# maintainer notes:
82 +# * opengl support is currently broken
83 +
84 +src_prepare() {
85 + epatch "${FILESDIR}/0.11.0-gold.patch"
86 +
87 + epatch_user
88 +}
89 +
90 +src_configure() {
91 + econf \
92 + $(use_enable static-libs static) \
93 + $(use_with sasl) \
94 + $(use_enable smartcard) \
95 + --disable-gui
96 +}
97 +
98 +src_install() {
99 + default
100 + use static-libs || prune_libtool_files
101 +}