diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-04 20:15:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-04 20:15:12 +0000 |
commit | 70764ed59dce6cd2ff653a31e1014a19ae7b47db (patch) | |
tree | c3b8b49b99190f28bfd40f1cd9fd415bf68f1b06 /games-strategy/widelands | |
parent | old (diff) | |
download | gentoo-2-70764ed59dce6cd2ff653a31e1014a19ae7b47db.tar.gz gentoo-2-70764ed59dce6cd2ff653a31e1014a19ae7b47db.tar.bz2 gentoo-2-70764ed59dce6cd2ff653a31e1014a19ae7b47db.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-strategy/widelands')
-rw-r--r-- | games-strategy/widelands/Manifest | 3 | ||||
-rw-r--r-- | games-strategy/widelands/files/widelands-0.0.13-build.patch | 105 | ||||
-rw-r--r-- | games-strategy/widelands/widelands-0.0.13.ebuild | 76 |
3 files changed, 0 insertions, 184 deletions
diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest index 9300066525f6..e0cdb9140009 100644 --- a/games-strategy/widelands/Manifest +++ b/games-strategy/widelands/Manifest @@ -1,8 +1,5 @@ -AUX widelands-0.0.13-build.patch 3128 RMD160 12555ad32d7ba79d303cf9fffa12eab7bd3e891a SHA1 7fa6182c03071f6e416a93ad27f42332425ee359 SHA256 80fd6bf47e600701fe35b97222127f6c372b78ff6c0bbd2f883a7e2e2b4255e2 AUX widelands-0.0.14-build.patch 545 RMD160 5c59bdf264d1a7e4f0a6e980826530c846546f1f SHA1 29a6da13d455e47c25de3516f16b29294994bd8d SHA256 43ade110de1d6eb5c166d78c207f1d522e506f39c267a9979b262f2b4987549f -DIST Widelands-Build13-src.tar.bz2 59030617 RMD160 d900401a27d3d98c447d5bf18037f35d4c74d740 SHA1 1634a536a45c52f656020168d1529d7e5ff092f3 SHA256 acbb4f6405e7429a8510eae5414a51cff198c1d4bef374303e3b4a47aae930b3 DIST Widelands-Build14-src.7z 63758110 RMD160 a9cbda7021ab5c2200a84d75d6759e35606159b9 SHA1 405ac86ec47da830d750e4ebdea1e0e0534852b2 SHA256 553632c32edde73c1aac9db6d1f113ddd260b745b65bd5340c01c0e115966939 -EBUILD widelands-0.0.13.ebuild 1920 RMD160 54defb6152036ae8781038738c2addddb4ee9e32 SHA1 5dcea00eab3c81d3543ef8b3c3f005c9efe62d86 SHA256 14a23fb23dd6411f58320bb980e6a7acda14f75a2cc3a120880852166c81890c EBUILD widelands-0.0.14.ebuild 1681 RMD160 165515e6b021ace1ea93f6ea26584229780539dc SHA1 dd51f81d1250087831b7c7fd15523768966e2b05 SHA256 0e5b3bd3b3f3a38f6c3f8bf7cce0a2b4d2559b1ba0ede024b459a3a900c90dff MISC ChangeLog 3712 RMD160 f7fffed13d8bd3f8d34e72e907b9b8cc38fc8f80 SHA1 5ff721f4ba44fc726c0a8e4d6140de863105314b SHA256 a57cd1b1a5efbe1a38ae34ede987871ec6d068582f342c2eaf1a2503fdb20bf9 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-strategy/widelands/files/widelands-0.0.13-build.patch b/games-strategy/widelands/files/widelands-0.0.13-build.patch deleted file mode 100644 index 9e1b141ca2dd..000000000000 --- a/games-strategy/widelands/files/widelands-0.0.13-build.patch +++ /dev/null @@ -1,105 +0,0 @@ ---- build/scons-tools/detect_revision.py -+++ build/scons-tools/detect_revision.py -@@ -8,17 +8,10 @@ - - import os,sys - --# Support for bzr local branches --try: -- from bzrlib.branch import Branch -- from bzrlib.bzrdir import BzrDir -- from bzrlib.errors import NotBranchError -- __has_bzr = True --except ImportError: -- __has_bzr = False - - def detect_revision(): - revstring='UNKNOWN-REVISION' -+ return revstring - - # All code below relies on posix-isms, don't even try on other systems for now - # TODO: find out how revision detection can be done cross platform instead of returning "UNKNOWN" ---- Makefile -+++ Makefile -@@ -26,7 +26,7 @@ - - #most current glibc systems implicitly contain libintl.so - ifndef IMPLICIT_LIBINTL --IMPLICIT_LIBINTL:=NO -+IMPLICIT_LIBINTL:=YES - endif - - # Is this a cross compile? -@@ -64,7 +64,7 @@ - # profile optimized, debugging symbols, profiling - # - ifndef BUILD --BUILD:=debug -+BUILD:=release - endif - - endif -@@ -80,7 +80,7 @@ - # COMPILE TIME configuration - ifeq ($(USE_GGZ),YES) - ADD_CFLAGS:= $(ADD_CFLAGS) -DUSE_GGZ --ADD_LDFLAGS:=-lggzmod -lggzcore -lggz -+ADD_LIBS:=-lggzmod -lggzcore -lggz - endif - - ############################################################################## -@@ -108,11 +108,9 @@ - BUILD:=$(strip $(BUILD)) - - ifeq ($(BUILD),release) --OPTIMIZE:=yes - # heavy optimization - #ADD_CFLAGS:=$(ADD_CFLAGS) -fomit-frame-pointer -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations - # !!!! -fomit-frame-pointer breaks execeptions !!!! --ADD_CFLAGS:=$(ADD_CFLAGS) -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations - else - ifeq ($(BUILD),profile) - OPTIMIZE:=yes -@@ -144,16 +142,16 @@ - endif - - ifeq ($(IMPLICIT_LIBINTL),NO) --ADD_LDFLAGS += -lintl -+ADD_LIBS += -lintl - endif - - ############################################################################## - # Object files and directories, final compilation flags - - OBJECT_DIR:=src/$(TARGET)-$(BUILD) --CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS) --CXXFLAGS:=$(CFLAGS) --LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net -lSDL_gfx -+CXXFLAGS+=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS) -+LDFLAGS+=$(ADD_LDFLAGS) -+LIBS=$(shell $(SDL_CONFIG) --libs) $(ADD_LIBS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net -lSDL_gfx - - ############################################################################## - # Building -@@ -215,14 +213,12 @@ - $(Q)-mkdir -p $(OBJECT_DIR) $(patsubst src/%,$(OBJECT_DIR)/%,$(SUBDIRS)) - - $(OBJECT_DIR)/widelands: $(OBJ) -- @echo "===> LD $@" -- $(Q)$(CXX) $(OBJ) -o $@ $(LDFLAGS) $(CFLAGS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) - - -include $(DEP) - - $(OBJECT_DIR)/%.o: src/%.cc src/config.h -- @echo "===> CXX $<" -- $(Q)$(CXX) -pipe $(CXXFLAGS) -MMD -MP -MF $@.d -c -o $@ $< -+ $(CXX) $(CXXFLAGS) -MMD -MP -MF $@.d -c -o $@ $< - $(Q)sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' $@.d > $(OBJECT_DIR)/$*.d - $(Q)rm $@.d - -@@ -237,4 +233,3 @@ - - src/build_id.cc: - sed -e "s/UNKNOWN/$(VERSION)/" src/build_id.cc.default > $@ -- diff --git a/games-strategy/widelands/widelands-0.0.13.ebuild b/games-strategy/widelands/widelands-0.0.13.ebuild deleted file mode 100644 index e41f0c73e2f2..000000000000 --- a/games-strategy/widelands/widelands-0.0.13.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.13.ebuild,v 1.1 2009/07/15 12:34:23 nyhm Exp $ - -inherit eutils flag-o-matic versionator games - -MY_PV=$(get_version_component_range 3) -DESCRIPTION="A game similar to Settlers 2" -HOMEPAGE="http://www.widelands.org/" -SRC_URI="mirror://sourceforge/${PN}/Widelands-Build${MY_PV}-src.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="nls" - -RDEPEND="media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/sdl-net - media-libs/sdl-ttf - media-libs/sdl-gfx - media-libs/libpng - dev-libs/boost - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-b${MY_PV} - -src_unpack() { - unpack ${A} - cd "${S}" - rm -f $(find . -name SConscript) - - epatch "${FILESDIR}"/${P}-build.patch - - sed -i 's:__ppc__:__PPC__:' src/s2map.cc \ - || die "sed s2map.cc failed" - sed -i "s:/usr/share/games:${GAMES_DATADIR}:" src/wlapplication.cc \ - || die "sed wlapplication.cc failed" - sed -i "s:/l/WiLa/Setup:${GAMES_DATADIR}/${PN}:" src/config.h.default \ - || die "sed config.h.default failed" -} - -src_compile() { - filter-flags -fomit-frame-pointer - emake src/build_id.cc || die "emake src/build_id.cc failed" - emake all || die "emake all failed" - - if use nls ; then - utils/buildlocale.py || die "buildlocale.py failed" - fi -} - -src_install() { - dogamesbin ${PN} || die "dogamesbin failed" - - insinto "${GAMES_DATADIR}"/${PN} - doins -r campaigns fonts global maps music pics sound tribes txts worlds \ - || die "doins failed" - - insinto "${GAMES_DATADIR}"/${PN}/locale - local d - for d in locale/* ; do - if [[ -d ${d} ]] ; then - doins -r ${d} || die "doins ${d} failed" - fi - done - - newicon pics/wl-ico-128.png ${PN}.png - make_desktop_entry ${PN} Widelands - - dodoc ChangeLog CREDITS - prepgamesdirs -} |