1 |
commit: 349cd6691652863d6179e550dcd283dc585a64b2 |
2 |
Author: Doug Goldstein <cardoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 02:57:23 2016 +0000 |
4 |
Commit: Doug Goldstein <cardoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 02:58:41 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=349cd669 |
7 |
|
8 |
app-emulation/spice: add live ebuild |
9 |
|
10 |
Live ebuild from Michal Privoznik <miso.privoznik <AT> gmail.com>. |
11 |
|
12 |
Gentoo-Bug: 575652 |
13 |
|
14 |
Package-Manager: portage-2.2.26 |
15 |
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org> |
16 |
|
17 |
app-emulation/spice/spice-9999.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
18 |
1 file changed, 68 insertions(+) |
19 |
|
20 |
diff --git a/app-emulation/spice/spice-9999.ebuild b/app-emulation/spice/spice-9999.ebuild |
21 |
new file mode 100644 |
22 |
index 0000000..93d4c7a |
23 |
--- /dev/null |
24 |
+++ b/app-emulation/spice/spice-9999.ebuild |
25 |
@@ -0,0 +1,68 @@ |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+EAPI=5 |
31 |
+ |
32 |
+PYTHON_COMPAT=( python{2_7,3_4} ) |
33 |
+ |
34 |
+inherit eutils git-r3 python-any-r1 autotools |
35 |
+ |
36 |
+DESCRIPTION="SPICE server" |
37 |
+HOMEPAGE="http://spice-space.org/" |
38 |
+SRC_URI="" |
39 |
+EGIT_REPO_URI="git://git.freedesktop.org/git/spice/spice" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="" |
44 |
+IUSE="libressl sasl smartcard static-libs" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-libs/glib-2.22:2[static-libs(+)?] |
48 |
+ >=media-libs/celt-0.5.1.1:0.5.1[static-libs(+)?] |
49 |
+ media-libs/opus[static-libs(+)?] |
50 |
+ sys-libs/zlib[static-libs(+)?] |
51 |
+ virtual/jpeg:0=[static-libs(+)?] |
52 |
+ >=x11-libs/pixman-0.17.7[static-libs(+)?] |
53 |
+ !libressl? ( dev-libs/openssl:0[static-libs(+)?] ) |
54 |
+ libressl? ( dev-libs/libressl[static-libs(+)?] ) |
55 |
+ smartcard? ( >=app-emulation/libcacard-0.1.2 ) |
56 |
+ sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ =app-emulation/spice-protocol-9999 |
60 |
+ virtual/pkgconfig |
61 |
+ $(python_gen_any_dep ' |
62 |
+ >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}] |
63 |
+ dev-python/six[${PYTHON_USEDEP}] |
64 |
+ ') |
65 |
+ smartcard? ( app-emulation/qemu[smartcard] ) |
66 |
+ ${RDEPEND}" |
67 |
+ |
68 |
+python_check_deps() { |
69 |
+ has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]" |
70 |
+ has_version "dev-python/six[${PYTHON_USEDEP}]" |
71 |
+} |
72 |
+ |
73 |
+pkg_setup() { |
74 |
+ [[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup |
75 |
+} |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ eautoreconf |
79 |
+ default |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ econf \ |
84 |
+ $(use_enable static-libs static) \ |
85 |
+ $(use_with sasl) \ |
86 |
+ $(use_enable smartcard) \ |
87 |
+ --disable-gui |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ default |
92 |
+ use static-libs || prune_libtool_files |
93 |
+} |