summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-20 21:27:43 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-20 21:27:43 +0000
commit106fb01caf5a92023babd9b24795a6ad9fb7bb4b (patch)
treec76b530ad00fc3247fadef2111c1997445c62333 /media-gfx/gliv
parentNew version, SLOT, LICENSE added, and updated dependencies. (diff)
downloadgentoo-2-106fb01caf5a92023babd9b24795a6ad9fb7bb4b.tar.gz
gentoo-2-106fb01caf5a92023babd9b24795a6ad9fb7bb4b.tar.bz2
gentoo-2-106fb01caf5a92023babd9b24795a6ad9fb7bb4b.zip
new version
Diffstat (limited to 'media-gfx/gliv')
-rw-r--r--media-gfx/gliv/ChangeLog7
-rw-r--r--media-gfx/gliv/files/digest-gliv-1.5.21
-rw-r--r--media-gfx/gliv/gliv-1.5.2.ebuild61
3 files changed, 68 insertions, 1 deletions
diff --git a/media-gfx/gliv/ChangeLog b/media-gfx/gliv/ChangeLog
index 898a349dadf1..1cbea14dfae2 100644
--- a/media-gfx/gliv/ChangeLog
+++ b/media-gfx/gliv/ChangeLog
@@ -1,6 +1,11 @@
# 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.4 2002/06/20 21:04:33 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/ChangeLog,v 1.5 2002/06/20 21:27:43 azarah Exp $
+
+*gliv-1.5.2 (20 Jun 2002)
+
+ 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org> gliv-1.5.2.ebuild :
+ New version; update for >=gtkglarea-1.99.0.
20 Jun 2002; Martin Schlemmer <azarah@gentoo.org> gliv-1.5.1.ebuild :
Do some gnome2 cleanups. For instance, we have to use the old gtk+-1.2
diff --git a/media-gfx/gliv/files/digest-gliv-1.5.2 b/media-gfx/gliv/files/digest-gliv-1.5.2
new file mode 100644
index 000000000000..60c584f1d884
--- /dev/null
+++ b/media-gfx/gliv/files/digest-gliv-1.5.2
@@ -0,0 +1 @@
+MD5 6ab41228f5f7ce1a3a0a7299d627341e gliv-1.5.2.tar.bz2 235878
diff --git a/media-gfx/gliv/gliv-1.5.2.ebuild b/media-gfx/gliv/gliv-1.5.2.ebuild
new file mode 100644
index 000000000000..fcb4aab8f487
--- /dev/null
+++ b/media-gfx/gliv/gliv-1.5.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Martin Schlemmer <azarah@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.5.2.ebuild,v 1.1 2002/06/20 21:27:43 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"
+
+# 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
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --host=${CHOST} \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ install || die
+
+ dodoc COPYING README NEWS THANKS
+}
+