From 70d877640dafef6752c6fb8496d92eab314a8a48 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Tue, 24 May 2016 10:14:32 -0400 Subject: games-strategy/openra: clean old Package-Manager: portage-2.2.28 --- games-strategy/openra/Manifest | 4 - .../openra/files/openra-20120630-sound.patch | 18 - .../openra/files/openra-20130514-makefile.patch | 382 --------------------- .../openra/files/openra-20131223-sdl2.patch | 15 - games-strategy/openra/openra-20120630-r1.ebuild | 90 ----- games-strategy/openra/openra-20130514-r2.ebuild | 97 ------ games-strategy/openra/openra-20131223-r2.ebuild | 93 ----- games-strategy/openra/openra-20140608-r1.ebuild | 96 ------ 8 files changed, 795 deletions(-) delete mode 100644 games-strategy/openra/files/openra-20120630-sound.patch delete mode 100644 games-strategy/openra/files/openra-20130514-makefile.patch delete mode 100644 games-strategy/openra/files/openra-20131223-sdl2.patch delete mode 100644 games-strategy/openra/openra-20120630-r1.ebuild delete mode 100644 games-strategy/openra/openra-20130514-r2.ebuild delete mode 100644 games-strategy/openra/openra-20131223-r2.ebuild delete mode 100644 games-strategy/openra/openra-20140608-r1.ebuild diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest index e6a6a9f584c6..92f409a84b7f 100644 --- a/games-strategy/openra/Manifest +++ b/games-strategy/openra/Manifest @@ -1,6 +1,2 @@ -DIST openra-20120630.tar.gz 10330304 SHA256 f95b9d41ea4b4094ea61519f6fb0185fa242af156e2ec26dc1f2d55197470a3c SHA512 ab5996a3f48d8be227edc029d3fa7948a80756a64bca65d1936c3f4480ef5258cb62365d079cc28ba2be59796db91326c4f8c8d500ea4d2bbf3a8439d783fceb WHIRLPOOL 390b5fa57ef322e6204a23006fc3a7755178d28e115fd52fa4ca5b46ecf58f8df61b44a90ba2fe143a7fadd0be42aaf3488c3b938eaea11171636b562dfe344d -DIST openra-20130514.tar.gz 12592295 SHA256 0912303c7a02cf3907f618405c3605c56bcf30f053dcbbd110aba7dbad012210 SHA512 a9efddffb74b215cc9f5319f6b4613aa23116d328226c0cb428e8d2be97b03dfe45024c532c34e91d959434700a6170faa91a56b324aa2bfe1f1ce7ce96d46c4 WHIRLPOOL d91b911b76a7e3f6286f50d4d33beb6a7cb3e0035ef8b3331e6033e2487a13be8e8aac70fde30b7cbc139b71bd8bf5259a97ce0a642fcb386a3e5136223322ea -DIST openra-20131223.tar.gz 10770453 SHA256 408943991ffbba3ac1269cdb88c6080bfd4aa1a7abd3e27b8489294f7e94d541 SHA512 11376994c7c337989fda8eb4daeffc8a2a4ce2db5818d52c905bdf0eb861b330e27b3cc5f4dbb2ab621f0d324dc2daea6bcaeab43d923530410c10ce7aad87ab WHIRLPOOL 5d8b02fdbfe5e5876a1f111794e40df20c1fcd79c2106408bd14b6155a130d128396bd3e5f6ebc7c81000b53f9ac8b9a16e5e5dcbe52a20fd9f5ce48cfacf0ab -DIST openra-20140608.tar.gz 13536365 SHA256 cacfc1d96f856e63516263922e2c669e549358477d286f33f0828b0815502f96 SHA512 c13ea559b026a308eea6d1190633e25abee6f8272d23f97bf5edb02dfa82d1a65acea2927bf5e1090ab42cc260613aa9612cce4f118f4bbacd254b6cd5f070a6 WHIRLPOOL 4f5b9c8a5477eada39bc920d4d6f3271acc0dfb35f55d6a75509fd2e19570fad571aab45aa74a5addcb8f1f7a3d0c172f7aa1607804963dc510d52cd51b1bd48 DIST openra-20140722.tar.gz 13894070 SHA256 55dbfdd2ab11f22d9618c15d874f4ab381185dd99d830f03982fc284c71b9dd4 SHA512 d85345057da1b1dc02a47b5923b0bd28d57713d0e8b180aee113d956559850751f0b8c4a900d0802b2f1992039d3b6a55f51d4a64392b7ba554f5f1fe3ad1fda WHIRLPOOL 6ee575d74b2fdc83bd7ad3c5f75d3bde45490bc398fb22a7981794b3bce65c18200d3cd6252eb4a8f9af81bc9126fb5a99f260feaf5f23e4833147dfed3387dc DIST openra-20141029.tar.gz 15340674 SHA256 4c3f8224a7ad9d3cb78c3ce2696850246ba0d9703cbd91bf5a42806b09c26a36 SHA512 44594ec3c3a590ae29b0291fdf2292c72ba920dff7892cc269e729a161505c4bc0c5c682bf3c6d3cabb0cdebfa3cac5975eeeeec3f5a673e948ed28132c4a313 WHIRLPOOL 39e4585500c9963b02e42d62829bbc258d83b0050e56f56a90da8292d0c31b0c2d5d68c8eefb8bba22ac1dc719671cee7b7ffe9909bbd9d4d146982108c6e530 diff --git a/games-strategy/openra/files/openra-20120630-sound.patch b/games-strategy/openra/files/openra-20120630-sound.patch deleted file mode 100644 index 9bea3ee7fb98..000000000000 --- a/games-strategy/openra/files/openra-20120630-sound.patch +++ /dev/null @@ -1,18 +0,0 @@ -Date: Sun Jul 1 00:34:03 UTC 2012 -Subject: https://github.com/OpenRA/OpenRA/issues/2005 - -fixed in https://github.com/OpenRA/OpenRA/commit/c068be453a9bcb7bc1fdd5874dc1296b6f4810d0#diff-0 - ---- OpenRA.FileFormats/FieldLoader.cs -+++ OpenRA.FileFormats/FieldLoader.cs -@@ -325,6 +325,10 @@ - ((int)c.B).Clamp(0, 255)); - } - -+ // Don't save floats in settings.yaml using country-specific decimal separators which can be misunderstood as group seperators. -+ if (t == typeof(float)) -+ return ((float)v).ToString(CultureInfo.InvariantCulture); -+ - if (t == typeof(Rectangle)) - { - var r = (Rectangle)v; diff --git a/games-strategy/openra/files/openra-20130514-makefile.patch b/games-strategy/openra/files/openra-20130514-makefile.patch deleted file mode 100644 index 537b688c7dfb..000000000000 --- a/games-strategy/openra/files/openra-20130514-makefile.patch +++ /dev/null @@ -1,382 +0,0 @@ -https://github.com/OpenRA/OpenRA/pull/3500 - ---- a/Makefile -+++ b/Makefile -@@ -1,34 +1,69 @@ -+############################# INSTRUCTIONS ############################# -+# -+# to compile, run: -+# make -+# -+# to compile with development tools, run: -+# make all -+# -+# to install, run: -+# make [prefix=/foo] [bindir=/bar/bin] install -+# -+# to install with development tools, run: -+# make [prefix=/foo] [bindir=/bar/bin] install-all -+# -+# to uninstall, run: -+# make uninstall -+# -+# for help, run: -+# make help -+# -+# to start the game, run: -+# openra -+ -+ -+ -+############################## TOOLCHAIN ############################### -+# - CSC = gmcs - CSFLAGS = -nologo -warn:4 -debug:full -optimize- -codepage:utf8 -unsafe -warnaserror - DEFINE = DEBUG;TRACE - COMMON_LIBS = System.dll System.Core.dll System.Drawing.dll System.Xml.dll thirdparty/ICSharpCode.SharpZipLib.dll thirdparty/FuzzyLogicLibrary.dll thirdparty/Mono.Nat.dll --PHONY = core tools package all mods clean distclean dependencies version -+ -+ -+ -+######################### UTILITIES/SETTINGS ########################### -+# -+# install locations -+prefix ?= /usr/local -+datarootdir ?= $(prefix)/share -+datadir ?= $(datarootdir) -+bindir ?= $(prefix)/bin -+BIN_INSTALL_DIR = $(DESTDIR)$(bindir) -+DATA_INSTALL_DIR = $(DESTDIR)$(datadir)/openra -+ -+# install tools -+RM = rm -+RM_R = $(RM) -r -+RM_F = $(RM) -f -+CP = cp -+CP_R = $(CP) -r -+INSTALL = install -+INSTALL_DIR = $(INSTALL) -d -+INSTALL_PROGRAM = $(INSTALL) -m755 -+INSTALL_DATA = $(INSTALL) -m644 -+ -+# program targets -+CORE = fileformats rcg rgl rsdl rnull game utility -+TOOLS = editor tsbuild ralint -+ - VERSION = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`) - --.SUFFIXES: --core: game renderers mods utility tsbuild --tools: editor ralint tsbuild --package: dependencies core editor docs version --mods: mod_ra mod_cnc mod_d2k --all: dependencies core tools --clean: -- @-rm -f *.exe *.dll *.mdb mods/**/*.dll mods/**/*.mdb *.resources --distclean: clean --dependencies: -- @ cp -r thirdparty/*.dl* . -- @ cp -r thirdparty/Tao/* . --version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml -- @for i in $? ; do \ -- awk '{sub("Version:.*$$","Version: $(VERSION)"); print $0}' $${i} > $${i}.tmp && \ -- mv -f $${i}.tmp $${i} ; \ -- done --default: dependencies core -- --.DEFAULT_GOAL := default -- -+ -+ -+######################## PROGRAM TARGET RULES ########################## - # - # Core binaries --# - fileformats_SRCS := $(shell find OpenRA.FileFormats/ -iname '*.cs') - fileformats_TARGET = OpenRA.FileFormats.dll - fileformats_KIND = library -@@ -39,16 +74,14 @@ - game_SRCS := $(shell find OpenRA.Game/ -iname '*.cs') - game_TARGET = OpenRA.Game.exe - game_KIND = winexe --game_DEPS = $(fileformats_TARGET) -+game_DEPS = $(fileformats_TARGET) - game_LIBS = $(COMMON_LIBS) System.Windows.Forms.dll $(game_DEPS) \ - thirdparty/Tao/Tao.OpenAl.dll thirdparty/SharpFont.dll - game_FLAGS = -win32icon:OpenRA.Game/OpenRA.ico - PROGRAMS += game - game: $(game_TARGET) - --# - # Renderer dlls --# - rsdl_SRCS := $(shell find OpenRA.Renderer.SdlCommon/ -iname '*.cs') - rsdl_TARGET = OpenRA.Renderer.SdlCommon.dll - rsdl_KIND = library -@@ -82,19 +115,18 @@ - PROGRAMS += rcg rgl rnull rsdl - renderers: $(rcg_TARGET) $(rgl_TARGET) $(rnull_TARGET) $(rsdl_TARGET) - --# --# Official Mods --# --# Red Alert -+ -+##### Official Mods ##### - - STD_MOD_LIBS = $(fileformats_TARGET) $(game_TARGET) - STD_MOD_DEPS = $(STD_MOD_LIBS) $(ralint_TARGET) - -+# Red Alert - mod_ra_SRCS := $(shell find OpenRA.Mods.RA/ -iname '*.cs') - mod_ra_TARGET = mods/ra/OpenRA.Mods.RA.dll - mod_ra_KIND = library --mod_ra_DEPS = $(STD_MOD_DEPS) --mod_ra_LIBS = $(COMMON_LIBS) $(STD_MOD_LIBS) -+mod_ra_DEPS = $(STD_MOD_DEPS) $(utility_TARGET) -+mod_ra_LIBS = $(COMMON_LIBS) $(STD_MOD_LIBS) $(utility_TARGET) - mod_ra_EXTRA_CMDS = mono --debug RALint.exe ra - PROGRAMS += mod_ra - mod_ra: $(mod_ra_TARGET) -@@ -119,9 +151,9 @@ - PROGRAMS += mod_d2k - mod_d2k: $(mod_d2k_TARGET) - --# --# Tools --# -+ -+##### Tools ##### -+ - # Map Editor - editor_SRCS := $(shell find OpenRA.Editor/ -iname '*.cs') - editor_TARGET = OpenRA.Editor.exe -@@ -163,13 +195,8 @@ - resgen2 OpenRA.TilesetBuilder/Surface.resx OpenRA.TilesetBuilder.Surface.resources 1> /dev/null - tsbuild: OpenRA.TilesetBuilder.frmBuilder.resources OpenRA.TilesetBuilder.frmNew.resources OpenRA.TilesetBuilder.Surface.resources $(tsbuild_TARGET) - --# --# Launchers / Utilities --# --# Patches binary headers to work around a mono bug --fixheader.exe: packaging/fixheader.cs -- @echo CSC fixheader.exe -- @$(CSC) packaging/fixheader.cs $(CSFLAGS) -out:fixheader.exe -t:exe $(COMMON_LIBS:%=-r:%) -+ -+##### Launchers / Utilities ##### - - # Backend for the launcher apps - queries game/mod info and applies actions to an install - utility_SRCS := $(shell find OpenRA.Utility/ -iname '*.cs') -@@ -180,11 +207,13 @@ - PROGRAMS += utility - utility: $(utility_TARGET) - --.PHONY: $(PHONY) $(PROGRAMS) -- --# -+ -+# Patches binary headers to work around a mono bug -+fixheader.exe: packaging/fixheader.cs -+ @echo CSC fixheader.exe -+ @$(CSC) packaging/fixheader.cs $(CSFLAGS) -out:fixheader.exe -t:exe $(COMMON_LIBS:%=-r:%) -+ - # Generate build rules for each target defined above in PROGRAMS --# - define BUILD_ASSEMBLY - - $$($(1)_TARGET): $$($(1)_SRCS) Makefile $$($(1)_DEPS) fixheader.exe -@@ -203,68 +232,67 @@ - $(foreach prog,$(PROGRAMS),$(eval $(call BUILD_ASSEMBLY,$(prog)))) - - --# --# Install / Uninstall for *nix --# --prefix ?= /usr/local --datarootdir ?= $(prefix)/share --datadir ?= $(datarootdir) --bindir ?= $(prefix)/bin --BIN_INSTALL_DIR = $(DESTDIR)$(bindir) --INSTALL_DIR = $(DESTDIR)$(datadir)/openra --INSTALL = install --INSTALL_PROGRAM = $(INSTALL) --CORE = fileformats rcg rgl rsdl rnull game editor utility tsbuild -+ -+########################## MAKE/INSTALL RULES ########################## -+# -+default: dependencies core -+ -+core: game renderers mods utility tsbuild -+ -+tools: editor tsbuild ralint -+ -+package: dependencies core editor docs version -+ -+mods: mod_ra mod_cnc mod_d2k -+ -+all: dependencies core tools -+ -+clean: -+ @-$(RM_F) *.exe *.dll *.mdb mods/**/*.dll mods/**/*.mdb *.resources -+ -+distclean: clean -+ -+dependencies: -+ @ $(CP_R) thirdparty/*.dl* . -+ @ $(CP_R) thirdparty/Tao/* . -+ -+version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml -+ @for i in $? ; do \ -+ awk '{sub("Version:.*$$","Version: $(VERSION)"); print $0}' $${i} > $${i}.tmp && \ -+ mv -f $${i}.tmp $${i} ; \ -+ done - - # Documentation (d2k depends on all mod libraries) --docs: -+docs: utility - @mono --debug OpenRA.Utility.exe --docs d2k > DOCUMENTATION.md - --install: all -- @-echo "Installing OpenRA to $(INSTALL_DIR)" -- @$(INSTALL_PROGRAM) -d $(INSTALL_DIR) -- @$(INSTALL_PROGRAM) $(foreach prog,$(CORE),$($(prog)_TARGET)) $(INSTALL_DIR) -- @$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/cnc -- @$(INSTALL_PROGRAM) $(mod_cnc_TARGET) $(INSTALL_DIR)/mods/cnc -- @$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/ra -- @$(INSTALL_PROGRAM) $(mod_ra_TARGET) $(INSTALL_DIR)/mods/ra -- @$(INSTALL_PROGRAM) -d $(INSTALL_DIR)/mods/d2k -- @$(INSTALL_PROGRAM) $(mod_d2k_TARGET) $(INSTALL_DIR)/mods/d2k -- -- @-cp $(foreach f,$(shell ls mods/cnc --hide=*.dll),mods/cnc/$(f)) $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/maps $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/chrome $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/bits $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/rules $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/sequences $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/tilesets $(INSTALL_DIR)/mods/cnc -- @cp -r mods/cnc/uibits $(INSTALL_DIR)/mods/cnc -- -- @-cp $(foreach f,$(shell ls mods/ra --hide=*.dll),mods/ra/$(f)) $(INSTALL_DIR)/mods/ra -- @cp -r mods/ra/maps $(INSTALL_DIR)/mods/ra -- @cp -r mods/ra/bits $(INSTALL_DIR)/mods/ra -- @cp -r mods/ra/chrome $(INSTALL_DIR)/mods/ra -- @cp -r mods/ra/rules $(INSTALL_DIR)/mods/ra -- @cp -r mods/ra/tilesets $(INSTALL_DIR)/mods/ra -- @cp -r mods/ra/uibits $(INSTALL_DIR)/mods/ra -- -- @-cp $(foreach f,$(shell ls mods/d2k --hide=*.dll),mods/d2k/$(f)) $(INSTALL_DIR)/mods/d2k -- @cp -r mods/d2k/maps $(INSTALL_DIR)/mods/d2k -- @cp -r mods/d2k/bits $(INSTALL_DIR)/mods/d2k -- @cp -r mods/d2k/chrome $(INSTALL_DIR)/mods/d2k -- @cp -r mods/d2k/rules $(INSTALL_DIR)/mods/d2k -- @cp -r mods/d2k/tilesets $(INSTALL_DIR)/mods/d2k -- @cp -r mods/d2k/uibits $(INSTALL_DIR)/mods/d2k -- -- @cp -r glsl $(INSTALL_DIR) -- @cp -r cg $(INSTALL_DIR) -- @cp *.ttf $(INSTALL_DIR) -- @cp thirdparty/Tao/* $(INSTALL_DIR) -- @$(INSTALL_PROGRAM) thirdparty/ICSharpCode.SharpZipLib.dll $(INSTALL_DIR) -- @$(INSTALL_PROGRAM) thirdparty/FuzzyLogicLibrary.dll $(INSTALL_DIR) -- @$(INSTALL_PROGRAM) thirdparty/SharpFont.dll $(INSTALL_DIR) -- @cp thirdparty/SharpFont.dll.config $(INSTALL_DIR) -- @$(INSTALL_PROGRAM) thirdparty/Mono.Nat.dll $(INSTALL_DIR) -+install: install-core -+ -+install-all: install-core install-tools -+ -+install-core: default -+ @-echo "Installing OpenRA to $(DATA_INSTALL_DIR)" -+ @$(INSTALL_DIR) "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) $(foreach prog,$(CORE),$($(prog)_TARGET)) "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_DIR) "$(DATA_INSTALL_DIR)/mods" -+ @$(CP_R) mods/cnc "$(DATA_INSTALL_DIR)/mods/" -+ @$(INSTALL_PROGRAM) $(mod_cnc_TARGET) "$(DATA_INSTALL_DIR)/mods/cnc" -+ @$(CP_R) mods/ra "$(DATA_INSTALL_DIR)/mods/" -+ @$(INSTALL_PROGRAM) $(mod_ra_TARGET) "$(DATA_INSTALL_DIR)/mods/ra" -+ @$(CP_R) mods/d2k "$(DATA_INSTALL_DIR)/mods/" -+ @$(INSTALL_PROGRAM) $(mod_d2k_TARGET) "$(DATA_INSTALL_DIR)/mods/d2k" -+ -+ @$(INSTALL_DATA) AUTHORS "$(DATA_INSTALL_DIR)/AUTHORS" -+ -+ @$(CP_R) glsl "$(DATA_INSTALL_DIR)" -+ @$(CP_R) cg "$(DATA_INSTALL_DIR)" -+ @$(CP) *.ttf "$(DATA_INSTALL_DIR)" -+ @$(CP) thirdparty/Tao/* "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) thirdparty/ICSharpCode.SharpZipLib.dll "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) thirdparty/FuzzyLogicLibrary.dll "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) thirdparty/SharpFont.dll "$(DATA_INSTALL_DIR)" -+ @$(CP) thirdparty/SharpFont.dll.config "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) thirdparty/Mono.Nat.dll "$(DATA_INSTALL_DIR)" - - @echo "#!/bin/sh" > openra - @echo 'BINDIR=$$(dirname $$(readlink -f $$0))' >> openra -@@ -273,6 +301,16 @@ - @echo 'cd "$${DATADIR}/openra"' >> openra - @echo 'exec mono OpenRA.Game.exe "$$@"' >> openra - -+ @$(INSTALL_DIR) "$(BIN_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) -m +rx openra "$(BIN_INSTALL_DIR)" -+ -+ @-$(RM) openra -+ -+install-tools: tools -+ @-echo "Installing OpenRA tools to $(DATA_INSTALL_DIR)" -+ @$(INSTALL_DIR) "$(DATA_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) $(foreach prog,$(TOOLS),$($(prog)_TARGET)) "$(DATA_INSTALL_DIR)" -+ - @echo "#!/bin/sh" > openra-editor - @echo 'BINDIR=$$(dirname $$(readlink -f $$0))' >> openra-editor - @echo 'ROOTDIR="$${BINDIR%'"$(bindir)"'}"' >> openra-editor -@@ -280,14 +318,42 @@ - @echo 'cd "$${DATADIR}/openra"' >> openra-editor - @echo 'exec mono OpenRA.Editor.exe "$$@"' >> openra-editor - -- @$(INSTALL_PROGRAM) -d $(BIN_INSTALL_DIR) -- @$(INSTALL_PROGRAM) -m +rx openra $(BIN_INSTALL_DIR) -- @$(INSTALL_PROGRAM) -m +rx openra-editor $(BIN_INSTALL_DIR) -- -- @-rm openra -- @-rm openra-editor -+ @$(INSTALL_DIR) "$(BIN_INSTALL_DIR)" -+ @$(INSTALL_PROGRAM) -m +rx openra-editor "$(BIN_INSTALL_DIR)" -+ -+ @-$(RM) openra-editor - - uninstall: -- @-rm -r $(INSTALL_DIR) -- @-rm $(DESTDIR)$(bindir)/openra -- @-rm $(DESTDIR)$(bindir)/openra-editor -+ @-$(RM_R) "$(DATA_INSTALL_DIR)" -+ @-$(RM_F) "$(BIN_INSTALL_DIR)/openra" -+ @-$(RM_F) "$(BIN_INSTALL_DIR)/openra-editor" -+ -+help: -+ @echo to compile, run: -+ @echo \ \ make -+ @echo -+ @echo to compile with development tools, run: -+ @echo \ \ make all -+ @echo -+ @echo to install, run: -+ @echo \ \ make \[prefix=/foo\] \[bindir=/bar/bin\] install -+ @echo -+ @echo to install with development tools, run: -+ @echo \ \ make \[prefix=/foo\] \[bindir=/bar/bin\] install-all -+ @echo -+ @echo to uninstall, run: -+ @echo \ \ make uninstall -+ @echo -+ @echo to start the game, run: -+ @echo \ \ openra -+ -+ -+ -+ -+########################### MAKEFILE SETTINGS ########################## -+# -+.DEFAULT_GOAL := default -+ -+.SUFFIXES: -+ -+.PHONY: core tools package all mods clean distclean dependencies version $(PROGRAMS) diff --git a/games-strategy/openra/files/openra-20131223-sdl2.patch b/games-strategy/openra/files/openra-20131223-sdl2.patch deleted file mode 100644 index acb87e83ae95..000000000000 --- a/games-strategy/openra/files/openra-20131223-sdl2.patch +++ /dev/null @@ -1,15 +0,0 @@ -From: Julian Ospald -Date: Tue Dec 24 21:10:12 UTC 2013 -Subject: fix engine detection - ---- a/OpenRA.Game/GameRules/Settings.cs -+++ b/OpenRA.Game/GameRules/Settings.cs -@@ -83,7 +83,7 @@ - - public class GraphicSettings - { -- public string Renderer = "Gl"; -+ public string Renderer = "Sdl2"; - public WindowMode Mode = WindowMode.PseudoFullscreen; - public int2 FullscreenSize = new int2(0,0); - public int2 WindowedSize = new int2(1024, 768); diff --git a/games-strategy/openra/openra-20120630-r1.ebuild b/games-strategy/openra/openra-20120630-r1.ebuild deleted file mode 100644 index 9ca4e47a65f2..000000000000 --- a/games-strategy/openra/openra-20120630-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils mono gnome2-utils vcs-snapshot games - -DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert" -HOMEPAGE="http://open-ra.org/" -SRC_URI="https://github.com/OpenRA/OpenRA/tarball/release-${PV} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cg" - -DEPEND="dev-dotnet/libgdiplus - dev-lang/mono - media-libs/freetype:2[X] - media-libs/libsdl[X,opengl,video] - media-libs/openal - virtual/jpeg:0 - virtual/opengl - cg? ( >=media-gfx/nvidia-cg-toolkit-2.1.0017 )" -RDEPEND="${DEPEND}" - -src_unpack() { - vcs-snapshot_src_unpack -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-sound.patch - - # register game-version - sed \ - -e "/Version/s/{DEV_VERSION}/release-${PV}/" \ - -i mods/{ra,cnc}/mod.yaml || die -} - -src_compile() { - emake all -} - -src_install() { - emake \ - datadir="${GAMES_DATADIR}" \ - bindir="${GAMES_BINDIR}" \ - libdir="$(games_get_libdir)/${PN}" \ - DESTDIR="${D}" \ - install - - # icons - insinto /usr/share/icons/ - doins -r packaging/linux/hicolor - - # desktop entries - local myrenderer=$(usex cg Cg Gl) - make_desktop_entry "${PN} Game.Mods=cnc Graphics.Renderer=${myrenderer}" \ - "OpenRA CNC" ${PN} - make_desktop_entry "${PN} Game.Mods=ra Graphics.Renderer=${myrenderer}" \ - "OpenRA RA" ${PN} - make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN} - - dodoc "${FILESDIR}"/README.gentoo README HACKING CHANGELOG - - # file permissions - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update - - if ! use cg ; then - elog "If you have problems starting the game consider switching" - elog "to Graphics.Renderer=Cg in openra*.desktop or manually" - elog "run:" - elog "${PN} Game.Mods=\$mod Graphics.Renderer=Cg" - fi -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-strategy/openra/openra-20130514-r2.ebuild b/games-strategy/openra/openra-20130514-r2.ebuild deleted file mode 100644 index b09e3979e3b9..000000000000 --- a/games-strategy/openra/openra-20130514-r2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils mono-env gnome2-utils vcs-snapshot games - -DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert" -HOMEPAGE="http://open-ra.org/" -SRC_URI="https://github.com/OpenRA/OpenRA/tarball/release-${PV} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cg tools" - -DEPEND="dev-dotnet/libgdiplus - dev-lang/mono - media-libs/freetype:2[X] - media-libs/libsdl[X,opengl,video] - media-libs/openal - virtual/jpeg:0 - virtual/opengl - cg? ( >=media-gfx/nvidia-cg-toolkit-2.1.0017 )" -RDEPEND="${DEPEND}" - -pkg_setup() { - mono-env_pkg_setup - games_pkg_setup -} - -src_unpack() { - vcs-snapshot_src_unpack -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - - # register game-version - sed \ - -e "/Version/s/{DEV_VERSION}/release-${PV}/" \ - -i mods/{ra,cnc,d2k}/mod.yaml || die -} - -src_compile() { - emake $(usex tools "all" "") -} - -src_install() { - emake \ - datadir="${GAMES_DATADIR}" \ - bindir="${GAMES_BINDIR}" \ - libdir="$(games_get_libdir)/${PN}" \ - DESTDIR="${D}" \ - $(usex tools "install-all" "install") - - # icons - insinto /usr/share/icons/ - doins -r packaging/linux/hicolor - - # desktop entries - local myrenderer=$(usex cg Cg Gl) - make_desktop_entry "${PN} Game.Mods=cnc Graphics.Renderer=${myrenderer}" \ - "OpenRA CNC" ${PN} - make_desktop_entry "${PN} Game.Mods=ra Graphics.Renderer=${myrenderer}" \ - "OpenRA RA" ${PN} - make_desktop_entry "${PN} Game.Mods=d2k Graphics.Renderer=${myrenderer}" \ - "OpenRA Dune2k" ${PN} - make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN} - - dodoc "${FILESDIR}"/README.gentoo README.md HACKING CHANGELOG - - # file permissions - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update - - if ! use cg ; then - elog "If you have problems starting the game consider switching" - elog "to Graphics.Renderer=Cg in openra*.desktop or manually" - elog "run:" - elog "${PN} Game.Mods=\$mod Graphics.Renderer=Cg" - fi -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-strategy/openra/openra-20131223-r2.ebuild b/games-strategy/openra/openra-20131223-r2.ebuild deleted file mode 100644 index 515437beb1f4..000000000000 --- a/games-strategy/openra/openra-20131223-r2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils mono-env gnome2-utils vcs-snapshot games - -DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert" -HOMEPAGE="http://open-ra.org/" -SRC_URI="https://github.com/OpenRA/OpenRA/tarball/release-${PV} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="tools" - -DEPEND="dev-dotnet/libgdiplus - dev-lang/mono - media-libs/freetype:2[X] - || ( - media-libs/libsdl[X,opengl,video] - media-libs/libsdl2[X,opengl,video] - ) - media-libs/openal - virtual/jpeg:0 - virtual/opengl" -RDEPEND="${DEPEND}" - -pkg_setup() { - mono-env_pkg_setup - games_pkg_setup -} - -src_unpack() { - vcs-snapshot_src_unpack -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-sdl2.patch - # register game-version - sed \ - -e "/Version/s/{DEV_VERSION}/release-${PV}/" \ - -i mods/{ra,cnc,d2k}/mod.yaml || die -} - -src_compile() { - emake $(usex tools "all" "") -} - -src_install() { - emake \ - bindir="${GAMES_BINDIR}" \ - libexecdir="$(games_get_libdir)" \ - DESTDIR="${D}" \ - $(usex tools "install-all" "install") - - # icons - insinto /usr/share/icons/ - doins -r packaging/linux/hicolor - - # desktop entries - make_desktop_entry "${PN} Game.Mods=cnc" "OpenRA CNC" ${PN} - make_desktop_entry "${PN} Game.Mods=ra" "OpenRA RA" ${PN} - make_desktop_entry "${PN} Game.Mods=d2k" "OpenRA Dune2k" ${PN} - make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN} - - dodoc "${FILESDIR}"/README.gentoo README.md CHANGELOG - - # file permissions - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update - - elog "optional dependencies:" - elog " media-gfx/nvidia-cg-toolkit (fallback renderer if OpenGL fails)" - elog - elog "you might also want to emerge media-libs/libsdl2 specifically," - elog "because ${PN} supports both sdl1.2 and sdl2, but the ebuild only" - elog "pulls in one of them, prefering sdl1.2." -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-strategy/openra/openra-20140608-r1.ebuild b/games-strategy/openra/openra-20140608-r1.ebuild deleted file mode 100644 index a40add83cf87..000000000000 --- a/games-strategy/openra/openra-20140608-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils mono-env gnome2-utils vcs-snapshot games - -DESCRIPTION="A free RTS engine supporting games like Command & Conquer and Red Alert" -HOMEPAGE="http://open-ra.org/" -SRC_URI="https://github.com/OpenRA/OpenRA/tarball/release-${PV} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="tools" - -QA_PREBUILT="$(games_get_libdir)/openra/liblua*" - -DEPEND="dev-dotnet/libgdiplus - dev-lang/mono - media-libs/freetype:2[X] - media-libs/libsdl2[X,opengl,video] - media-libs/openal - virtual/jpeg:0 - virtual/opengl" -RDEPEND="${DEPEND}" - -pkg_setup() { - mono-env_pkg_setup - games_pkg_setup -} - -src_unpack() { - vcs-snapshot_src_unpack -} - -src_configure() { :; } - -src_prepare() { - # register game-version - sed \ - -e "/Version/s/{DEV_VERSION}/release-${PV}/" \ - -i mods/{ra,cnc,d2k}/mod.yaml || die -} - -src_compile() { - emake $(usex tools "all" "") - emake native-dependencies - emake docs -} - -src_install() { - emake \ - datadir="/usr/share" \ - bindir="${GAMES_BINDIR}" \ - libdir="$(games_get_libdir)" \ - DESTDIR="${D}" \ - $(usex tools "install-all" "install") install-linux-scripts - - exeinto "$(games_get_libdir)/openra" - doexe Eluant.dll.config liblua$(usex amd64 "64" "32")* - - # icons - insinto /usr/share/icons/ - doins -r packaging/linux/hicolor - - # desktop entries - make_desktop_entry "${PN} Game.Mods=cnc" "OpenRA CNC" ${PN} - make_desktop_entry "${PN} Game.Mods=ra" "OpenRA RA" ${PN} - make_desktop_entry "${PN} Game.Mods=d2k" "OpenRA Dune2k" ${PN} - make_desktop_entry "${PN}-editor" "OpenRA Map Editor" ${PN} - - dodoc "${FILESDIR}"/README.gentoo README.md CONTRIBUTING.md AUTHORS \ - DOCUMENTATION.md Lua-API.md - - # file permissions - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update - - elog "optional dependencies:" - elog " media-gfx/nvidia-cg-toolkit (fallback renderer if OpenGL fails)" -} - -pkg_postrm() { - gnome2_icon_cache_update -} -- cgit v1.2.3-18-g5258