diff options
-rw-r--r-- | x11-misc/electricsheep/electricsheep-9999-xdg-utils.patch | 15 | ||||
-rw-r--r-- | x11-misc/electricsheep/electricsheep-9999.ebuild | 53 |
2 files changed, 68 insertions, 0 deletions
diff --git a/x11-misc/electricsheep/electricsheep-9999-xdg-utils.patch b/x11-misc/electricsheep/electricsheep-9999-xdg-utils.patch new file mode 100644 index 0000000..4ca3815 --- /dev/null +++ b/x11-misc/electricsheep/electricsheep-9999-xdg-utils.patch @@ -0,0 +1,15 @@ +Index: client/electricsheep-preferences.c +=================================================================== +--- client/electricsheep-preferences.c (revision 1257) ++++ client/electricsheep-preferences.c (working copy) +@@ -121,8 +121,8 @@ + } + + void on_helpButton_clicked(GtkWidget *widget, gpointer user_data) { +- if (system("gnome-open http://electricsheep.org/client/LNX_" VERSION ".html &")) +- perror("gnome-open"); ++ if (system("xdg-open http://electricsheep.org/client/LNX_" VERSION ".html &")) ++ perror("xdg-open"); + } + + static void tick() { diff --git a/x11-misc/electricsheep/electricsheep-9999.ebuild b/x11-misc/electricsheep/electricsheep-9999.ebuild new file mode 100644 index 0000000..add1764 --- /dev/null +++ b/x11-misc/electricsheep/electricsheep-9999.ebuild @@ -0,0 +1,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="~amd64 ~x86" + +DEPEND="dev-libs/expat + >=dev-util/pkgconfig-0.9.0 + >=gnome-base/libglade-2.5.0:2.0 + media-video/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" +} + |