app-emulation/spice-protocol: live ebuilds
authorDoug Goldstein <cardoe@gentoo.org>
Wed, 2 Mar 2016 02:49:21 +0000 (20:49 -0600)
committerDoug Goldstein <cardoe@gentoo.org>
Wed, 2 Mar 2016 02:58:38 +0000 (20:58 -0600)
Based on the work of Michal Privoznik <miso.privoznik@gmail.com> to provide
live ebuilds.

Gentoo-Bug: 575652

Package-Manager: portage-2.2.26
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
app-emulation/spice-protocol/spice-protocol-9999.ebuild [new file with mode: 0644]

diff --git a/app-emulation/spice-protocol/spice-protocol-9999.ebuild b/app-emulation/spice-protocol/spice-protocol-9999.ebuild
new file mode 100644 (file)
index 0000000..2d21d4c
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+if [[ ${PV} = *9999* ]]; then
+       inherit git-2 autotools
+       EGIT_REPO_URI="git://anongit.freedesktop.org/spice/spice-protocol"
+       SRC_URI=""
+       KEYWORDS=""
+else
+       SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
+       KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+DESCRIPTION="Headers defining the SPICE protocol"
+HOMEPAGE="http://spice-space.org/"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       [[ ${PV} = *9999* ]] && eautoreconf
+       default
+}