summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-04-26 08:07:20 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-04-26 08:07:20 +0000
commit276380ed87213a2aa5b361c2484f5acddedf653e (patch)
tree0ecd98c906d617a71d49e9be26e1621de790ec0e /x11-misc/electricsheep
parentfixing gcc3 issues (#36531) (diff)
downloadhistorical-276380ed87213a2aa5b361c2484f5acddedf653e.tar.gz
historical-276380ed87213a2aa5b361c2484f5acddedf653e.tar.bz2
historical-276380ed87213a2aa5b361c2484f5acddedf653e.zip
dependancy update - media-libs/{alsa-libs,nas}
Diffstat (limited to 'x11-misc/electricsheep')
-rw-r--r--x11-misc/electricsheep/ChangeLog14
-rw-r--r--x11-misc/electricsheep/Manifest5
-rw-r--r--x11-misc/electricsheep/electricsheep-2.5.ebuild88
-rw-r--r--x11-misc/electricsheep/files/digest-electricsheep-2.51
-rw-r--r--x11-misc/electricsheep/metadata.xml9
5 files changed, 115 insertions, 2 deletions
diff --git a/x11-misc/electricsheep/ChangeLog b/x11-misc/electricsheep/ChangeLog
index 02e2379b1ff7..aaa1dd19e2df 100644
--- a/x11-misc/electricsheep/ChangeLog
+++ b/x11-misc/electricsheep/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for x11-misc/electricsheep
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.13 2004/04/14 09:09:01 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/ChangeLog,v 1.14 2004/04/26 08:07:20 dragonheart Exp $
+
+ 26 Apr 2004; Daniel Black <dragonheart@gentoo.org> electricsheep-2.5.ebuild,
+ metadata.xml:
+ Added media-libs/alsa-lib and media-libs/nas to dependancies. This program
+ will use sys-libs/slang and media-libs/aalib if they exist on the system and
+ transform them into dependancies. Emailed author for fix to this.
+
+*electricsheep-2.5 (24 Apr 2004)
+
+ 24 Apr 2004; Daniel Black <dragonheart@gentoo.org> electricsheep-2.5.ebuild,
+ metadata.xml:
+ Version bump. Thanks to Aaron Wilson <unstableaaron@hotmail.com> in bug #47856
14 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> electricsheep-2.4-r2.ebuild:
Added IUSE=
diff --git a/x11-misc/electricsheep/Manifest b/x11-misc/electricsheep/Manifest
index 1bb5ef3564a8..dde7a6db1c48 100644
--- a/x11-misc/electricsheep/Manifest
+++ b/x11-misc/electricsheep/Manifest
@@ -1,4 +1,7 @@
+MD5 bcf163ad73a1791dfcc06b8cf009c71e ChangeLog 2287
MD5 70ad9d89ce93558d71fa33c91c0caafb electricsheep-2.4-r2.ebuild 1564
-MD5 8c924b671c1c37db22b783c014085689 ChangeLog 1749
+MD5 8759382d28aabce121688863a234f1fc electricsheep-2.5.ebuild 2520
+MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
MD5 862e2d24a6032dc901ed480dc85c1f0f files/digest-electricsheep-2.4-r2 69
MD5 87239588d30aa9a05e38a9bd73e53476 files/nice.patch 1442
+MD5 03246081d78231c42811d7e25601da7a files/digest-electricsheep-2.5 69
diff --git a/x11-misc/electricsheep/electricsheep-2.5.ebuild b/x11-misc/electricsheep/electricsheep-2.5.ebuild
new file mode 100644
index 000000000000..7fc373846028
--- /dev/null
+++ b/x11-misc/electricsheep/electricsheep-2.5.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/electricsheep/electricsheep-2.5.ebuild,v 1.1 2004/04/26 08:07:20 dragonheart Exp $
+
+inherit eutils
+
+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"
+
+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/glibc
+ sys-libs/zlib
+ !sparc? ( media-libs/svgalib )
+ !sparc? ( media-libs/alsa-lib )
+ media-libs/nas"
+
+
+#
+# Note about !sparc? ( media-libs/svgalib ) and alsa-lib too
+# 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-libs/nas
+ media-gfx/xloadimage
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/libsdl
+ !sparc? ( media-libs/svgalib )
+ !sparc? ( media-libs/alsa-lib )
+ virtual/glibc
+ sys-libs/zlib"
+
+# Also detects and ties in sys-libs/slang, media-libs/aalib
+# 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
+}
+
+src_install() {
+ # 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
+}
diff --git a/x11-misc/electricsheep/files/digest-electricsheep-2.5 b/x11-misc/electricsheep/files/digest-electricsheep-2.5
new file mode 100644
index 000000000000..d78860848c04
--- /dev/null
+++ b/x11-misc/electricsheep/files/digest-electricsheep-2.5
@@ -0,0 +1 @@
+MD5 310aad5d3e4d58e823b24a28791aa553 electricsheep-2.5.tar.gz 618906
diff --git a/x11-misc/electricsheep/metadata.xml b/x11-misc/electricsheep/metadata.xml
new file mode 100644
index 000000000000..d8b96be3c5cd
--- /dev/null
+++ b/x11-misc/electricsheep/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>bug-wranglers@gentoo.org</email>
+ <description>This package lacks a primary herd or maintainer.</description>
+ </maintainer>
+</pkgmetadata>