summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-11 20:11:32 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-11 20:11:32 +0000
commitf1e642894581f618d8f3b377c5885d6ad3ab19b7 (patch)
tree09991e40a52af6869b397637a48013044cdf358d /games-util
parentAdd games-util/glbsp:fltk (diff)
downloadgentoo-2-f1e642894581f618d8f3b377c5885d6ad3ab19b7.tar.gz
gentoo-2-f1e642894581f618d8f3b377c5885d6ad3ab19b7.tar.bz2
gentoo-2-f1e642894581f618d8f3b377c5885d6ad3ab19b7.zip
Version bump by Davide Cendron, bug #146732
(Portage version: 2.1.2_pre2-r8)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/glbsp/ChangeLog9
-rw-r--r--games-util/glbsp/files/digest-glbsp-2.203
-rw-r--r--games-util/glbsp/glbsp-2.20.ebuild56
3 files changed, 66 insertions, 2 deletions
diff --git a/games-util/glbsp/ChangeLog b/games-util/glbsp/ChangeLog
index 568e6e09e73e..aaa0e724e45c 100644
--- a/games-util/glbsp/ChangeLog
+++ b/games-util/glbsp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-util/glbsp
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/glbsp/ChangeLog,v 1.5 2005/09/16 22:24:19 ciaranm Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/glbsp/ChangeLog,v 1.6 2006/10/11 20:11:32 nyhm Exp $
+
+*glbsp-2.20 (11 Oct 2006)
+
+ 11 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +glbsp-2.20.ebuild:
+ Version bump by Davide Cendron, bug #146732
16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
diff --git a/games-util/glbsp/files/digest-glbsp-2.20 b/games-util/glbsp/files/digest-glbsp-2.20
new file mode 100644
index 000000000000..a6c9f91d14c4
--- /dev/null
+++ b/games-util/glbsp/files/digest-glbsp-2.20
@@ -0,0 +1,3 @@
+MD5 67936f6ba13e6acdf8a0b8022dad8694 glbsp_src_220.tar.gz 172283
+RMD160 519a5bd72e41d7d00900df02b94363181a2438c1 glbsp_src_220.tar.gz 172283
+SHA256 0b68b82962aff8c66c4663a5283fa28ef1287beb303dc0c09325e1cecaa8e4d3 glbsp_src_220.tar.gz 172283
diff --git a/games-util/glbsp/glbsp-2.20.ebuild b/games-util/glbsp/glbsp-2.20.ebuild
new file mode 100644
index 000000000000..732b54e99dc0
--- /dev/null
+++ b/games-util/glbsp/glbsp-2.20.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/glbsp/glbsp-2.20.ebuild,v 1.1 2006/10/11 20:11:32 nyhm Exp $
+
+inherit eutils toolchain-funcs versionator
+
+MY_PV=$(delete_version_separator 1)
+DESCRIPTION="A node builder specially designed for OpenGL ports of the DOOM game engine"
+HOMEPAGE="http://glbsp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/glbsp/${PN}_src_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="fltk"
+
+DEPEND="fltk? ( x11-libs/fltk )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^CC=/s:=.*:=$(tc-getCC):" \
+ -e "/^CXX=/s:=.*:=$(tc-getCXX):" \
+ -e "/^AR=/s:ar:$(tc-getAR):" \
+ -e "/^RANLIB=/s:=.*:=$(tc-getRANLIB):" \
+ -e "s:-O2:${CFLAGS}:" \
+ GUI_unx.mak Plugin_unx.mak Makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+ emake -f Plugin_unx.mak || die "emake failed"
+
+ if use fltk ; then
+ emake -f GUI_unx.mak \
+ FLTK_CFLAGS="$(fltk-config --cflags)" \
+ FLTK_LIBS="$(fltk-config --use-images --ldflags)" \
+ || die "emake failed"
+ fi
+}
+
+src_install() {
+ dobin glbsp || die "dobin failed"
+ dolib.a libglbsp.a || die "dolib.a failed"
+
+ if use fltk ; then
+ newbin glBSPX glbspx || die "newbin failed"
+ newicon fltk/icon.xpm glbspx.xpm
+ make_desktop_entry glbspx glBSPX glbspx.xpm
+ fi
+
+ doman glbsp.1
+ dodoc CHANGES.txt README.txt TODO.txt USAGE.txt
+}