public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-strategy/widelands: widelands-0.17.ebuild ChangeLog widelands-0.15.ebuild
@ 2012-05-15 11:15 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; only message in thread
From: Tomas Chvatal (scarabeus) @ 2012-05-15 11:15 UTC (permalink / raw
  To: gentoo-commits

scarabeus    12/05/15 11:15:48

  Modified:             ChangeLog
  Added:                widelands-0.17.ebuild
  Removed:              widelands-0.15.ebuild
  Log:
  Version bump to latest release. Fixes bug#413387. Remove old overshadowed verison.
  
  (Portage version: 2.2.0_alpha105/cvs/Linux x86_64)

Revision  Changes    Path
1.41                 games-strategy/widelands/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/ChangeLog?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/ChangeLog?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/ChangeLog?r1=1.40&r2=1.41

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ChangeLog	15 Oct 2011 15:24:49 -0000	1.40
+++ ChangeLog	15 May 2012 11:15:48 -0000	1.41
@@ -1,6 +1,15 @@
 # ChangeLog for games-strategy/widelands
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.40 2011/10/15 15:24:49 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.41 2012/05/15 11:15:48 scarabeus Exp $
+
+*widelands-0.17 (15 May 2012)
+
+  15 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> +widelands-0.17.ebuild,
+  -files/widelands-0.15-build.patch, -files/widelands-0.15-gcc45.patch,
+  -files/widelands-0.15-gcc46.patch, -files/widelands-0.15-locale.patch,
+  -widelands-0.15.ebuild:
+  Version bump to latest release. Fixes bug#413387. Remove old overshadowed
+  verison.
 
   15 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> widelands-0.16.ebuild:
   ppc stable wrt #385925



1.1                  games-strategy/widelands/widelands-0.17.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/widelands-0.17.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/widelands/widelands-0.17.ebuild?rev=1.1&content-type=text/plain

Index: widelands-0.17.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.17.ebuild,v 1.1 2012/05/15 11:15:48 scarabeus Exp $

EAPI=3
inherit versionator cmake-utils games

MY_PV=build$(get_version_component_range 2)
MY_P=${PN}-${MY_PV}-src
DESCRIPTION="A game similar to Settlers 2"
HOMEPAGE="http://www.widelands.org/"
SRC_URI="http://launchpad.net/widelands/${MY_PV}/build-$(get_version_component_range 2)/+download/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

RDEPEND="dev-lang/lua
	media-libs/sdl-image[jpeg,png]
	media-libs/sdl-mixer[vorbis]
	media-libs/sdl-gfx
	media-libs/sdl-net
	media-libs/glew
	media-libs/sdl-ttf"
DEPEND="${RDEPEND}
	dev-libs/boost"

S=${WORKDIR}/${MY_P}

CMAKE_BUILD_TYPE=Release
PREFIX=${GAMES_DATADIR}/${PN}

src_prepare() {
	sed -i -e 's:__ppc__:__PPC__:' src/s2map.cc || die
	sed -i -e '74i#define OF(x) x' src/io/filesystem/{un,}zip.h || die
	sed -i -e '22i#define OF(x) x' src/io/filesystem/ioapi.h || die
	sed -i -e '/Boost_USE_STATIC_LIBS/s:ON:OFF:' CMakeLists.txt || die
}

src_configure() {
	local mycmakeargs+=(
		'-DWL_VERSION_STANDARD=true'
		"-DWL_INSTALL_PREFIX=${GAMES_PREFIX}"
		"-DWL_INSTALL_DATADIR=${GAMES_DATADIR}/${PN}"
		"-DWL_INSTALL_LOCALEDIR=${GAMES_DATADIR}/${PN}/locale"
		"-DWL_INSTALL_BINDIR=${GAMES_BINDIR}"
	)
	cmake-utils_src_configure
}

src_compile() {
	cmake-utils_src_compile
}

src_install() {
	cmake-utils_src_install
	newicon pics/wl-ico-128.png ${PN}.png || die
	make_desktop_entry ${PN} Widelands
	dodoc ChangeLog CREDITS
	prepgamesdirs
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-15 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 11:15 [gentoo-commits] gentoo-x86 commit in games-strategy/widelands: widelands-0.17.ebuild ChangeLog widelands-0.15.ebuild Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox