diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-07 14:38:26 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-07 14:38:26 +0000 |
commit | 6e9d68eda842b288f8ef0079a6e22045fb342813 (patch) | |
tree | 5fa8d2b260a35e33951c51cd1131b1df57bb7f06 /games-puzzle | |
parent | Change virtual/ruby to dev-lang/ruby, bug 265054. (diff) | |
download | historical-6e9d68eda842b288f8ef0079a6e22045fb342813.tar.gz historical-6e9d68eda842b288f8ef0079a6e22045fb342813.tar.bz2 historical-6e9d68eda842b288f8ef0079a6e22045fb342813.zip |
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/pingus/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/pingus/Manifest | 5 | ||||
-rw-r--r-- | games-puzzle/pingus/files/pingus-0.7.3-paths.patch | 34 | ||||
-rw-r--r-- | games-puzzle/pingus/pingus-0.7.3.ebuild | 56 |
4 files changed, 102 insertions, 3 deletions
diff --git a/games-puzzle/pingus/ChangeLog b/games-puzzle/pingus/ChangeLog index 475ef2b123a1..1fa26129d775 100644 --- a/games-puzzle/pingus/ChangeLog +++ b/games-puzzle/pingus/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/pingus -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.24 2009/06/08 04:41:08 mr_bones_ Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.25 2010/08/07 14:38:25 mr_bones_ Exp $ + +*pingus-0.7.3 (07 Aug 2010) + + 07 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> +pingus-0.7.3.ebuild, + +files/pingus-0.7.3-paths.patch: + version bump 08 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org> pingus-0.7.2.ebuild: only use the -j part of MAKEOPTS diff --git a/games-puzzle/pingus/Manifest b/games-puzzle/pingus/Manifest index 835457625f86..b2bd96cf429a 100644 --- a/games-puzzle/pingus/Manifest +++ b/games-puzzle/pingus/Manifest @@ -1,7 +1,10 @@ AUX pingus-0.7.2+gcc-4.3.patch 342 RMD160 b434d5a5401025ecb0281dac1cd7c1408b111011 SHA1 5ad39c923d2a0ea2cce1b816bb21466eb7d92a26 SHA256 cb40744438955e23e0659e87bf3c6a36a11ef8fda2b2f02aa77b8dca688d2889 AUX pingus-0.7.2-gcc44.patch 793 RMD160 d39cf3896fa69d68878b37cf7c0a4dc169269d95 SHA1 71c88bce4ff1fea3f8261142be865490e98e677d SHA256 29d55cbb059d8b7cad2c4ef009d63a1631ed85f3a3c84ec8bcde049c6dcc0740 AUX pingus-0.7.2-paths.patch 961 RMD160 9409f3d2fb56f81b0b0e5f8bfc17b3ad625c8b99 SHA1 5cf09662a9d812c77eb0699a45b1bfdbe7ded769 SHA256 d5e65707a4a9fb78c77d648a29e76ea3fe78c0038a099efbc1cb4272c70238ff +AUX pingus-0.7.3-paths.patch 961 RMD160 9409f3d2fb56f81b0b0e5f8bfc17b3ad625c8b99 SHA1 5cf09662a9d812c77eb0699a45b1bfdbe7ded769 SHA256 d5e65707a4a9fb78c77d648a29e76ea3fe78c0038a099efbc1cb4272c70238ff DIST pingus-0.7.2.tar.bz2 11055748 RMD160 669cd03504b33a67e87528ff65c3d736e904d8db SHA1 1cd3a1d924337a5ee2e0ee387c0513f85d47cdb0 SHA256 8d24fbab29ca9401ae1a6a34f7a52eda5de0a9320940e771c6f04f991f5d0052 +DIST pingus-0.7.3.tar.bz2 11127278 RMD160 664d259a98a172d10480be9aa4ec87a424ecd6f1 SHA1 ca7fe5cea65fb3392d1e81056a879831925502f2 SHA256 e35be18a01a9a24a2013e809c216decdbd5a66e2fec7ad38f6d32b28b6b85637 EBUILD pingus-0.7.2.ebuild 1487 RMD160 b68f7bbf709d7f26eab653e535ce81c8c41e4404 SHA1 0c24e805180b829b5be0d6eeab55a90540fe4639 SHA256 4ce12b177865b9037a8e7925897be143a9fdd1d325d8a5c32536dbd475afe009 -MISC ChangeLog 4058 RMD160 fe6a489a2ddf7439483353046ceb1e9d5e7d86aa SHA1 78a8113d8833b16b4741c664f2d1409d8841ade2 SHA256 521c979cf553f7e99d0ac3d095098d5f3423dde5c57532f59410a8d44a84fc5a +EBUILD pingus-0.7.3.ebuild 1438 RMD160 2345accb10e8b90ac7b9d3453ff5031b3352054e SHA1 fe57bf100ea1b96b2e937c7cdb9f36aa7b2c21f4 SHA256 1b9286c57c51b00da708da5b1b941c6330620df3cfffbc3dabb63dcb38d66ebd +MISC ChangeLog 4215 RMD160 12f11e7fabcdbc5d684cdeb617b3ce119421d74e SHA1 cd8698c1038f37b8ba95b245b2e707606a47b0e5 SHA256 42cb6db2e5cdc3c7f339c7c984a9bba8777bc45ae19a93b89fe95ba0a666521c MISC metadata.xml 1036 RMD160 ccb350bc7dae29efd8711bd3b1b8636360e45805 SHA1 361bd933c8c672f4bd625bd5263a112d66a19592 SHA256 0a0a3a34e8835dd9d091dec06a62b46d7193737768e5db7e044ae446c1551720 diff --git a/games-puzzle/pingus/files/pingus-0.7.3-paths.patch b/games-puzzle/pingus/files/pingus-0.7.3-paths.patch new file mode 100644 index 000000000000..00d974f92bb3 --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.3-paths.patch @@ -0,0 +1,34 @@ +--- install.sh ++++ install.sh +@@ -14,8 +14,8 @@ + exit 1 + fi + +- BINDIR="$1/bin/" +- DATADIR="$1/share/pingus/" ++ BINDIR="${1}GENTOO_BINDIR" ++ DATADIR="${1}GENTOO_DATADIR" + + echo "Installing Pingus in: $1" + +--- SConstruct ++++ SConstruct +@@ -406,7 +406,6 @@ + + config_h = open('config.h', 'w') + config_h.write('#define VERSION "0.7.2"\n') +- config_h.write('#define ENABLE_BINRELOC 1\n') + config_h.write('#define ICONV_CONST %s\n' % iconv_const) + for (v,k) in config_h_defines: + config_h.write('#define %s %s\n' % (v, k)) +--- src/pingus_main.cpp ++++ src/pingus_main.cpp +@@ -583,7 +583,7 @@ + path_manager.add_path("data"); // assume game is run from source dir, without any magic + free(exe_path); + #else +- path_manager.add_path("data"); // assume game is run from source dir ++ path_manager.add_path("GENTOO_DATADIR/data"); + #endif + + if (!path_manager.find_path("data/core.res")) diff --git a/games-puzzle/pingus/pingus-0.7.3.ebuild b/games-puzzle/pingus/pingus-0.7.3.ebuild new file mode 100644 index 000000000000..e1a76df51ccd --- /dev/null +++ b/games-puzzle/pingus/pingus-0.7.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.3.ebuild,v 1.1 2010/08/07 14:38:26 mr_bones_ Exp $ + +EAPI=2 +inherit eutils toolchain-funcs games + +DESCRIPTION="free Lemmings clone" +HOMEPAGE="http://pingus.seul.org/" +SRC_URI="http://pingus.seul.org/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl[joystick,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer + media-libs/libpng + dev-libs/boost" +DEPEND="${RDEPEND} + >=dev-util/scons-0.97" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-paths.patch + sed -i \ + -e "s:GENTOO_BINDIR:${GAMES_BINDIR}:" \ + -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ + install.sh src/pingus_main.cpp \ + || die "sed failed" +} + +src_configure() { + scons configure \ + CXX="$(tc-getCXX)" \ + CCFLAGS="${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" \ + || die "scons configure failed" +} + +src_compile() { + local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }") + [[ ${MAKEOPTS/-s/} != ${MAKEOPTS} ]] && sconsopts="${sconsopts} -s" + + scons ${sconsopts} || die "scons failed" +} + +src_install() { + ./install.sh "${D}" || die "install.sh failed" + newicon data/images/core/worldmap/pingus_standing.png ${PN}.png + make_desktop_entry ${PN} Pingus + dodoc AUTHORS NEWS README TODO + prepgamesdirs +} |