summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-09-25 12:50:28 +0000
committerTristan Heaven <tristan@gentoo.org>2007-09-25 12:50:28 +0000
commitfd06bce553042a80d1451b00edc9664527f63581 (patch)
tree9e893f7db96059615b40742fc1ac82b8ecffb288 /games-puzzle/pingus
parentPEER_DNS now allows OpenVPN to create /etc/resolv.conf or not, #193668 (diff)
downloadhistorical-fd06bce553042a80d1451b00edc9664527f63581.tar.gz
historical-fd06bce553042a80d1451b00edc9664527f63581.tar.bz2
historical-fd06bce553042a80d1451b00edc9664527f63581.zip
Version bump, bug #190206
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'games-puzzle/pingus')
-rw-r--r--games-puzzle/pingus/ChangeLog10
-rw-r--r--games-puzzle/pingus/Manifest28
-rw-r--r--games-puzzle/pingus/files/digest-pingus-0.7.13
-rw-r--r--games-puzzle/pingus/files/pingus-0.7.1-paths.patch34
-rw-r--r--games-puzzle/pingus/pingus-0.7.1.ebuild50
5 files changed, 115 insertions, 10 deletions
diff --git a/games-puzzle/pingus/ChangeLog b/games-puzzle/pingus/ChangeLog
index ecced3e3cc13..516083d2d63f 100644
--- a/games-puzzle/pingus/ChangeLog
+++ b/games-puzzle/pingus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/pingus
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.11 2006/11/04 04:56:55 nyhm Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.12 2007/09/25 12:50:27 nyhm Exp $
+
+*pingus-0.7.1 (25 Sep 2007)
+
+ 25 Sep 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/pingus-0.7.1-paths.patch, +pingus-0.7.1.ebuild:
+ Version bump, bug #190206
04 Nov 2006; Tristan Heaven <nyhm@gentoo.org>
+files/pingus-0.6.0-build.patch, pingus-0.6.0-r1.ebuild:
diff --git a/games-puzzle/pingus/Manifest b/games-puzzle/pingus/Manifest
index 0b045952e702..0a288184f90d 100644
--- a/games-puzzle/pingus/Manifest
+++ b/games-puzzle/pingus/Manifest
@@ -9,15 +9,24 @@ AUX pingus-0.6.0-gcc.patch 4456 RMD160 83a0b8a173c949fead3183fe006db6a09fca6407
MD5 50abceb94694d0b53196bf840e5e2710 files/pingus-0.6.0-gcc.patch 4456
RMD160 83a0b8a173c949fead3183fe006db6a09fca6407 files/pingus-0.6.0-gcc.patch 4456
SHA256 01429fe170612f5aee6bf414289a2b3ce02446527470f7365d3a2240c142339e files/pingus-0.6.0-gcc.patch 4456
+AUX pingus-0.7.1-paths.patch 975 RMD160 9b9f3b0c86b4586809e95346f72b2319ce46fea0 SHA1 1061e6655c3a3fcbfa1108727fc9cf40668bb782 SHA256 afb9059f53ade9732a43d9bd7cb645cf90fec5917d23109b91a0c7c68477a77b
+MD5 987417f2cadbd36390f6eab1e685a933 files/pingus-0.7.1-paths.patch 975
+RMD160 9b9f3b0c86b4586809e95346f72b2319ce46fea0 files/pingus-0.7.1-paths.patch 975
+SHA256 afb9059f53ade9732a43d9bd7cb645cf90fec5917d23109b91a0c7c68477a77b files/pingus-0.7.1-paths.patch 975
DIST pingus-0.6.0.tar.bz2 9585580 RMD160 2f8507997f6f47b886ed861e19e7c50185d7c597 SHA1 be3970eea96163009926014535ab92a6bec136fe SHA256 b88c9e220c9b82691c1bbf07e5ad5cfe763c3617d493a37c786ae4750fd77662
+DIST pingus-0.7.1.tar.bz2 10648862 RMD160 a9fab65a9966999cc3cb16e03122404f8372df7b SHA1 26b7cf0db0ef844bb4f28b2ea7aa8fca09321ce0 SHA256 90772f82bc1b9655541feb6471573fcbe375a633a858fcf5798ad8160ae89fb5
EBUILD pingus-0.6.0-r1.ebuild 1109 RMD160 139a6c9a03e204fa55ac5e8d01fb3d7ce160f925 SHA1 e22d41ad2607d054d5d5f3441793d30169f585ab SHA256 053e89eb87daa891c00624d28855382e748ed0f512dbd9718baa8d4241611496
MD5 5230de12362e444b847d28e8b85d211d pingus-0.6.0-r1.ebuild 1109
RMD160 139a6c9a03e204fa55ac5e8d01fb3d7ce160f925 pingus-0.6.0-r1.ebuild 1109
SHA256 053e89eb87daa891c00624d28855382e748ed0f512dbd9718baa8d4241611496 pingus-0.6.0-r1.ebuild 1109
-MISC ChangeLog 2347 RMD160 704272ce8fbc3f712428e5c3fde31731ef6cda52 SHA1 e74def138fe3923ca2501356e9c4841f95faa830 SHA256 534ee3cc2380728e7d0e547286d833cdb7d433808180aa82fb88956565aa46a9
-MD5 e9c4cb5b9f8abd46576b726bd0f90c35 ChangeLog 2347
-RMD160 704272ce8fbc3f712428e5c3fde31731ef6cda52 ChangeLog 2347
-SHA256 534ee3cc2380728e7d0e547286d833cdb7d433808180aa82fb88956565aa46a9 ChangeLog 2347
+EBUILD pingus-0.7.1.ebuild 1202 RMD160 ba7f2636302bbe4f34a6f83d4adb9676372f4c20 SHA1 a2cbc38c4a055f8324a7844ac819565201375ace SHA256 446091a63d5877e4867d855f6d1daf5181fb7a0a0b9c14afe9c2bb30c94d0ce2
+MD5 abfa675d0ebab27211e8767237e18ba2 pingus-0.7.1.ebuild 1202
+RMD160 ba7f2636302bbe4f34a6f83d4adb9676372f4c20 pingus-0.7.1.ebuild 1202
+SHA256 446091a63d5877e4867d855f6d1daf5181fb7a0a0b9c14afe9c2bb30c94d0ce2 pingus-0.7.1.ebuild 1202
+MISC ChangeLog 2510 RMD160 8c6277930e8e2cfdd42058b83e5d1d61bf7a6d86 SHA1 9346d2fc76a6bb5d4c8e2e3646ed6edbfce0ac07 SHA256 8869a46d5682e53e70871aeb0abfa858153c99fea5b1962e4d8625e3a97c6d6f
+MD5 38826dc931a38160977f5bf298468769 ChangeLog 2510
+RMD160 8c6277930e8e2cfdd42058b83e5d1d61bf7a6d86 ChangeLog 2510
+SHA256 8869a46d5682e53e70871aeb0abfa858153c99fea5b1962e4d8625e3a97c6d6f ChangeLog 2510
MISC metadata.xml 1036 RMD160 ccb350bc7dae29efd8711bd3b1b8636360e45805 SHA1 361bd933c8c672f4bd625bd5263a112d66a19592 SHA256 0a0a3a34e8835dd9d091dec06a62b46d7193737768e5db7e044ae446c1551720
MD5 50092257aca8ddefb4100a44fc77d564 metadata.xml 1036
RMD160 ccb350bc7dae29efd8711bd3b1b8636360e45805 metadata.xml 1036
@@ -25,10 +34,13 @@ SHA256 0a0a3a34e8835dd9d091dec06a62b46d7193737768e5db7e044ae446c1551720 metadata
MD5 5b98019e45a71b901576cc86ebc00591 files/digest-pingus-0.6.0-r1 244
RMD160 934de73b5c3a4ec6b899cdba8595fb5d5cb84e49 files/digest-pingus-0.6.0-r1 244
SHA256 ca7bebf4ea5790fcd13eb3298d63cffd23fdfcb45f92a5391898a1944d83b672 files/digest-pingus-0.6.0-r1 244
+MD5 8f16ec5d07ed01448b41cdcbb9c33d71 files/digest-pingus-0.7.1 247
+RMD160 26dd87ff0f244563ca0f75c95f027c299b0bbb95 files/digest-pingus-0.7.1 247
+SHA256 11d9d31dd6b75d9f5fcfcfe8b06c2c9c9f1f0e2b81933d40cd7d116e9b831900 files/digest-pingus-0.7.1 247
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFFTB2edz7hIScOURERApL8AJ49rPqJGY5r+U0jj5IvHl0f4CKBowCdGOYU
-i3QSf9CUclxSUZkvzOFXx3g=
-=08HT
+iD8DBQFG+QQcdz7hIScOURERAkdTAKCfbJCYdIESQtRbuM1vVERPS8j0RgCfSUTr
+5T7/oPIlD/oN3dxQmH/krKI=
+=NT+Z
-----END PGP SIGNATURE-----
diff --git a/games-puzzle/pingus/files/digest-pingus-0.7.1 b/games-puzzle/pingus/files/digest-pingus-0.7.1
new file mode 100644
index 000000000000..cb81a07f2d55
--- /dev/null
+++ b/games-puzzle/pingus/files/digest-pingus-0.7.1
@@ -0,0 +1,3 @@
+MD5 b4fcf66d0dc5e1d6148447988f87d3b1 pingus-0.7.1.tar.bz2 10648862
+RMD160 a9fab65a9966999cc3cb16e03122404f8372df7b pingus-0.7.1.tar.bz2 10648862
+SHA256 90772f82bc1b9655541feb6471573fcbe375a633a858fcf5798ad8160ae89fb5 pingus-0.7.1.tar.bz2 10648862
diff --git a/games-puzzle/pingus/files/pingus-0.7.1-paths.patch b/games-puzzle/pingus/files/pingus-0.7.1-paths.patch
new file mode 100644
index 000000000000..6adf00beaee8
--- /dev/null
+++ b/games-puzzle/pingus/files/pingus-0.7.1-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.1"\n')
+- config_h.write('#define ENABLE_BINRELOC 1\n')
+ config_h.write('#define ICONV_CONST\n') # FIXME: make a check for this
+ 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.1.ebuild b/games-puzzle/pingus/pingus-0.7.1.ebuild
new file mode 100644
index 000000000000..1dedac239fbb
--- /dev/null
+++ b/games-puzzle/pingus/pingus-0.7.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.1.ebuild,v 1.1 2007/09/25 12:50:27 nyhm Exp $
+
+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="~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/libpng
+ dev-libs/boost"
+DEPEND="${RDEPEND}
+ >=dev-util/scons-0.97"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ 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_compile() {
+ scons configure \
+ CXX="$(tc-getCXX)" \
+ CCFLAGS="${CXXFLAGS}" \
+ LINKFLAGS="${LDFLAGS}" \
+ || die "scons configure failed"
+ scons || die "scons failed"
+}
+
+src_install() {
+ ./install.sh "${D}" || die "install.sh failed"
+ newicon data/images/pingus/player0/boarder.png ${PN}.png
+ make_desktop_entry ${PN} Pingus
+ dodoc AUTHORS NEWS README TODO
+ prepgamesdirs
+}