summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libggi/files/digest-libggi-2.0_beta31
-rw-r--r--media-libs/libggi/libggi-2.0_beta3.ebuild61
-rw-r--r--media-libs/libgii/libgii-0.7.ebuild44
3 files changed, 106 insertions, 0 deletions
diff --git a/media-libs/libggi/files/digest-libggi-2.0_beta3 b/media-libs/libggi/files/digest-libggi-2.0_beta3
new file mode 100644
index 000000000000..becb58a8733c
--- /dev/null
+++ b/media-libs/libggi/files/digest-libggi-2.0_beta3
@@ -0,0 +1 @@
+MD5 f13740d79f63b46acf820c0d5a26d7d2 libggi-2.0b3.tar.bz2
diff --git a/media-libs/libggi/libggi-2.0_beta3.ebuild b/media-libs/libggi/libggi-2.0_beta3.ebuild
new file mode 100644
index 000000000000..1a3934bb88a7
--- /dev/null
+++ b/media-libs/libggi/libggi-2.0_beta3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libggi/libggi-2.0_beta3.ebuild,v 1.1 2001/02/13 14:18:55 achim Exp $
+
+P=${PN}-2.0b3
+A=${P}.tar.bz2
+S=${WORKDIR}/${P}
+DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
+SRC_URI="ftp://ftp.ggi-project.org/pub/ggi/ggi/2_0_beta_3/${A}"
+HOMEPAGE="http://www.ggi-project.org/"
+
+DEPEND="virtual/glibc
+ >=media-libs/libgii-0.7
+ X? ( >=x11-base/xfree-4.0.2 )
+ svga? ( >=media-libs/svgalib-1.4.2 )
+ aalib? ( >=media-libs/aalib-1.2-r1 )"
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use X`" ]
+ then
+ myconf="--without-x"
+ fi
+
+ if [ -z "`use svga`" ]
+ then
+ myconf="$myconf --disable-svga --disable-vgagl"
+ fi
+
+ if [ -z "`use fbcon`" ]
+ then
+ myconf="$myconf --disable-fbdev"
+ fi
+
+ if [ -z "`use aalib`" ]
+ then
+ myconf="$myconf --disable-aa"
+ fi
+
+ try ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --host=${CHOST} $myconf
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ try make DESTDIR=${D} install
+ #This la file seems to bug mesa
+ rm ${D}/usr/lib/*.la
+
+ dodoc ChangeLog* FAQ NEWS README
+ docinto txt
+ dodoc doc/*.txt
+ docinto docbook
+ dodoc doc/docbook/*.{dsl,sgml}
+
+}
+
diff --git a/media-libs/libgii/libgii-0.7.ebuild b/media-libs/libgii/libgii-0.7.ebuild
new file mode 100644
index 000000000000..2041647ceb42
--- /dev/null
+++ b/media-libs/libgii/libgii-0.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-0.7.ebuild,v 1.1 2001/02/13 14:22:35 achim Exp $
+
+A=${P}.tar.bz2
+S=${WORKDIR}/${P}
+DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
+SRC_URI="ftp://ftp.ggi-project.org/pub/ggi/ggi/2_0_beta_3/${A}"
+HOMEPAGE="http://www.ggi-project.org/"
+
+DEPEND="virtual/glibc
+ X? ( >=x11-base/xfree-4.0.2 )"
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use X`" ]
+ then
+ myconf="--without-x --disable-x --disable-xwin"
+ fi
+
+ try ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --host=${CHOST} $myconf
+ try make
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+ cd ${D}/usr/share/man/man3
+ for i in *.3gii
+ do
+ mv ${i} ${i%.3gii}.3
+ done
+ cd ${S}
+ dodoc ChangeLog* FAQ NEWS README
+ docinto txt
+ dodoc doc/*.txt
+ docinto docbook
+ dodoc doc/docbook/*.sgml
+
+}
+