From c0e3b8654d1321d0c52c60eb56968cbede3427e2 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 1 Mar 2016 20:49:21 -0600 Subject: [PATCH] app-emulation/spice-protocol: live ebuilds Based on the work of Michal Privoznik to provide live ebuilds. Gentoo-Bug: 575652 Package-Manager: portage-2.2.26 Signed-off-by: Doug Goldstein --- .../spice-protocol/spice-protocol-9999.ebuild | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app-emulation/spice-protocol/spice-protocol-9999.ebuild diff --git a/app-emulation/spice-protocol/spice-protocol-9999.ebuild b/app-emulation/spice-protocol/spice-protocol-9999.ebuild new file mode 100644 index 000000000000..2d21d4c757a4 --- /dev/null +++ b/app-emulation/spice-protocol/spice-protocol-9999.ebuild @@ -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 +} -- 2.26.2