diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-util/glbsp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-util/glbsp')
-rw-r--r-- | games-util/glbsp/Manifest | 1 | ||||
-rw-r--r-- | games-util/glbsp/files/glbsp-2.24-fltk.patch | 68 | ||||
-rw-r--r-- | games-util/glbsp/files/glbsp-2.24-ldflags.patch | 22 | ||||
-rw-r--r-- | games-util/glbsp/glbsp-2.24.ebuild | 65 | ||||
-rw-r--r-- | games-util/glbsp/metadata.xml | 8 |
5 files changed, 164 insertions, 0 deletions
diff --git a/games-util/glbsp/Manifest b/games-util/glbsp/Manifest new file mode 100644 index 000000000000..c59da6b4a0b3 --- /dev/null +++ b/games-util/glbsp/Manifest @@ -0,0 +1 @@ +DIST glbsp_src_224.tar.gz 230977 SHA256 e3b7c4bce21c2f9b77732a9b5920b6877e884b31dd1ed9273776538dba48a75c SHA512 562201093b69ae1db113479f8dd71e474d2d4ea7798b5e156dc096660e0b725a16ba44e8d2bfd332eba89b66d07ac2a1ddd803e75802c8fb3739a420701b2e1a WHIRLPOOL a2ba794848d9cdfceae6a929ac51fbfa230b5df14b4fea717877008ad5a1fd024cfd84dbd5a23be9bae505d368e5004511fca7281d44f60e36ad328c7998322d diff --git a/games-util/glbsp/files/glbsp-2.24-fltk.patch b/games-util/glbsp/files/glbsp-2.24-fltk.patch new file mode 100644 index 000000000000..342914e574be --- /dev/null +++ b/games-util/glbsp/files/glbsp-2.24-fltk.patch @@ -0,0 +1,68 @@ +--- gui/local.h.old 2010-11-25 10:27:46.000000000 +0100 ++++ gui/local.h 2010-11-25 10:28:58.000000000 +0100 +@@ -43,37 +43,37 @@ + #include <limits.h> + #include <assert.h> + +-#include <FL/Fl.H> +-#include <FL/Fl_Box.H> +-#include <FL/Fl_Browser.H> +-#include <FL/Fl_Button.H> +-#include <FL/Fl_Check_Button.H> +-#include <FL/Fl_Counter.H> +-#include <FL/Fl_File_Icon.H> +-#include <FL/Fl_Group.H> +-#include <FL/Fl_Hold_Browser.H> +-#include <FL/Fl_Image.H> +-#include <FL/Fl_Input.H> +-#include <FL/Fl_Menu_Bar.H> +-#include <FL/Fl_Menu_Item.H> +-#include <FL/Fl_Multiline_Output.H> +-#include <FL/Fl_Multi_Browser.H> +-#include <FL/Fl_Pack.H> +-#include <FL/Fl_Pixmap.H> +-#include <FL/Fl_Return_Button.H> +-#include <FL/Fl_Round_Button.H> +-#include <FL/Fl_Scrollbar.H> +-#include <FL/Fl_Slider.H> ++#include <FL/Fl.h> ++#include <FL/Fl_Box.h> ++#include <FL/Fl_Browser.h> ++#include <FL/Fl_Button.h> ++#include <FL/Fl_Check_Button.h> ++#include <FL/Fl_Counter.h> ++#include <FL/Fl_File_Icon.h> ++#include <FL/Fl_Group.h> ++#include <FL/Fl_Hold_Browser.h> ++#include <FL/Fl_Image.h> ++#include <FL/Fl_Input.h> ++#include <FL/Fl_Menu_Bar.h> ++#include <FL/Fl_Menu_Item.h> ++#include <FL/Fl_Multiline_Output.h> ++#include <FL/Fl_Multi_Browser.h> ++#include <FL/Fl_Pack.h> ++#include <FL/Fl_Pixmap.h> ++#include <FL/Fl_Return_Button.h> ++#include <FL/Fl_Round_Button.h> ++#include <FL/Fl_Scrollbar.h> ++#include <FL/Fl_Slider.h> + #ifdef MACOSX +-#include <FL/Fl_Sys_Menu_Bar.H> ++#include <FL/Fl_Sys_Menu_Bar.h> + #endif +-#include <FL/Fl_Value_Input.H> +-#include <FL/Fl_Widget.H> +-#include <FL/Fl_Window.H> ++#include <FL/Fl_Value_Input.h> ++#include <FL/Fl_Widget.h> ++#include <FL/Fl_Window.h> + +-#include <FL/fl_ask.H> +-#include <FL/fl_draw.H> +-#include <FL/Fl_File_Chooser.H> ++#include <FL/fl_ask.h> ++#include <FL/fl_draw.h> ++#include <FL/Fl_File_Chooser.h> + + + // diff --git a/games-util/glbsp/files/glbsp-2.24-ldflags.patch b/games-util/glbsp/files/glbsp-2.24-ldflags.patch new file mode 100644 index 000000000000..e6adb0ff035c --- /dev/null +++ b/games-util/glbsp/files/glbsp-2.24-ldflags.patch @@ -0,0 +1,22 @@ +--- Makefile.unx.old 2010-11-25 11:24:48.000000000 +0100 ++++ Makefile.unx 2010-11-25 11:25:10.000000000 +0100 +@@ -79,8 +79,7 @@ + $(CC) $(CMD_FLAGS) -c $^ -o $@ + + $(CMD_NAME): $(LIB_NAME) $(CMD_OBJS) +- $(CC) $(CMD_FLAGS) $(CMD_OBJS) -o $@ $(LIB_NAME) $(CMD_LIBS) +- $(STRIP) $@ ++ $(CC) $(CMD_FLAGS) $(LDFLAGS) $(CMD_OBJS) -o $@ $(LIB_NAME) $(CMD_LIBS) + + install: $(CMD_NAME) + cp $(CMD_NAME) $(INSTALL_PREFIX)/bin/ +--- Makefile.unx.old 2010-11-25 11:31:27.000000000 +0100 ++++ Makefile.unx 2010-11-25 11:31:31.000000000 +0100 +@@ -125,7 +125,6 @@ + + $(GUI_NAME): $(LIB_NAME) $(GUI_OBJS) + $(CXX) $(GUI_FLAGS) $(GUI_OBJS) -o $@ $(LIB_NAME) $(GUI_LIBS) +- $(STRIP) $@ + + + # ----- DOCUMENTATION --------------------------------------------- diff --git a/games-util/glbsp/glbsp-2.24.ebuild b/games-util/glbsp/glbsp-2.24.ebuild new file mode 100644 index 000000000000..86aee9af99e3 --- /dev/null +++ b/games-util/glbsp/glbsp-2.24.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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:1 )" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P}-source + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch + 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}:" \ + -e "s:-O -g3:${CFLAGS}:" \ + Makefile.unx \ + nodeview/Makefile.unx || die +} + +src_compile() { + emake -f Makefile.unx + if use fltk ; then + emake -f Makefile.unx glBSPX \ + FLTK_FLAGS="$(fltk-config --cflags)" \ + FLTK_LIBS="$(fltk-config --use-images --ldflags)" + emake -f Makefile.unx -C nodeview \ + FLTK_CFLAGS="$(fltk-config --cflags)" \ + FLTK_LIBS="$(fltk-config --use-images --ldflags)" + fi +} + +src_install() { + dobin glbsp + dolib.a libglbsp.a + doman glbsp.1 + dodoc AUTHORS.txt glbsp.txt + insinto "/usr/include" + doins "src/glbsp.h" + + if use fltk ; then + newbin glBSPX glbspx + newicon gui/icon.xpm glbspx.xpm + make_desktop_entry glbspx glBSPX glbspx + + dobin nodeview/nodeview + docinto nodeview + dodoc nodeview/{README,TODO}.txt + fi +} diff --git a/games-util/glbsp/metadata.xml b/games-util/glbsp/metadata.xml new file mode 100644 index 000000000000..7340483eadd9 --- /dev/null +++ b/games-util/glbsp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">glbsp</remote-id> + </upstream> +</pkgmetadata> |