diff options
author | Ian Leitch <port001@gentoo.org> | 2004-01-04 15:07:01 +0000 |
---|---|---|
committer | Ian Leitch <port001@gentoo.org> | 2004-01-04 15:07:01 +0000 |
commit | 58942ec35770fc621e4baae7e67130bd36b75738 (patch) | |
tree | d49aba529c8c40e173a08a15301e79a9bcab39a0 | |
parent | Initial commit #33738 (diff) | |
download | gentoo-2-58942ec35770fc621e4baae7e67130bd36b75738.tar.gz gentoo-2-58942ec35770fc621e4baae7e67130bd36b75738.tar.bz2 gentoo-2-58942ec35770fc621e4baae7e67130bd36b75738.zip |
Initial commit #33738
-rw-r--r-- | x11-misc/fireflies/ChangeLog | 11 | ||||
-rw-r--r-- | x11-misc/fireflies/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/fireflies/files/digest-fireflies-2.06 | 1 | ||||
-rw-r--r-- | x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch | 15 | ||||
-rw-r--r-- | x11-misc/fireflies/files/fireflies-2.06-configure.patch | 14 | ||||
-rw-r--r-- | x11-misc/fireflies/fireflies-2.06.ebuild | 59 | ||||
-rw-r--r-- | x11-misc/fireflies/metadata.xml | 5 |
7 files changed, 110 insertions, 1 deletions
diff --git a/x11-misc/fireflies/ChangeLog b/x11-misc/fireflies/ChangeLog new file mode 100644 index 000000000000..5ac12c9f18c3 --- /dev/null +++ b/x11-misc/fireflies/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for x11-misc/fireflies +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/ChangeLog,v 1.1 2004/01/04 15:06:44 port001 Exp $ + +*fireflies-2.06 (04 Jan 2004) + + 04 Jan 2004; Ian Leitch <port001@gentoo.org> fireflies-2.06.ebuild, + files/fireflies-2.06-Make.include.in.patch, + files/fireflies-2.06-configure.patch: + Initial commit; #33738 + diff --git a/x11-misc/fireflies/Manifest b/x11-misc/fireflies/Manifest index d09dd3c84bfc..1de0728625e6 100644 --- a/x11-misc/fireflies/Manifest +++ b/x11-misc/fireflies/Manifest @@ -1,2 +1,6 @@ -MD5 5a82791c0a4124fc4cee78f9ffad9c17 fireflies-2.06.ebuild 1328 +MD5 e52c4ee8362100344c9f3d974c8db91c fireflies-2.06.ebuild 1423 +MD5 033fcebb73f06ce9d76b0f18744a1daa ChangeLog 432 +MD5 fe402b096905cae8dcb4a503d3a838ac metadata.xml 173 +MD5 8f06653a37476519552c8ed711defae0 files/fireflies-2.06-Make.include.in.patch 667 MD5 4ccda06d3205ecd6959163d9054067dc files/digest-fireflies-2.06 66 +MD5 657df9334348d7fe6574bb1607f08b01 files/fireflies-2.06-configure.patch 412 diff --git a/x11-misc/fireflies/files/digest-fireflies-2.06 b/x11-misc/fireflies/files/digest-fireflies-2.06 new file mode 100644 index 000000000000..f705ddef4e19 --- /dev/null +++ b/x11-misc/fireflies/files/digest-fireflies-2.06 @@ -0,0 +1 @@ +MD5 140162b3cd3b4a02ecc6d4542b68756b fireflies-2.06.tar.gz 200480 diff --git a/x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch b/x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch new file mode 100644 index 000000000000..8c00f9b94faf --- /dev/null +++ b/x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch @@ -0,0 +1,15 @@ +--- /var/tmp/portage/fireflies-2.06/work/fireflies-2.06/Make.include.in 2003-04-17 06:02:52.000000000 +0100 ++++ files/Make.include.in 2003-11-18 18:36:36.000000000 +0000 +@@ -5,8 +5,9 @@ + GL_LIBS = @GL_LIBS@ + OPT_LIBS = @OPT_LIBS@ + +-CFLAGS = -Wall -I../libgfx/include/ $(SDL_CFLAGS) @CFLAGS@ +-LIBS = ../libgfx/src/libgfx.a $(GL_LIBS) $(SDL_LIBS) $(OPT_LIBS) @LIBS@ ++override CFLAGS += -Wall -I../libgfx/include/ $(SDL_CFLAGS) ++override CXXFLAGS += -Wall -I../libgfx/include/ $(SDL_CFLAGS) ++override LIBS += ../libgfx/src/libgfx.a $(GL_LIBS) $(SDL_LIBS) $(OPT_LIBS) + + OBJECTS = arrow.o bait.o firefly.o scene.o tail.o utils.o modes.o @OPT_OBJS@ + PROGRAM = @PROGRAM@ + diff --git a/x11-misc/fireflies/files/fireflies-2.06-configure.patch b/x11-misc/fireflies/files/fireflies-2.06-configure.patch new file mode 100644 index 000000000000..cc9cb9935b98 --- /dev/null +++ b/x11-misc/fireflies/files/fireflies-2.06-configure.patch @@ -0,0 +1,14 @@ +--- /var/tmp/portage/fireflies-2.06/work/fireflies-2.06/configure 2003-06-21 17:04:21.000000000 +0100 ++++ files/configure 2003-11-18 09:43:21.000000000 +0000 +@@ -2889,8 +2889,8 @@ + #define HAVE_SDL 1 + _ACEOF + +- SDL_LIBS="\`sdl-config --libs\`" +- SDL_CFLAGS="\`sdl-config --cflags\`" ++ SDL_LIBS="`sdl-config --libs`" ++ SDL_CFLAGS="`sdl-config --cflags`" + OPT_OBJS="$OPT_OBJS canvas_sdl.o" + fi + + 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 +} diff --git a/x11-misc/fireflies/metadata.xml b/x11-misc/fireflies/metadata.xml new file mode 100644 index 000000000000..2518313f5241 --- /dev/null +++ b/x11-misc/fireflies/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> +</pkgmetadata> |