summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/fireflies/fireflies-2.06.ebuild')
-rw-r--r--x11-misc/fireflies/fireflies-2.06.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/fireflies/fireflies-2.06.ebuild b/x11-misc/fireflies/fireflies-2.06.ebuild
new file mode 100644
index 000000000000..c6c62f40e419
--- /dev/null
+++ b/x11-misc/fireflies/fireflies-2.06.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/fireflies-2.06.ebuild,v 1.1 2004/01/04 15:06:44 port001 Exp $
+
+IUSE=""
+
+DESCRIPTION="Fireflies screensaver: Wicked cool eye candy"
+HOMEPAGE="http://somewhere.fscked.org/${PN}/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="virtual/x11
+ virtual/opengl
+ media-libs/libsdl"
+
+DEPEND="${RDEPEND}
+ x11-libs/fltk"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-configure.patch
+ epatch ${FILESDIR}/${P}-Make.include.in.patch
+}
+
+src_compile() {
+ local myconf
+ local -a mycflagsarr
+ local mycppflags
+
+ myconf="${myconf}
+ --with-bindir=/usr/lib/xscreensaver
+ --with-configdir=/usr/share/control-center/screensavers/"
+ mycflagsarr=($CFLAGS `fltk-config --cflags`)
+ mycppflags="${mycflagsarr[@]##-[^I]*}"
+
+ econf ${myconf} || die
+ emake \
+ CFLAGS="$CFLAGS `fltk-config --cflags`" \
+ LDLIBS="$LDLIBS `fltk-config --ldflags`" \
+ LDFLAGS="$LDFLAGS `fltk-config --ldflags`" \
+ CPPFLAGS="$CPPFLAGS ${mycppflags}" \
+ || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "install failed"
+ dodoc COPYING COMPILE README TODO
+ dobin add-xscreensaver
+}
+
+pkg_postinst() {
+ einfo
+ einfo "To use fireflies with XScreensaver you need to run"
+ einfo "/usr/bin/add-xscreensaver <path to your .xscreensaver file>"
+ einfo
+}