Skip to content

Commit

Permalink
app-emulation/spice-protocol: live ebuilds
Browse files Browse the repository at this point in the history
Based on the work of Michal Privoznik <[email protected]> to provide
live ebuilds.

Gentoo-Bug: 575652

Package-Manager: portage-2.2.26
Signed-off-by: Doug Goldstein <[email protected]>
  • Loading branch information
cardoe committed Mar 2, 2016
1 parent 0d6cb9a commit c0e3b86
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions app-emulation/spice-protocol/spice-protocol-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c0e3b86

Please sign in to comment.