summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-05-30 20:47:24 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-05-30 20:47:24 +0000
commit1d3a604043fd463bbc9da24f8291eabfc3ad20ad (patch)
tree800d8646f96a7cd498bd27ed2b070b6f170c1da1 /media-libs/vgui
parentAdded mailwrapper (diff)
downloadgentoo-2-1d3a604043fd463bbc9da24f8291eabfc3ad20ad.tar.gz
gentoo-2-1d3a604043fd463bbc9da24f8291eabfc3ad20ad.tar.bz2
gentoo-2-1d3a604043fd463bbc9da24f8291eabfc3ad20ad.zip
Initial Commit. Ebuild by Robin Johnson <robbat2@gentoo.org>.
Diffstat (limited to 'media-libs/vgui')
-rw-r--r--media-libs/vgui/ChangeLog9
-rw-r--r--media-libs/vgui/Manifest3
-rw-r--r--media-libs/vgui/files/digest-vgui-1.90a2
-rw-r--r--media-libs/vgui/vgui-1.90a.ebuild77
4 files changed, 91 insertions, 0 deletions
diff --git a/media-libs/vgui/ChangeLog b/media-libs/vgui/ChangeLog
new file mode 100644
index 000000000000..c59bbc60ff82
--- /dev/null
+++ b/media-libs/vgui/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/vgui
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vgui/ChangeLog,v 1.1 2004/05/30 20:47:24 robbat2 Exp $
+
+*vgui-1.90a (30 May 2004)
+
+ 30 May 2004; Robin H. Johnson <robbat2@gentoo.org> vgui-1.90a.ebuild:
+ Initial Commit. Ebuild by Robin Johnson <robbat2@gentoo.org>.
+
diff --git a/media-libs/vgui/Manifest b/media-libs/vgui/Manifest
new file mode 100644
index 000000000000..a0606b8e49d0
--- /dev/null
+++ b/media-libs/vgui/Manifest
@@ -0,0 +1,3 @@
+MD5 96b971cae850c09b871063b8a9868e0d vgui-1.90a.ebuild 1349
+MD5 a4de292547a7d4fbe157a4ecb4ce2193 metadata.xml 821
+MD5 c9d6203cfe71070013d566d835146f74 files/digest-vgui-1.90a 122
diff --git a/media-libs/vgui/files/digest-vgui-1.90a b/media-libs/vgui/files/digest-vgui-1.90a
new file mode 100644
index 000000000000..dc9417131984
--- /dev/null
+++ b/media-libs/vgui/files/digest-vgui-1.90a
@@ -0,0 +1,2 @@
+MD5 7eec3b3b72dc78d600eb8d8c2ef03fec v-1.90.tar.gz 1334360
+MD5 f564be4914ffe52837254657cec01cdf v-1.90a-patch.tar.gz 5970
diff --git a/media-libs/vgui/vgui-1.90a.ebuild b/media-libs/vgui/vgui-1.90a.ebuild
new file mode 100644
index 000000000000..f20be3a56dcb
--- /dev/null
+++ b/media-libs/vgui/vgui-1.90a.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vgui/vgui-1.90a.ebuild,v 1.1 2004/05/30 20:47:24 robbat2 Exp $
+
+MY_PN="v"
+MY_PV="${PV/a}"
+MY_P="${MY_PN}-${MY_PV}"
+DESCRIPTION="V is a free portable C++ GUI Framework"
+HOMEPAGE="http://vgui.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
+ mirror://sourceforge/${PN}/${MY_PN}-${PV}-patch.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="x11-base/xfree virtual/glibc"
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ unpack ${MY_PN}-${PV}-patch.tar.gz
+ # renames ./home/vgui to ${S}
+ mv ${WORKDIR}/home/vgui ${S}
+ # put ./home/help inside ${S}
+ mv ${WORKDIR}/home/help ${S}
+
+ cd ${S}
+
+ for i in srcx/vtimer.cxx includex/v/vtimer.h; do
+ sed -e 's|notUsed|notUsedVariable|g' -i ${i}
+ done
+}
+
+src_compile() {
+ local sedexp
+
+ # OpenGL support is broken upstream :-(
+ #if use opengl; then
+ # sedexp="s|^NeedGLw.*|NeedGLw = no|"
+ #else
+ sedexp="s|^NeedGLw.*|NeedGLw = yes|"
+ #fi
+
+ sedexp="${sedexp};s|^ARCH.*|ARCH = linuxelf|"
+ sedexp="${sedexp};s|^HOMEV.*|HOMEV = ${S}|"
+
+ # Motif support is broken upstream
+ #if use motif; then
+ # sedexp="${sedexp};s|^TOOLKIT.*|TOOLKIT = Motif|"
+ #else
+ sedexp="${sedexp};s|^TOOLKIT.*|TOOLKIT = Athena|"
+ #fi
+
+ # set up config stuff
+ sed -e "${sedexp}" -i Config.mk
+
+ # cflag borkage
+ local oldcflags="${CFLAGS}"
+ export CFLAGS=""
+ echo "CFLAGS += ${oldcflags}" >> Config.mk
+
+ emake vlib || die
+ emake vtest utils examples || die
+ emake || die
+}
+
+src_install() {
+ insinto /usr/include/v
+ doins includex/v/*
+ rm bin/ThisIs
+ dobin bin/*
+ dolib.so lib/libVx.so.${MY_PV} lib/libVxgl.so.${MY_PV}
+
+ local docs=/usr/share/doc/${PF}/html
+ dodir ${docs}
+ mv help/vrefman/ ${D}${docs}
+}