summaryrefslogtreecommitdiff
path: root/x11-misc/electricsheep/electricsheep-9999.ebuild
blob: e3df2c28120873abe5b95add71bac6dd4e11157f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest

inherit autotools eutils flag-o-matic subversion

DESCRIPTION="realize the collective dream of sleeping computers from all over the internet"
HOMEPAGE="http://electricsheep.org/"
SRC_URI=""
ESVN_REPO_URI="http://electricsheep.svn.sourceforge.net/svnroot/electricsheep/trunk/client/"

IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""

DEPEND="dev-libs/expat
	>=dev-util/pkgconfig-0.9.0
	>=gnome-base/libglade-2.5.0:2.0
	virtual/ffmpeg
	sys-libs/zlib
	>=x11-libs/gtk+-2.7.0:2
	x11-libs/libX11
	x11-proto/xproto"
RDEPEND="${DEPEND}
	app-arch/gzip
	=media-gfx/flam3-9999
	media-video/mplayer
	net-misc/curl
	x11-misc/xdg-utils"

src_prepare() {
	epatch "${FILESDIR}"/${P}-xdg-utils.patch
	eautoreconf
}

src_configure() {
	econf --without-gnome
}

src_install() {
	emake install DESTDIR="${D}" || die "make install failed"

	# install the xscreensaver config file
	insinto /usr/share/xscreensaver/config
	doins ${PN}.xml || die "${PN}.xml failed"
}