From 76adaacfcaf90163169bd324a15d15a86a004234 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 13 Oct 2014 10:57:53 +0400 Subject: [PATCH] 0ad removed. --- .../0ad-data/0ad-data-14386_alpha16.ebuild | 29 ----- games-strategy/0ad-data/Manifest | 1 - .../0ad/0ad-14386_alpha16-r1.ebuild | 121 ------------------ games-strategy/0ad/0ad-99999.ebuild | 107 ---------------- games-strategy/0ad/Manifest | 1 - .../0ad/files/0ad-14386_alpha16-gentoo.patch | 93 -------------- 6 files changed, 352 deletions(-) delete mode 100644 games-strategy/0ad-data/0ad-data-14386_alpha16.ebuild delete mode 100644 games-strategy/0ad-data/Manifest delete mode 100644 games-strategy/0ad/0ad-14386_alpha16-r1.ebuild delete mode 100644 games-strategy/0ad/0ad-99999.ebuild delete mode 100644 games-strategy/0ad/Manifest delete mode 100644 games-strategy/0ad/files/0ad-14386_alpha16-gentoo.patch diff --git a/games-strategy/0ad-data/0ad-data-14386_alpha16.ebuild b/games-strategy/0ad-data/0ad-data-14386_alpha16.ebuild deleted file mode 100644 index 4a905084..00000000 --- a/games-strategy/0ad-data/0ad-data-14386_alpha16.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit games - -MY_P=0ad-0.0.16-alpha -DESCRIPTION="Data files for 0ad" -HOMEPAGE="http://wildfiregames.com/0ad/" -SRC_URI="http://releases.wildfiregames.com/${MY_P}-unix-data.tar.xz" - -LICENSE="GPL-2 CC-BY-SA-3.0 LPPL-1.3c BitstreamVera" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - rm binaries/data/tools/fontbuilder/fonts/*.txt -} - -src_install() { - insinto "${GAMES_DATADIR}"/0ad - doins -r binaries/data/* - prepgamesdirs -} diff --git a/games-strategy/0ad-data/Manifest b/games-strategy/0ad-data/Manifest deleted file mode 100644 index ff3413e5..00000000 --- a/games-strategy/0ad-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST 0ad-0.0.16-alpha-unix-data.tar.xz 526615868 SHA256 0f16d41e81d7349fb16490f3abbfd38bcb3f2b89648355b2b281c5045ddafadc SHA512 a34ae77c6fdc1781bf6f7f7d20ab31f91ab2d1227c2528f40075af8056b41b9c3d4c03debd92e7836a17b64bc0437ed5970338dfc7b171eb4df3f8c5558593d0 WHIRLPOOL 21f837df31fea98b597e78754b2d10b42ea8a6eb15cc2db3bf6f9664d28914e5122e8d80e5f0f61ffa9eeb9f95021525cf236109d311d208d29ed5deecb82379 diff --git a/games-strategy/0ad/0ad-14386_alpha16-r1.ebuild b/games-strategy/0ad/0ad-14386_alpha16-r1.ebuild deleted file mode 100644 index 5e1c5b59..00000000 --- a/games-strategy/0ad/0ad-14386_alpha16-r1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -WX_GTK_VER="2.8" - -inherit eutils wxwidgets toolchain-funcs games - -MY_P=0ad-0.0.16-alpha -DESCRIPTION="A free, real-time strategy game" -HOMEPAGE="http://wildfiregames.com/0ad/" -SRC_URI="http://releases.wildfiregames.com/${MY_P}-unix-build.tar.xz" - -LICENSE="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 as-is" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+audio editor fam pch test" - -RDEPEND=" - dev-lang/spidermonkey:24 - dev-libs/boost - dev-libs/icu - dev-libs/libxml2 - ~games-strategy/0ad-data-${PV} - media-gfx/nvidia-texture-tools - media-libs/libpng:0 - media-libs/libsdl[X,opengl,video] - net-libs/enet:1.3 - net-libs/miniupnpc - net-libs/gloox - net-misc/curl - sys-libs/zlib - virtual/jpeg - virtual/opengl - x11-libs/libX11 - x11-libs/libXcursor - audio? ( media-libs/libogg - media-libs/libvorbis - media-libs/openal ) - editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( dev-lang/perl )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch -} - -src_configure() { - local myconf=( - --with-system-nvtt - --with-system-enet - --with-system-miniupnpc - --with-system-mozjs24 - --minimal-flags - $(usex pch "" "--without-pch") - $(usex test "" "--without-tests") - $(usex audio "" "--without-audio") - $(usex editor "--atlas" "") - --collada - --bindir="${GAMES_BINDIR}" - --libdir="$(games_get_libdir)"/${PN} - --datadir="${GAMES_DATADIR}"/${PN} - ) - - # stock premake4 does not work, use the shipped one - emake -C "${S}"/build/premake/premake4/build/gmake.unix - - # regenerate scripts.c so our patch applies - cd "${S}"/build/premake/premake4 || die - "${S}"/build/premake/premake4/bin/release/premake4 embed || die - - # rebuild premake again... this is the most stupid build system - emake -C "${S}"/build/premake/premake4/build/gmake.unix clean - emake -C "${S}"/build/premake/premake4/build/gmake.unix - - # run premake to create build scripts - cd "${S}"/build/premake || die - "${S}"/build/premake/premake4/bin/release/premake4 \ - --file="premake4.lua" \ - --outpath="../workspaces/gcc/" \ - --platform=$(usex amd64 "x64" "x32") \ - --os=linux \ - "${myconf[@]}" \ - gmake || die "Premake failed" -} - -src_compile() { - # build 3rd party fcollada - emake -C libraries/source/fcollada/src - - # build 0ad - emake -C build/workspaces/gcc verbose=1 -} - -src_test() { - cd binaries/system || die - ./test -libdir "${S}/binaries/system" || die "test phase failed" -} - -src_install() { - dogamesbin binaries/system/pyrogenesis - - insinto "${GAMES_DATADIR}"/${PN} - doins -r binaries/data/l10n - - exeinto "$(games_get_libdir)"/${PN} - doexe binaries/system/libCollada.so - use editor && doexe binaries/system/libAtlasUI.so - - dodoc binaries/system/readme.txt - doicon build/resources/${PN}.png - games_make_wrapper ${PN} "${GAMES_BINDIR}/pyrogenesis" - make_desktop_entry ${PN} - - prepgamesdirs -} diff --git a/games-strategy/0ad/0ad-99999.ebuild b/games-strategy/0ad/0ad-99999.ebuild deleted file mode 100644 index d6cd9125..00000000 --- a/games-strategy/0ad/0ad-99999.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -WX_GTK_VER="2.8" - -inherit eutils subversion wxwidgets games - -MY_PV="r${PV%_*}-alpha" -MY_P=${PN}-${MY_PV} - -DESCRIPTION="A free, real-time strategy game of ancient warfare" -HOMEPAGE="http://wildfiregames.com/0ad/" -ESVN_REPO_URI="http://svn.wildfiregames.com/public/ps/trunk" - -LICENSE="GPL-2 LGPL-2.1 MIT CCPL-Attribution-ShareAlike-3.0 as-is" -SLOT="0" -KEYWORDS="" -IUSE="+audio editor fam pch test" - -RDEPEND=" - ~dev-lang/spidermonkey-1.8.5 - dev-libs/boost - dev-libs/libxml2 - !games-strategy/0ad-data - media-gfx/nvidia-texture-tools - media-libs/libpng:0 - media-libs/libsdl[X,opengl,video] - net-libs/enet:1.3 - net-misc/curl - sys-libs/zlib - virtual/jpeg - virtual/opengl - x11-libs/libX11 - x11-libs/libXcursor - audio? ( media-libs/libogg - media-libs/libvorbis - media-libs/openal ) - editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )" -DEPEND="${RDEPEND} - virtual/pkgconfig - test? ( dev-lang/perl )" - -S=${WORKDIR}/trunk - -pkg_setup() { - games_pkg_setup - - if ! use pch ; then - eerror "pch useflag is potentially broken" - eerror "see http://trac.wildfiregames.com/ticket/1313" - fi -} - -src_unpack() { - subversion_src_unpack -} - -src_configure() { - cd build/workspaces || die - - ./update-workspaces.sh \ - --with-system-nvtt \ - --with-system-enet \ - --with-system-mozjs185 \ - $(usex pch "" "--without-pch") \ - $(usex test "" "--without-tests") \ - $(usex audio "" "--without-audio") \ - $(use_enable editor atlas) \ - --bindir="${GAMES_BINDIR}" \ - --libdir="$(games_get_libdir)"/${PN} \ - --datadir="${GAMES_DATADIR}"/${PN} -} - -src_compile() { - emake -C build/workspaces/gcc verbose=1 -} - -src_test() { - cd binaries/system || die - ./test -libdir "${S}/binaries/system" || die "test phase failed" -} - -src_install() { - # data - insinto "${GAMES_DATADIR}"/${PN} - doins -r binaries/data/* - - # bin - dogamesbin binaries/system/pyrogenesis - - # libs - exeinto "$(games_get_libdir)"/${PN} - doexe binaries/system/libCollada.so - use editor && doexe binaries/system/libAtlasUI.so - - # other - dodoc binaries/system/readme.txt - doicon build/resources/${PN}.png - games_make_wrapper ${PN} "${GAMES_BINDIR}/pyrogenesis" - make_desktop_entry ${PN} "0 A.D." - - # permissions - prepgamesdirs -} diff --git a/games-strategy/0ad/Manifest b/games-strategy/0ad/Manifest deleted file mode 100644 index e5596dfa..00000000 --- a/games-strategy/0ad/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST 0ad-0.0.16-alpha-unix-build.tar.xz 20019680 SHA256 cb965ef7e292bc3a2f1f598a9695e16ff4d786398f384a1ec7d5f9bfe2626de5 SHA512 9fe3440233d9827895b91ade1873afe977d62386a5dd6042d8169b153d576b462381bfc97e637f0b183aff034236380ca6d552ea2755cf08398143ad67121031 WHIRLPOOL 0e2f1ac9799a4b4d4588c2370a78195f2cc415fb2043be815ed2a2f9f179ccd856c405e7c0323f2033d3a6a4d63c08d8d5c8a05b50769ae3b9219717218edef6 diff --git a/games-strategy/0ad/files/0ad-14386_alpha16-gentoo.patch b/games-strategy/0ad/files/0ad-14386_alpha16-gentoo.patch deleted file mode 100644 index 30192fbc..00000000 --- a/games-strategy/0ad/files/0ad-14386_alpha16-gentoo.patch +++ /dev/null @@ -1,93 +0,0 @@ -From: Julian Ospald -Date: Sun Jun 24 18:32:38 UTC 2012 -Subject: build system - -respect flags -let stripping be handled by the system - -fix minimal-flags option: - leave -fvisibility=hidden active - leave conditional -fpc-preprocess active - ---- build/premake/premake4.lua -+++ build/premake/premake4.lua -@@ -145,7 +145,7 @@ - - function project_set_build_flags() - -- flags { "Symbols", "NoEditAndContinue" } -+ flags { "NoEditAndContinue" } - if not _OPTIONS["icc"] and (os.is("windows") or not _OPTIONS["minimal-flags"]) then - -- adds the -Wall compiler flag - flags { "ExtraWarnings" } -- this causes far too many warnings/remarks on ICC -@@ -337,13 +337,11 @@ - end - end - -- if not _OPTIONS["minimal-flags"] then - buildoptions { - -- Hide symbols in dynamic shared objects by default, for efficiency and for equivalence with - -- Windows - they should be exported explicitly with __attribute__ ((visibility ("default"))) - "-fvisibility=hidden" - } -- end - - if _OPTIONS["bindir"] then - defines { "INSTALLED_BINDIR=" .. _OPTIONS["bindir"] } ---- libraries/source/fcollada/src/Makefile -+++ libraries/source/fcollada/src/Makefile -@@ -9,8 +9,8 @@ - - CXX ?= g++ - CXXFLAGS += -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function $(OS_DEFINE) $(PIC_FLAGS) $(CPPFLAGS) --CXXFLAGS_DEBUG := -O0 -g -D_DEBUG -DRETAIL --CXXFLAGS_RELEASE := -O1 -DNDEBUG -DRETAIL -+CXXFLAGS_DEBUG := -D_DEBUG -DRETAIL -+CXXFLAGS_RELEASE := -DNDEBUG -DRETAIL - # (-O2 with gcc 4.3 causes linker errors when using this library, for unknown reasons, so stick with -O1 until gcc >4.3 is typical.) - CXXFLAGS_TEST := -O0 -g -D_DEBUG - LIBS += `pkg-config libxml-2.0 --libs` ---- build/premake/premake4/src/tools/gcc.lua -+++ build/premake/premake4/src/tools/gcc.lua -@@ -136,8 +136,6 @@ - if not cfg.flags.Symbols then - if cfg.system == "macosx" then - table.insert(result, "-Wl,-x") -- else -- table.insert(result, "-s") - end - end - ---- build/premake/premake4/build/gmake.unix/Premake4.make -+++ build/premake/premake4/build/gmake.unix/Premake4.make -@@ -26,9 +26,9 @@ - DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN - INCLUDES += -I../../src/host/lua-5.1.4/src - CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES) -- CFLAGS += $(CPPFLAGS) -Wall -Os -- CXXFLAGS += $(CPPFLAGS) -Wall -Os -- LDFLAGS += -s -rdynamic -+ CFLAGS += $(CPPFLAGS) -Wall -+ CXXFLAGS += $(CPPFLAGS) -Wall -+ LDFLAGS += -rdynamic - LIBS += -lm -ldl - RESFLAGS += $(DEFINES) $(INCLUDES) - LDDEPS += -@@ -48,8 +48,8 @@ - DEFINES += -D_DEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN - INCLUDES += -I../../src/host/lua-5.1.4/src - CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES) -- CFLAGS += $(CPPFLAGS) -Wall -g -- CXXFLAGS += $(CPPFLAGS) -Wall -g -+ CFLAGS += $(CPPFLAGS) -Wall -+ CXXFLAGS += $(CPPFLAGS) -Wall - LDFLAGS += -rdynamic - LIBS += -lm -ldl - RESFLAGS += $(DEFINES) $(INCLUDES) -@@ -302,4 +302,4 @@ - $(SILENT) $(CC) $(PCHINCLUDES) $(CFLAGS) -MF $(OBJDIR)/lauxlib.d -MT "$@" -o "$@" -c "$<" - - -include $(OBJECTS:%.o=%.d) ---include $(GCH:%.h.gch=%.h.d) -\ No newline at end of file -+-include $(GCH:%.h.gch=%.h.d)