diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-10-17 14:17:21 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-10-17 14:17:21 +0000 |
commit | c04feeac327852bd81aae6375c092bf354fa9a95 (patch) | |
tree | c564d99d5a06cc87fa7345de9ebad865a70e3241 /media-gfx/gliv | |
parent | Added IUSE (diff) | |
download | gentoo-2-c04feeac327852bd81aae6375c092bf354fa9a95.tar.gz gentoo-2-c04feeac327852bd81aae6375c092bf354fa9a95.tar.bz2 gentoo-2-c04feeac327852bd81aae6375c092bf354fa9a95.zip |
new version
Diffstat (limited to 'media-gfx/gliv')
-rw-r--r-- | media-gfx/gliv/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/gliv/files/digest-gliv-1.6 | 1 | ||||
-rw-r--r-- | media-gfx/gliv/gliv-1.6.ebuild | 59 |
3 files changed, 67 insertions, 1 deletions
diff --git a/media-gfx/gliv/ChangeLog b/media-gfx/gliv/ChangeLog index 8d8189018449..8bf43d1062fb 100644 --- a/media-gfx/gliv/ChangeLog +++ b/media-gfx/gliv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gliv # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/ChangeLog,v 1.6 2002/06/28 20:58:24 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/ChangeLog,v 1.7 2002/10/17 14:17:21 azarah Exp $ + +*gliv-1.6 (17 Oct 2002) + + 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org> : + + Update version. *gliv-1.5.3 (28 Jun 2002) diff --git a/media-gfx/gliv/files/digest-gliv-1.6 b/media-gfx/gliv/files/digest-gliv-1.6 new file mode 100644 index 000000000000..eee8efe17d9c --- /dev/null +++ b/media-gfx/gliv/files/digest-gliv-1.6 @@ -0,0 +1 @@ +MD5 3fb90b401971389996f2d5db0a4e7923 gliv-1.6.tar.bz2 260499 diff --git a/media-gfx/gliv/gliv-1.6.ebuild b/media-gfx/gliv/gliv-1.6.ebuild new file mode 100644 index 000000000000..43621ad30d7b --- /dev/null +++ b/media-gfx/gliv/gliv-1.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.6.ebuild,v 1.1 2002/10/17 14:17:21 azarah Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="An image viewer that uses OpenGL" +SRC_URI="http://gliv.tuxfamily.org/gliv-${PV}.tar.bz2" +HOMEPAGE="http://gliv.tuxfamily.org" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +# Version 1.5.2 and later of gliv can use gtkglarea-1.99.0 or +# later, but will fail to compile if gtk+-2.0 is present, but +# not >=gtkglarea-1.99.0 +# +# The basic theory here is that we just specify: +# +# DEPEND="x11-libs/gtk+ x11-libs/gtkglarea" +# +# which will pull in whatever versions of both that is +# not masked. We then check in src_compile() what version +# of gtkglarea should be used. +# +# Azarah - 20 Jun 2002 + +DEPEND="x11-libs/gtk+ + media-libs/gdk-pixbuf + x11-libs/gtkglarea + virtual/opengl + >=dev-util/pkgconfig-0.12.0" + + +src_compile() { + + local myconf="" + + # Dont use gtk+-2.0 if ! gtkglarea >= 1.99.0 + if ! (pkg-config gtk+-2.0) || ! (pkg-config gtkgl-2.0) + then + einfo "Using Gtk+-1.2 and GtkGL-1.2" + myconf="${myconf} --disable-gtk2" + else + einfo "Using Gtk+-2.0 and GtkGL-2.0" + fi + + econf ${myconf} || die + + emake || die +} + +src_install() { + + einstall || die + + dodoc COPYING README NEWS THANKS +} + |