| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/snappy/snappy-0.2.ebuild,v 1.1 2011/06/20 16:31:09 nirbheek Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
if [[ ${PV} = 9999 ]]; then
|
| 8 |
inherit autotools git
|
| 9 |
fi
|
| 10 |
|
| 11 |
DESCRIPTION="A simple media player written using GStreamer and Clutter"
|
| 12 |
HOMEPAGE="https://github.com/luisbg/snappy"
|
| 13 |
|
| 14 |
if [[ ${PV} = 9999 ]]; then
|
| 15 |
EGIT_REPO_URI="git://github.com/luisbg/${PN}.git"
|
| 16 |
EGIT_BOOTSTRAP="eautoreconf"
|
| 17 |
KEYWORDS=""
|
| 18 |
else
|
| 19 |
SRC_URI="http://people.collabora.co.uk/~luisbg/${PN}/${P}.tar.xz"
|
| 20 |
KEYWORDS="~amd64 ~x86"
|
| 21 |
fi
|
| 22 |
|
| 23 |
LICENSE="GPL-2 LGPL-2"
|
| 24 |
SLOT="0"
|
| 25 |
IUSE=""
|
| 26 |
|
| 27 |
RDEPEND=">=dev-libs/glib-2.26:2
|
| 28 |
>=media-libs/clutter-1.2.0:1.0
|
| 29 |
>=media-libs/clutter-gst-1.0.0:1.0
|
| 30 |
x11-libs/libXtst
|
| 31 |
|
| 32 |
>=media-libs/gstreamer-0.10.30:0.10
|
| 33 |
>=media-libs/gst-plugins-base-0.10.30:0.10
|
| 34 |
|
| 35 |
>=media-plugins/gst-plugins-meta-0.10-r2:0.10
|
| 36 |
|
| 37 |
!!net-misc/spice-gtk" # FIXME: File collision -- /usr/bin/snappy
|
| 38 |
DEPEND="${RDEPEND}"
|
| 39 |
|
| 40 |
# Re-add ToDo, docs/ for next release
|
| 41 |
DOCS="AUTHORS README THANKS"
|
| 42 |
|
| 43 |
src_configure() {
|
| 44 |
# Just needs GDBus, will fallback gracefully without dbus installed.
|
| 45 |
# Probably.
|
| 46 |
econf --enable-dbus
|
| 47 |
}
|