diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-06-14 23:21:34 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-06-14 23:21:34 +0000 |
commit | 153128fede1933b778dba6c7f2155cff8a6ae88e (patch) | |
tree | 5c4cfd830ec120c4488b4d9e286fce24f33df613 /gnome-extra/shermans-aquarium | |
parent | new applet (diff) | |
download | gentoo-2-153128fede1933b778dba6c7f2155cff8a6ae88e.tar.gz gentoo-2-153128fede1933b778dba6c7f2155cff8a6ae88e.tar.bz2 gentoo-2-153128fede1933b778dba6c7f2155cff8a6ae88e.zip |
new applet
Diffstat (limited to 'gnome-extra/shermans-aquarium')
4 files changed, 82 insertions, 1 deletions
diff --git a/gnome-extra/shermans-aquarium/ChangeLog b/gnome-extra/shermans-aquarium/ChangeLog new file mode 100644 index 000000000000..f35de266918e --- /dev/null +++ b/gnome-extra/shermans-aquarium/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for gnome-extra/shermans-aquarium +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/shermans-aquarium/ChangeLog,v 1.1 2003/06/14 23:21:26 liquidx Exp $ + +*shermans-aquarium-2.2.0 (15 Jun 2003) + + 15 Jun 2003; Alastair Tse <liquidx@gentoo.org> + shermans-aquarium-2.2.0.ebuild: + New package. Ebuild submitted by Mike Gardiner <driver@iinet.net.au>. + (#10572) + diff --git a/gnome-extra/shermans-aquarium/Manifest b/gnome-extra/shermans-aquarium/Manifest index e919d45b0637..ccfb58caecf3 100644 --- a/gnome-extra/shermans-aquarium/Manifest +++ b/gnome-extra/shermans-aquarium/Manifest @@ -1,2 +1,3 @@ -MD5 be6ead31ab903430b8c7449a0e880eed shermans-aquarium-2.2.0.ebuild 1874 +MD5 75f7cf8f72ed15b3778dd6bcb5ea6098 shermans-aquarium-2.2.0.ebuild 1957 +MD5 27758dc824a02b56856936979c7f28d6 ChangeLog 448 MD5 2e8ccc0d3063621b87a0f12b69420b99 files/digest-shermans-aquarium-2.2.0 75 diff --git a/gnome-extra/shermans-aquarium/files/digest-shermans-aquarium-2.2.0 b/gnome-extra/shermans-aquarium/files/digest-shermans-aquarium-2.2.0 new file mode 100644 index 000000000000..bd7301fec496 --- /dev/null +++ b/gnome-extra/shermans-aquarium/files/digest-shermans-aquarium-2.2.0 @@ -0,0 +1 @@ +MD5 d5c6220272d18799336e0437d776d083 shermans_aquarium-2.2.0.tar.gz 209105 diff --git a/gnome-extra/shermans-aquarium/shermans-aquarium-2.2.0.ebuild b/gnome-extra/shermans-aquarium/shermans-aquarium-2.2.0.ebuild new file mode 100644 index 000000000000..8d503a1fcd98 --- /dev/null +++ b/gnome-extra/shermans-aquarium/shermans-aquarium-2.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/shermans-aquarium/shermans-aquarium-2.2.0.ebuild,v 1.1 2003/06/14 23:21:26 liquidx Exp $ + +MY_P=${PN/-/_}-${PV} +DESCRIPTION="A gnome/wm applet displaying comical fish" +HOMEPAGE="http://aquariumapplet.sourceforge.net" +SRC_URI="mirror://sourceforge/aquariumapplet/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +# this applet contains support for either using gnome1, gnome2, +# gtk1, or gtk2, so we could use something like +# if gtk is enabled, then that infers to build for gnome1 +# if gtk2 is enabled, it infers to build for gnome2 +# it's not possible to cross build (eg, gtk1 and gnome2) +# as outlined in the INSTALL file provided with the source +IUSE="gtk gtk2 sdl" + +DEPEND="x11-base/xfree + !gtk2? ( =x11-libs/gtk+-1.2* + media-libs/gdk-pixbuf + =gnome-base/gnome-applets-1.4* ) + gtk2? ( >=gnome-base/libgnome-2 + >=gnome-base/gnome-applets-2 ) + sdl? ( >=media-libs/libsdl-1.2 + x11-misc/xscreensaver )" + +# redefine ${S} to point to the correct source, needs +# the _ switched for - because of the source naming +S=${WORKDIR}/${MY_P} + +src_compile( ) { + + cd ${S} + local myconf + # if we dont want gtk2 support + if [ -z "`use gtk2`" ]; then + myconf="${myconf} --disable-gtk2 --disable-gnome2" + fi + # if we dont want sdl (fullscreen support) + if [ -z "`use sdl`" ]; then + myconf="${myconf} --disable-fullscreen" + fi + + econf ${myconf} || die + emake || die + +} + +src_install( ) { + + # we need to create some dirs that arent created in the + # Makefile. which ones depend on whether we're building + # for gtk1 or gtk2 + if [ -n "`use gtk2`" ]; then + dodir /usr/lib/bonobo/servers /usr/share/gnome-2.0/ui + else + dodir /etc/CORBA/servers /usr/share/applets/Amusements + fi + dodir /usr/share/pixmaps + make DESTDIR=${D} install || die + + dodoc FAQ README XSCREENSAVER + +} + |