From eb1b279083679253ab913f247b770e3645cf198f Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Mon, 3 Sep 2007 21:21:04 +0200 Subject: [PATCH] Updated pingus (0.6.0 -> 0.7.0) --- games/pingus/pingus.cache | 48 ++++++++++++++++----------------------- games/pingus/pingus.conf | 36 +++++++++++++++-------------- games/pingus/pingus.desc | 4 ++-- 3 files changed, 40 insertions(+), 48 deletions(-) diff --git a/games/pingus/pingus.cache b/games/pingus/pingus.cache index 28c9dc842..9ecc4ce19 100644 --- a/games/pingus/pingus.cache +++ b/games/pingus/pingus.cache @@ -1,48 +1,38 @@ -[TIMESTAMP] 1133750201 Mon Dec 5 03:36:41 2005 -[BUILDTIME] 85 (5) ERROR -[SIZE] 0.01 MB, 7 files +[TIMESTAMP] 1188846838 Mon Sep 3 21:13:58 2007 +[BUILDTIME] 40 (5) +[SIZE] 17.98 MB, 1438 files [DEP] 00-dirtree -[DEP] autoconf -[DEP] automake [DEP] bash [DEP] binutils -[DEP] bison +[DEP] boost [DEP] bzip2 -[DEP] clanlib06 [DEP] coreutils [DEP] diffutils -[DEP] directfb [DEP] findutils [DEP] gawk [DEP] gcc -[DEP] gettext [DEP] glibc +[DEP] gnue-common [DEP] grep -[DEP] hermes -[DEP] libdrm -[DEP] libjpeg -[DEP] libmikmod -[DEP] libogg +[DEP] gst-python [DEP] libpng -[DEP] libvorbis -[DEP] libx11 -[DEP] libxau -[DEP] libxdmcp -[DEP] libxext -[DEP] libxml -[DEP] libxxf86vm +[DEP] libsdl +[DEP] libsdl_image +[DEP] libsdl_mixer [DEP] linux-header -[DEP] m4 -[DEP] make -[DEP] mesa -[DEP] mktemp -[DEP] net-tools -[DEP] patch -[DEP] perl +[DEP] numpy +[DEP] physfs +[DEP] pil +[DEP] pygobject +[DEP] python +[DEP] rat +[DEP] scons [DEP] sed +[DEP] setuptools [DEP] sysfiles [DEP] tar -[DEP] util-linux +[DEP] trac-doxygen +[DEP] wxpython [DEP] zlib diff --git a/games/pingus/pingus.conf b/games/pingus/pingus.conf index 71fc459b4..9bbd86c65 100644 --- a/games/pingus/pingus.conf +++ b/games/pingus/pingus.conf @@ -3,8 +3,6 @@ # # Filename: package/.../pingus/pingus.conf # Copyright (C) 2007 The OpenSDE Project -# Copyright (C) 2004 - 2006 The T2 SDE Project -# Copyright (C) 1998 - 2003 Clifford Wolf # # More information can be found in the files COPYING and README. # @@ -14,22 +12,26 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +# Prevent executing normal make and install build steps. +# This package uses scons and a custom install script. +MAKE=scons +makeinstopt='' + bindir=$root/$SDECFG_PKG_GAMES_BINDIR -datadir=$root/$SDECFG_PKG_GAMES_DATADIR +datadir=$root/$SDECFG_PKG_GAMES_DATADIR/$pkg + +pingus_install() { + # We need to do some additional magic. + pushd $builddir/pingus-${ver} -[ "$SDECFG_DISABLE_NLS" == "1" ] && \ - var_append extraconfopt " " "--disable-nls" -[ "$SDECFG_PKG_PINGUS_NOGETTEXT" == "1" ] && \ - var_append extraconfopt " " "--without-gettext" -[ "$SDECFG_PKG_PINGUS_OPENGL" == "1" ] && \ - var_append extraconfopt " " "--with-clanGL" + # Custom installation steps. We could trim some additional fat + # here (look at install.sh). install.sh complained and could not + # be easily fixed. + install -v pingus "$bindir/$pkg" + tar -c data | tar -x -C $datadir -pkgprefix -t clanlib06 -for x in CXX CPP GCC; do - var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir clanlib06 )/ClanLib-0.6" -done -for x in CXX GCC; do - var_append ${x}_WRAPPER_APPEND ' ' "-L$( pkgprefix libdir clanlib06 )" -done + # Restore directory. + popd +} -autogen=1 +hook_add postmake 5 pingus_install diff --git a/games/pingus/pingus.desc b/games/pingus/pingus.desc index 23133a995..323c616d1 100644 --- a/games/pingus/pingus.desc +++ b/games/pingus/pingus.desc @@ -41,8 +41,8 @@ [L] GPL [S] Stable -[V] 0.6.0 +[V] 0.7.0 [P] X -----5---9 215.400 -[D] 208993478 pingus-0.6.0.tar.bz2 http://pingus.seul.org/files/ +[D] 723584230 pingus-0.7.0.tar.bz2 http://pingus.seul.org/files/