diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-12-21 03:19:38 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-12-21 03:19:38 +0000 |
commit | 2dd118d3dab3171e9d63af81bed4cd9192c1692c (patch) | |
tree | a6de00112497830d0fd2d793d05798635fe13739 /games-strategy | |
parent | gnome 1.x removal (diff) | |
download | gentoo-2-2dd118d3dab3171e9d63af81bed4cd9192c1692c.tar.gz gentoo-2-2dd118d3dab3171e9d63af81bed4cd9192c1692c.tar.bz2 gentoo-2-2dd118d3dab3171e9d63af81bed4cd9192c1692c.zip |
gnome 1.x removal
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/xarchon/ChangeLog | 40 | ||||
-rw-r--r-- | games-strategy/xarchon/Manifest | 40 | ||||
-rw-r--r-- | games-strategy/xarchon/files/01_all_gcc34_font.patch | 131 | ||||
-rw-r--r-- | games-strategy/xarchon/files/digest-xarchon-0.50 | 1 | ||||
-rw-r--r-- | games-strategy/xarchon/files/digest-xarchon-0.60 | 2 | ||||
-rw-r--r-- | games-strategy/xarchon/files/digest-xarchon-0.60-r1 | 6 | ||||
-rw-r--r-- | games-strategy/xarchon/files/xarchon-0.60-gcc41.patch | 23 | ||||
-rw-r--r-- | games-strategy/xarchon/metadata.xml | 5 | ||||
-rw-r--r-- | games-strategy/xarchon/xarchon-0.50.ebuild | 37 | ||||
-rw-r--r-- | games-strategy/xarchon/xarchon-0.60-r1.ebuild | 55 | ||||
-rw-r--r-- | games-strategy/xarchon/xarchon-0.60.ebuild | 49 |
11 files changed, 0 insertions, 389 deletions
diff --git a/games-strategy/xarchon/ChangeLog b/games-strategy/xarchon/ChangeLog deleted file mode 100644 index 11553bd407fa..000000000000 --- a/games-strategy/xarchon/ChangeLog +++ /dev/null @@ -1,40 +0,0 @@ -# ChangeLog for games-strategy/xarchon -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/ChangeLog,v 1.10 2006/04/09 10:44:43 tupone Exp $ - - 09 Apr 2006; <Tupone@gentoo.org> +files/xarchon-0.60-gcc41.patch, - xarchon-0.60-r1.ebuild: - Fixes for gcc-4.1 - -*xarchon-0.60-r1 (15 Mar 2006) - - 15 Mar 2006; <Tupone@gentoo.org> +files/01_all_gcc34_font.patch, - +xarchon-0.60-r1.ebuild: - Fix for bug #116209 (compile on gcc-3.4). - Patching font to select some present on the system - - 12 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> xarchon-0.50.ebuild, - xarchon-0.60.ebuild: - X is implicit - - 01 May 2005; Michael Hanselmann <hansmi@gentoo.org> xarchon-0.60.ebuild: - Stable on ppc. - - 12 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> xarchon-0.60.ebuild: - no bugs reported for 375 days. Marking stable for x86 - - 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> xarchon-0.50.ebuild: - Fix use invocation - - 13 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xarchon-0.60.ebuild: - games eclass inherits eutils already; error check sed; use flag tidy - -*xarchon-0.60 (31 Jul 2003) - - 31 Jul 2003; Mike Frysinger <vapier@gentoo.org> : - Development version ... pretty messed up src but ppl want it ;) - -*xarchon-0.50 (29 Jul 2003) - - 29 Jul 2003; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by me for Guru. diff --git a/games-strategy/xarchon/Manifest b/games-strategy/xarchon/Manifest deleted file mode 100644 index 7dfe401f3c46..000000000000 --- a/games-strategy/xarchon/Manifest +++ /dev/null @@ -1,40 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 1829f9a1bc8ef5a95705b82d3b169705 ChangeLog 1422 -RMD160 922666eb62c52870dad07a044d5f9cd6de0374f1 ChangeLog 1422 -SHA256 d8f81a0b121ff7611ecb268cd28d99188bf9e17ba8ee96dd64154120234793fe ChangeLog 1422 -MD5 4388c8ee38d49ac90ccbedbb8b810eaa files/01_all_gcc34_font.patch 5384 -RMD160 174d5ef891870bc58434ce40677269a689d816ad files/01_all_gcc34_font.patch 5384 -SHA256 abbb20e50413f4b812bcade3eb80647b819886f34f10d4897c3535f1d7e2b37a files/01_all_gcc34_font.patch 5384 -MD5 8bfbd70aee2831c6c7a4587cad2f6011 files/digest-xarchon-0.50 64 -RMD160 8500e004b0388a21c858059bce867afde1134b99 files/digest-xarchon-0.50 64 -SHA256 947d8b0a2cc2f818c0e20c69b94d550420a17b4831986a5b6c9e600a7c3d194e files/digest-xarchon-0.50 64 -MD5 50a9df5dead133494d2506a91264661e files/digest-xarchon-0.60 133 -RMD160 834fc66255125395ed538bc55c69d8779599e486 files/digest-xarchon-0.60 133 -SHA256 4c6888f1fff8638cfa755c1ae5945d69e7a46b910849ba811170ac4aa26609d9 files/digest-xarchon-0.60 133 -MD5 596bf4b259ff3ca51a4940ec8a232362 files/digest-xarchon-0.60-r1 491 -RMD160 d0ee7551a6dae2c98e4d6a1b0bacd953f3fde879 files/digest-xarchon-0.60-r1 491 -SHA256 fa2179e4dd10dbfecae8ca1dad0c8eeea8cb9b6c1775337f71e247809408bd0e files/digest-xarchon-0.60-r1 491 -MD5 7f877a9fa7ee1e6df4ee4316c3c1a6a0 files/xarchon-0.60-gcc41.patch 1092 -RMD160 737f0427b78cd33b73f0f8f9a9fec8adf5c5ecff files/xarchon-0.60-gcc41.patch 1092 -SHA256 6c626625a1a6c97464c16ca23d8d7940eacf5ef6bc98af52b879b894ffe91d90 files/xarchon-0.60-gcc41.patch 1092 -MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 -SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 e9926061f428b56d0e8006581cf86805 xarchon-0.50.ebuild 866 -RMD160 9810a6995b5c828bf946f4ed0fc57455d10c954c xarchon-0.50.ebuild 866 -SHA256 94ee3655ac53b5954740ed73c6fcde2ba146fedad9f05c40531145208d3fcd6a xarchon-0.50.ebuild 866 -MD5 7f523248993a17fc960fe10463b0c4d7 xarchon-0.60-r1.ebuild 1360 -RMD160 5166d7645cd52688ad403ed34b47e887e79684d5 xarchon-0.60-r1.ebuild 1360 -SHA256 db8d8d8a5141c8e3eca17916cd40d902d8cb560dade9a20cab275f0032b716d7 xarchon-0.60-r1.ebuild 1360 -MD5 e925e1555906a05144224079efa976f4 xarchon-0.60.ebuild 1170 -RMD160 26e653e5eab0c54b14bc2a8d5e3b975f04ab7986 xarchon-0.60.ebuild 1170 -SHA256 b866fdbe8482b665d20e2f6c8b33d90105bfa1e426543e3d4c28c084623299e0 xarchon-0.60.ebuild 1170 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFEOOW42CTtIKiFlQIRAtGaAJ0bXA/2JPEDsqYLEPh0uIrytw/eVgCfUNre -cTGsXiQS/J58zTNQeqvl2G8= -=Zvv3 ------END PGP SIGNATURE----- diff --git a/games-strategy/xarchon/files/01_all_gcc34_font.patch b/games-strategy/xarchon/files/01_all_gcc34_font.patch deleted file mode 100644 index 3a9a79853971..000000000000 --- a/games-strategy/xarchon/files/01_all_gcc34_font.patch +++ /dev/null @@ -1,131 +0,0 @@ ---- src/Problem.hpp.original 2006-03-14 21:55:28.000000000 +0100 -+++ src/Problem.hpp 2006-03-14 22:06:18.000000000 +0100 -@@ -306,14 +306,19 @@ - virtual G Goal_Value(T *a) - { - if (depth==0) -- return tester->Goal_Value(a); -+ return Successor_Goal_Test<G,T>::tester->Goal_Value(a); - -- Goal_Test<G,T> *endtester=tester; -- tester=new Minimax_Goal_Test(depth-1,generator,other_acc,goal_acc,tester); -+ Goal_Test<G,T> *endtester=Successor_Goal_Test<G,T>::tester; -+ Successor_Goal_Test<G,T>::tester -+ = new Minimax_Goal_Test(depth-1, -+ Successor_Goal_Test<G,T>::generator, -+ other_acc, -+ Successor_Goal_Test<G,T>::goal_acc, -+ Successor_Goal_Test<G,T>::tester); - G ret_val=Successor_Goal_Test<G,T>::Goal_Value(a); -- delete tester; -- tester=endtester; -- delete next; -+ delete Successor_Goal_Test<G,T>::tester; -+ Successor_Goal_Test<G,T>::tester=endtester; -+ delete Successor_Goal_Test<G,T>::next; - - return ret_val; - } -@@ -340,19 +345,29 @@ - - virtual G Goal_Value(T *a) - { -- Goal_Accumulator <G,T> *old=goal_acc; -+ Goal_Accumulator <G,T> *old=Successor_Goal_Test<G,T>::goal_acc; - Multi_Goal_Accumulator <G,T,greater<G> > *mga=new Multi_Goal_Accumulator<G,T,greater<G> >(branch); -- goal_acc=mga; -+ Successor_Goal_Test<G,T>::goal_acc=mga; - Successor_Goal_Test<G,T>::Goal_Value(a); -- goal_acc=old; -+ Successor_Goal_Test<G,T>::goal_acc=old; - for (mga->Init();!mga->IsEnd();mga->Next()) { - T *state=mga->Get_State(); -- Multi_Minimax_Goal_Test *next=new Multi_Minimax_Goal_Test(d-1,b,gen,other,goal_acc,tester); -+ Multi_Minimax_Goal_Test *next -+ = new Multi_Minimax_Goal_Test(Successor_Goal_Test<G,T>::d-1, -+ Successor_Goal_Test<G,T>::b, -+ Successor_Goal_Test<G,T>::gen, -+ other, -+ Successor_Goal_Test<G,T>::goal_acc, -+ Successor_Goal_Test<G,T>::tester); - next->Goal_Value(state); -- goal_acc->Put(accumulator->value,acc->state,acc->op); -+ Successor_Goal_Test<G,T>::goal_acc->Put(Successor_Goal_Test<G,T>::accumulator->value, -+ Successor_Goal_Test<G,T>::acc->state, -+ Successor_Goal_Test<G,T>::acc->op); - } -- goal_acc->Put(mga->Get_State(),mga->Get_Operator(),mga->Get_Result()); -- return goal_acc->Get_Value(); -+ Successor_Goal_Test<G,T>::goal_acc->Put(mga->Get_State(), -+ mga->Get_Operator(), -+ mga->Get_Result()); -+ return Successor_Goal_Test<G,T>::goal_acc->Get_Value(); - } - }; - ---- src/Genetic.hpp.original 2006-03-14 22:06:40.000000000 +0100 -+++ src/Genetic.hpp 2006-03-14 22:12:20.000000000 +0100 -@@ -216,9 +216,9 @@ - virtual Genetic_Operator<T> *Choose_Operator(void) - { - int max=(int)total_op_weight; -- list<Genetic_Operator<T> *>::iterator start=operators.begin(); -- list<Genetic_Operator<T> *>::iterator end=operators.end(); -- list<Genetic_Operator<T> *>::iterator iter; -+ typename list<Genetic_Operator<T> *>::iterator start=operators.begin(); -+ typename list<Genetic_Operator<T> *>::iterator end=operators.end(); -+ typename list<Genetic_Operator<T> *>::iterator iter; - int r=rand()%max; - int count=0; - for (iter=start;iter!=end;iter++) { -@@ -249,7 +249,7 @@ - Genetic_Population<T> *newpop=new Genetic_Population<T>(p->size); - int cur_size=0; - while (cur_size<newpop->size) { -- Genetic_Operator<T> *op=Choose_Operator(); -+ Genetic_Operator<T> *op=Genetic_Generation<T>::Choose_Operator(); - if ( (cur_size+op->NumOfResults())>newpop->size) - continue; - for (i=0;i<op->NumOfOperands();i++) { -@@ -264,7 +264,7 @@ - cur_size++; - } - } -- newpop->Eval_Fitness(fit_func); -+ newpop->Eval_Fitness(Genetic_Generation<T>::fit_func); - return newpop; - } - ---- src/board.c.original 2006-03-14 23:24:41.000000000 +0100 -+++ src/board.c 2006-03-14 23:24:52.000000000 +0100 -@@ -27,7 +27,7 @@ - #define FLOOR_DARK 0 /* steppings for light and dark */ - #define FLOOR_LIGHT 7 /* outside luminance cycle */ - --#define FONT_NAME "-misc-fixed-medium-*-normal-*-15-0-*-*-*-*-iso8859-1" -+#define FONT_NAME "-misc-fixed-medium-*-normal-*-15-*-*-*-*-*-iso8859-1" - - #define V_CELL_YSIZE 40 /* revive cell height */ - ---- src/field.c.original 2006-03-14 23:46:13.000000000 +0100 -+++ src/field.c 2006-03-14 23:46:57.000000000 +0100 -@@ -21,7 +21,7 @@ - /* defines */ - /*--------------------------------------------------------------------------*/ - --#define FONT_NAME "-misc-fixed-medium-*-normal-*-40-0-*-*-*-*-iso8859-1" -+#define FONT_NAME "-misc-fixed-medium-*-normal-*-20-*-*-*-*-*-iso8859-1" - - #define NUM_ROCKS 12 - #define ROCK_DELAY 2 /* rock slowdown factor */ ---- src/network.c.original 2006-03-14 23:46:23.000000000 +0100 -+++ src/network.c 2006-03-14 23:47:24.000000000 +0100 -@@ -31,7 +31,7 @@ - /* define */ - /*--------------------------------------------------------------------------*/ - --#define FONT_NAME "-misc-fixed-medium-*-normal-*-20-0-*-*-*-*-iso8859-1" -+#define FONT_NAME "-misc-fixed-medium-*-normal-*-18-*-*-*-*-*-iso8859-1" - - #define TIMEOUT 3 - #define RETRIES 4 diff --git a/games-strategy/xarchon/files/digest-xarchon-0.50 b/games-strategy/xarchon/files/digest-xarchon-0.50 deleted file mode 100644 index b7add5bf6d29..000000000000 --- a/games-strategy/xarchon/files/digest-xarchon-0.50 +++ /dev/null @@ -1 +0,0 @@ -MD5 491dea5b4e61ed13cd988d1c184a8ef0 xarchon-0.50.tar.gz 371299 diff --git a/games-strategy/xarchon/files/digest-xarchon-0.60 b/games-strategy/xarchon/files/digest-xarchon-0.60 deleted file mode 100644 index 404db7d3c26c..000000000000 --- a/games-strategy/xarchon/files/digest-xarchon-0.60 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 d7f3fc32b2ddbbfb8578a3366400c5c6 xarchon-0.60.tar.gz 435088 -MD5 299edc5edf0d0ded68801e1beaa3164e xarchon-0.60-gtk.patch.bz2 3541 diff --git a/games-strategy/xarchon/files/digest-xarchon-0.60-r1 b/games-strategy/xarchon/files/digest-xarchon-0.60-r1 deleted file mode 100644 index d10455a6f036..000000000000 --- a/games-strategy/xarchon/files/digest-xarchon-0.60-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 299edc5edf0d0ded68801e1beaa3164e xarchon-0.60-gtk.patch.bz2 3541 -RMD160 ee615751ee30fba5ecce867e68866c3ea34b8c14 xarchon-0.60-gtk.patch.bz2 3541 -SHA256 9b1b15a50442493dc267920ae617834defcbd39f529723621559bc5bdb870893 xarchon-0.60-gtk.patch.bz2 3541 -MD5 d7f3fc32b2ddbbfb8578a3366400c5c6 xarchon-0.60.tar.gz 435088 -RMD160 fdaa7556ee980b004efe4aaae59618fddba8a10b xarchon-0.60.tar.gz 435088 -SHA256 37765e765fd6e35dcaaa830750b5936611644b10566c7b7338d54a496bfbf716 xarchon-0.60.tar.gz 435088 diff --git a/games-strategy/xarchon/files/xarchon-0.60-gcc41.patch b/games-strategy/xarchon/files/xarchon-0.60-gcc41.patch deleted file mode 100644 index a29275bb1fed..000000000000 --- a/games-strategy/xarchon/files/xarchon-0.60-gcc41.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- src/board.h.old 2006-04-09 11:27:54.000000000 +0200 -+++ src/board.h 2006-04-09 11:28:08.000000000 +0200 -@@ -98,7 +98,6 @@ - /*--------------------------------------------------------------------------*/ - - extern int board_turn; --extern int board_frame_time; - extern CELL board_cells[BOARD_YCELLS][BOARD_XCELLS]; - extern int spell_avails[3][SPELL_COUNT_2]; /* row 0 is light, row 1 is dark */ - extern int init_board_cells[NUM_GAMES][BOARD_YCELLS][BOARD_XCELLS]; ---- src/Xarchon_Genetic.hpp.old 2006-04-09 11:29:36.000000000 +0200 -+++ src/Xarchon_Genetic.hpp 2006-04-09 12:20:38.000000000 +0200 -@@ -82,8 +82,8 @@ - Xarchon_Genetic_Generation *gg; - public: - Xarchon_Evolution(char *test,char *pop,int num); -- Genetic_Population<Xarchon_Goal_Test> *Xarchon_Evolution::Operate(Genetic_Population<Xarchon_Goal_Test> *p); -- Genetic_Population<Xarchon_Goal_Test> *Xarchon_Evolution::Operate(void); -+ Genetic_Population<Xarchon_Goal_Test> *Operate(Genetic_Population<Xarchon_Goal_Test> *p); -+ Genetic_Population<Xarchon_Goal_Test> *Operate(void); - virtual ~Xarchon_Evolution(void); - }; - diff --git a/games-strategy/xarchon/metadata.xml b/games-strategy/xarchon/metadata.xml deleted file mode 100644 index d3c2cc926f0b..000000000000 --- a/games-strategy/xarchon/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>games</herd> -</pkgmetadata> diff --git a/games-strategy/xarchon/xarchon-0.50.ebuild b/games-strategy/xarchon/xarchon-0.50.ebuild deleted file mode 100644 index 4a04bc241a88..000000000000 --- a/games-strategy/xarchon/xarchon-0.50.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.50.ebuild,v 1.7 2006/03/12 23:43:50 mr_bones_ Exp $ - -inherit games - -DESCRIPTION="modelled after the golden oldie Archon game" -HOMEPAGE="http://xarchon.seul.org/" -SRC_URI="ftp://ftp.seul.org/pub/xarchon/${P}.tar.gz - http://xarchon.seul.org/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc x86" -IUSE="esd joystick" - -DEPEND="=x11-libs/gtk+-1* - esd? ( media-sound/esound )" - -src_compile() { - local mysndconf - use esd \ - && mysndconf="--with-esd-prefix=/usr" \ - || mysndconf="--disable-sound" - egamesconf \ - --enable-network \ - $(use_enable joystick) \ - ${mysndconf} \ - || die - emake || die -} - -src_install() { - egamesinstall || die - dodoc AUTHORS ChangeLog NEWS README - prepgamesdirs -} diff --git a/games-strategy/xarchon/xarchon-0.60-r1.ebuild b/games-strategy/xarchon/xarchon-0.60-r1.ebuild deleted file mode 100644 index 3d175ba26d84..000000000000 --- a/games-strategy/xarchon/xarchon-0.60-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.60-r1.ebuild,v 1.2 2006/04/09 10:44:43 tupone Exp $ - -inherit eutils games - -DESCRIPTION="modelled after the golden oldie Archon game" -HOMEPAGE="http://xarchon.seul.org/" -SRC_URI="ftp://ftp.seul.org/pub/xarchon/${P}.tar.gz - http://xarchon.seul.org/${P}.tar.gz - mirror://gentoo/${P}-gtk.patch.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~x86" -IUSE="esd joystick" # also has qt support but it fails :/ - -DEPEND="=x11-libs/gtk+-1* - <dev-util/glade-2 - esd? ( media-sound/esound )" - -src_unpack() { - unpack ${A} - cd "${S}" - # Applying gtk patch - # Fixing gcc-3.4 compiling - # Fixing gcc-4.1 compiling - # Fixing font missing in gentoo - epatch "${WORKDIR}/${P}-gtk.patch" \ - "${FILESDIR}"/01_all_gcc34_font.patch \ - "${FILESDIR}"/${P}-gcc41.patch - sed -i \ - -e 's:gtk12-config:gtk-config:' configure \ - || die "sed configure failed" -} - -src_compile() { - local mysndconf - use esd \ - && mysndconf="--with-esd-prefix=/usr" \ - || mysndconf="--disable-sound" - egamesconf \ - --enable-network \ - $(use_enable joystick) \ - --with-default-gtk \ - ${mysndconf} \ - || die - emake || die "emake failed" -} - -src_install() { - egamesinstall || die - dodoc AUTHORS ChangeLog NEWS README - prepgamesdirs -} diff --git a/games-strategy/xarchon/xarchon-0.60.ebuild b/games-strategy/xarchon/xarchon-0.60.ebuild deleted file mode 100644 index 25a562569c6f..000000000000 --- a/games-strategy/xarchon/xarchon-0.60.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.60.ebuild,v 1.9 2006/03/12 23:43:50 mr_bones_ Exp $ - -inherit eutils games - -DESCRIPTION="modelled after the golden oldie Archon game" -HOMEPAGE="http://xarchon.seul.org/" -SRC_URI="ftp://ftp.seul.org/pub/xarchon/${P}.tar.gz - http://xarchon.seul.org/${P}.tar.gz - mirror://gentoo/${P}-gtk.patch.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc x86" -IUSE="esd joystick" # also has qt support but it fails :/ - -DEPEND="=x11-libs/gtk+-1* - <dev-util/glade-2 - esd? ( media-sound/esound )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}/${P}-gtk.patch" - sed -i \ - -e 's:gtk12-config:gtk-config:' configure \ - || die "sed configure failed" -} - -src_compile() { - local mysndconf - use esd \ - && mysndconf="--with-esd-prefix=/usr" \ - || mysndconf="--disable-sound" - egamesconf \ - --enable-network \ - $(use_enable joystick) \ - --with-default-gtk \ - ${mysndconf} \ - || die - emake || die "emake failed" -} - -src_install() { - egamesinstall || die - dodoc AUTHORS ChangeLog NEWS README - prepgamesdirs -} |