/[gentoo-x86]/x11-misc/electricsheep/electricsheep-2.7_beta11.ebuild
Gentoo

Contents of /x11-misc/electricsheep/electricsheep-2.7_beta11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Sep 5 08:13:55 2012 UTC (23 months, 3 weeks ago) by jlec
Branch: MAIN
Changes since 1.8: +2 -4 lines
Use domenu instead insinto + doins to install .desktop files

(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/electricsheep-2.7_beta11.ebuild,v 1.8 2012/05/05 04:53:45 jdhore Exp $
4
5 EAPI=2
6 inherit eutils flag-o-matic autotools
7
8 DESCRIPTION="realize the collective dream of sleeping computers from all over the internet"
9 HOMEPAGE="http://electricsheep.org/"
10 SRC_URI="http://dev.gentooexperimental.org/~dreeevil/electricsheep-2.7_beta11.tar.bz2"
11
12 IUSE="" #kde gnome
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16
17 DEPEND="dev-libs/expat
18 >=gnome-base/libglade-2.5.0:2.0
19 virtual/ffmpeg
20 sys-libs/zlib
21 >=x11-libs/gtk+-2.7.0:2
22 x11-libs/libX11"
23 RDEPEND="${DEPEND}
24 app-arch/gzip
25 media-gfx/flam3
26 media-video/mplayer
27 net-misc/curl
28 x11-misc/xdg-utils"
29 # kde? ( kde-base/kscreensaver )
30 # gnome? ( gnome-extra/gnome-screensaver )
31 DEPEND="${DEPEND}
32 virtual/pkgconfig
33 x11-proto/xproto"
34
35 src_prepare() {
36 epatch "${FILESDIR}"/${PN}-xdg-utils.patch \
37 "${FILESDIR}"/${PN}-gnome.patch \
38 "${FILESDIR}"/${P}-asneeded.patch \
39 "${FILESDIR}"/${PN}-ffmpeg.patch
40 eautoreconf
41 }
42
43 src_install() {
44 emake install DESTDIR="${D}" || die "make install failed"
45
46 # install the xscreensaver config file
47 insinto /usr/share/xscreensaver/config
48 doins ${PN}.xml || die "${PN}.xml failed"
49
50 #if use kde; then
51 # set-kdedir
52 # newins ${PN}.desktop{.kde,} || die "${PN}.desktop.kde failed"
53 # insinto "${KDEDIR}/share/applnk/System/ScreenSavers"
54 # newins ${PN}.desktop{.kde,} || die "${PN}.desktop.kde failed"
55 #fi
56
57 #if use gnome; then
58 # domenu ${PN}.desktop || die "${PN}.desktop failed"
59 # exeinto /usr/libexec/gnome-screensaver
60 # doexe ${PN}-saver || die "${PN}-saver failed"
61 #fi
62 }

  ViewVC Help
Powered by ViewVC 1.1.20