summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-06-19 07:25:15 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-06-19 07:25:15 +0000
commit41dd451dd3822ba7a99bd1f826918abb982d9414 (patch)
treeb096156cfa8503a80d895969b6d1d4ebcd877d88 /x11-misc
parentsyntax errors (diff)
downloadgentoo-2-41dd451dd3822ba7a99bd1f826918abb982d9414.tar.gz
gentoo-2-41dd451dd3822ba7a99bd1f826918abb982d9414.tar.bz2
gentoo-2-41dd451dd3822ba7a99bd1f826918abb982d9414.zip
version bump as per bug #93192
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/electricsheep/ChangeLog8
-rw-r--r--x11-misc/electricsheep/Manifest4
-rw-r--r--x11-misc/electricsheep/electricsheep-2.6.2.ebuild92
-rw-r--r--x11-misc/electricsheep/files/digest-electricsheep-2.6.21
4 files changed, 103 insertions, 2 deletions
diff --git a/x11-misc/electricsheep/ChangeLog b/x11-misc/electricsheep/ChangeLog
index 14f9024b5346..c9879b659c44 100644
--- a/x11-misc/electricsheep/ChangeLog
+++ b/x11-misc/electricsheep/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/electricsheep
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.22 2005/03/05 14:54:07 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.23 2005/06/19 07:25:15 dragonheart Exp $
+
+*electricsheep-2.6.2 (19 Jun 2005)
+
+ 19 Jun 2005; Daniel Black <dragonheart@gentoo.org>
+ +electricsheep-2.6.2.ebuild:
+ version bump as per bug #93192. Thanks Allen and others
05 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> electricsheep-2.5.ebuild:
added ~amd64 to KEYWORDS. fixes #84122
diff --git a/x11-misc/electricsheep/Manifest b/x11-misc/electricsheep/Manifest
index 4f090ab0c3c4..9d5818f5a274 100644
--- a/x11-misc/electricsheep/Manifest
+++ b/x11-misc/electricsheep/Manifest
@@ -1,5 +1,7 @@
+MD5 147239369739d228ce5dc930f4524546 ChangeLog 3450
MD5 8d586f168c0d7e4c5f148fa26eb082bd electricsheep-2.5.ebuild 2415
-MD5 6ae7e5c2b2b3e446452bd57de25d01da ChangeLog 3275
MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
+MD5 9567b2be4a8ce49427b0a06918884965 electricsheep-2.6.2.ebuild 2669
+MD5 6dd13bc63ef06db5fa52858aa0cd527e files/digest-electricsheep-2.6.2 72
MD5 87239588d30aa9a05e38a9bd73e53476 files/nice.patch 1442
MD5 03246081d78231c42811d7e25601da7a files/digest-electricsheep-2.5 69
diff --git a/x11-misc/electricsheep/electricsheep-2.6.2.ebuild b/x11-misc/electricsheep/electricsheep-2.6.2.ebuild
new file mode 100644
index 000000000000..80a2c628a66d
--- /dev/null
+++ b/x11-misc/electricsheep/electricsheep-2.6.2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/electricsheep-2.6.2.ebuild,v 1.1 2005/06/19 07:25:15 dragonheart Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="realize the collective dream of sleeping computers from all over the internet"
+HOMEPAGE="http://electricsheep.org/"
+SRC_URI="http://electricsheep.org/${P}.tar.gz"
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64"
+
+DEPEND="virtual/x11
+ dev-libs/expat
+ sys-apps/groff
+ dev-lang/perl
+ >=sys-apps/sed-4
+ media-libs/libmpeg2
+ sys-apps/gawk
+ sys-apps/grep
+ sys-devel/libtool
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/libsdl
+ virtual/libc
+ sys-libs/zlib
+ !sparc? ( media-libs/alsa-lib )"
+
+#
+# I did a ldd /usr/bin/anim-flame /usr/bin/hqi-flame /usr/bin/pick-flame /usr/bin/convert-flame \
+# /usr/bin/mpeg2dec_onroot /usr/bin/electricsheep | cut -f3 -d ' ' | xargs -n 1 qpkg -f -v | sort | uniq
+#
+# on an x86 platform and it listed media-libs/svgalib as a dependancy (hard masked on sparc).
+# I'm removing the dependancy on sparc as hopefully it will work without it.
+
+
+RDEPEND="virtual/x11
+ dev-libs/expat
+ net-misc/curl
+ media-gfx/xloadimage
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/libsdl
+ !sparc? ( media-libs/alsa-lib )
+ virtual/libc
+ sys-libs/zlib"
+
+# Also detects and ties in sys-libs/slang, media-libs/aalib media-libs/svgalib and nas
+# if they exist on the user machine although these aren't deps.
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:/usr/local/share:/usr/share/${PN}:" \
+ electricsheep.c \
+ || die "sed electricsheep.c failed"
+ sed -i '/OPT_CFLAGS=/s:=".*":="$CFLAGS":' \
+ mpeg2dec/configure \
+ || die "sed mpeg2dec failed"
+# epatch ${FILESDIR}/nice.patch
+ filter-flags -fPIC
+}
+
+src_install() {
+
+ ${D}/usr/bin/uniqueid > ${D}/usr/share/electricsheep/electricsheep-uniqueid
+
+ # prevent writing for xscreensaver
+ sed -i "s/^install-data-local:$/install-data-local:\nmy-install-data-local:/" \
+ Makefile || die "sed Makefile failed"
+
+ # install the xscreensaver config file
+ insinto /usr/share/control-center/screensavers
+ doins electricsheep.xml
+
+ # install the main stuff ... flame doesn't create /usr/bin so we have to.
+ dodir /usr/bin
+ make install DESTDIR=${D} || die "make install failed"
+ dodir /usr/share/electricsheep
+ mv ${D}/usr/share/electricsheep-* ${D}/usr/share/electricsheep/
+
+ # remove header files that are installed over libmpeg2
+ rm -rf ${D}/usr/include
+}
+
+pkg_postinst()
+{
+ test -f ${ROOT}/usr/share/electricsheep/electricsheep-uniqueid || ${ROOT}/usr/bin/uniqueid > \
+ ${ROOT}/usr/share/electricsheep/electricsheep-uniqueid
+}
diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.6.2 b/x11-misc/electricsheep/files/digest-electricsheep-2.6.2
new file mode 100644
index 000000000000..cb1d0ae66d36
--- /dev/null
+++ b/x11-misc/electricsheep/files/digest-electricsheep-2.6.2
@@ -0,0 +1 @@
+MD5 8a9f914e1dbf03d750d5b279f01e6c46 electricsheep-2.6.2.tar.gz 1498167