diff options
author | 2006-12-15 19:15:45 +0000 | |
---|---|---|
committer | 2006-12-15 19:15:45 +0000 | |
commit | 4d890a52bf9a01e457e9172c17fe54eceff6df6f (patch) | |
tree | 4078998fcd931b54b991c484a1a9253d904f1190 | |
parent | dev-util/pkgcore-checks: New pkgcore-checks for testing (diff) | |
download | genstef-4d890a52bf9a01e457e9172c17fe54eceff6df6f.tar.gz genstef-4d890a52bf9a01e457e9172c17fe54eceff6df6f.tar.bz2 genstef-4d890a52bf9a01e457e9172c17fe54eceff6df6f.zip |
games-strategy/widelands: remove old
svn path=/; revision=84
12 files changed, 11 insertions, 328 deletions
diff --git a/games-strategy/widelands/ChangeLog b/games-strategy/widelands/ChangeLog index b9e9b92..eb6a069 100644 --- a/games-strategy/widelands/ChangeLog +++ b/games-strategy/widelands/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.10 2006/03/21 21:57:17 jokey Exp $ + 15 Dec 2006; Stefan Schweizer <genstef@gentoo.org> + -widelands-0.0.9.ebuild, -widelands-0.0.9.5.ebuild, + -widelands-0.0.9.5-r1.ebuild, -files/widelands-0.0.9.5-gcc41.patch, + -files/widelands-0.0.9-amd64.patch, -widelands-0.0.9.5_p9999.ebuild.orig, + -files/widelands-makefile.patch: + remove old + *widelands-0.0.9.5-r1 (21 Mar 2006) 21 Mar 2006; Markus Ullmann <jokey@gentoo.org> diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest index fcd34db..f0e37f1 100644 --- a/games-strategy/widelands/Manifest +++ b/games-strategy/widelands/Manifest @@ -1,37 +1,11 @@ -AUX widelands-0.0.9-amd64.patch 425 RMD160 02a4dcb0c0bb5d962df8347ee4cb6804ac08b3bd SHA1 358de9b0558b5e4643588f33a7a2a1f5d493467f SHA256 878939c6809b5de1e530d4770a9efd8ca309cd45d985e261b566ff159922d3b3 -MD5 839d74b86a5e329cbfb77e61c65d6921 files/widelands-0.0.9-amd64.patch 425 -RMD160 02a4dcb0c0bb5d962df8347ee4cb6804ac08b3bd files/widelands-0.0.9-amd64.patch 425 -SHA256 878939c6809b5de1e530d4770a9efd8ca309cd45d985e261b566ff159922d3b3 files/widelands-0.0.9-amd64.patch 425 -AUX widelands-0.0.9.5-gcc41.patch 304 RMD160 17d3a6486dfb78f6aa69c8fb90ec6809cb7d462e SHA1 7cf8fc8618043013d73fc2f363b2a0a60acc7d16 SHA256 92516fb795fa01fb87cff443fe37b86c4e2680f79ea60adee87c08bffe014acf -MD5 2ddf9d093211e7c32be95beff1ad6951 files/widelands-0.0.9.5-gcc41.patch 304 -RMD160 17d3a6486dfb78f6aa69c8fb90ec6809cb7d462e files/widelands-0.0.9.5-gcc41.patch 304 -SHA256 92516fb795fa01fb87cff443fe37b86c4e2680f79ea60adee87c08bffe014acf files/widelands-0.0.9.5-gcc41.patch 304 -AUX widelands-makefile.patch 728 RMD160 1df21cf0a8f511d9fbe0edc516b3193ee507bd32 SHA1 bdbcb4fe74a9d5822c50856cb79ffbecad17cd52 SHA256 a9f1db93b6f620e3185e8e9760c98a75b89062bc901a028f0fbecb11550bd6bc -MD5 3d7e00feeebcd47a5bf3ca35e1d5fe7e files/widelands-makefile.patch 728 -RMD160 1df21cf0a8f511d9fbe0edc516b3193ee507bd32 files/widelands-makefile.patch 728 -SHA256 a9f1db93b6f620e3185e8e9760c98a75b89062bc901a028f0fbecb11550bd6bc files/widelands-makefile.patch 728 -DIST widelands-b9-source.tar.bz2 2135320 RMD160 54e36dbefd1371b7e363443d32a08771aa883c63 SHA1 27ea04330cbfb5f24b03d88d994d03f476e80495 SHA256 95ce0d7798522b781f3c8a2d30b26b2b3ae710e493aac1e8758b922ecc2f52aa -DIST widelands-b9half-source.tar.bz2 10989969 RMD160 b9382690dfec3f789c0db7f0163f7392d889cfb0 SHA1 5aea1a225760265cd2b2d34a2fb35a7b875488c5 SHA256 a883b410fbe3089233926f3b2314fb3ccc9262b00a1aadbda9f7d73ea572ea9b -EBUILD widelands-0.0.9.5-r1.ebuild 1816 RMD160 d76c783bc765a41ddf728c27f4c2a2385f76c8fb SHA1 9f700b2222810f2fd4b690568f257c11d1e35d67 SHA256 517aff06459faac9ffe77df527b3311c27ef15fa86547aaf37187f4a42176b5d -MD5 a6d936e3b58cb0055e8b841a14e8b5d0 widelands-0.0.9.5-r1.ebuild 1816 -RMD160 d76c783bc765a41ddf728c27f4c2a2385f76c8fb widelands-0.0.9.5-r1.ebuild 1816 -SHA256 517aff06459faac9ffe77df527b3311c27ef15fa86547aaf37187f4a42176b5d widelands-0.0.9.5-r1.ebuild 1816 -EBUILD widelands-0.0.9.5.ebuild 1560 RMD160 2a75bfc8fa42644f8a5de9f2743e1034f6026a77 SHA1 993e807a1c91d21657f52541fda238747931078a SHA256 b45fcccfa22cd893f750a25ce7967ce359dac503be860028eb80ded7bf39cf9a -MD5 5371d06d8b89769075a903837dc711f0 widelands-0.0.9.5.ebuild 1560 -RMD160 2a75bfc8fa42644f8a5de9f2743e1034f6026a77 widelands-0.0.9.5.ebuild 1560 -SHA256 b45fcccfa22cd893f750a25ce7967ce359dac503be860028eb80ded7bf39cf9a widelands-0.0.9.5.ebuild 1560 EBUILD widelands-0.0.9.5_p9999.ebuild 2043 RMD160 e69afd5023bf9cd83f7152a5f726570c7b06a50e SHA1 a0e9e9c9863cc577af50543ab51f56b7a2907f2a SHA256 178291e9785eaeeae96fc2ccf15f8957b55d51a4daa57a56c9e6538f552dbfa8 MD5 c5cdeb54e560f4bca8a6c31ec10d568c widelands-0.0.9.5_p9999.ebuild 2043 RMD160 e69afd5023bf9cd83f7152a5f726570c7b06a50e widelands-0.0.9.5_p9999.ebuild 2043 SHA256 178291e9785eaeeae96fc2ccf15f8957b55d51a4daa57a56c9e6538f552dbfa8 widelands-0.0.9.5_p9999.ebuild 2043 -EBUILD widelands-0.0.9.ebuild 1169 RMD160 9aba54ccf891405d14c8ee7153f18f197526bb9e SHA1 9e3b651743505271a057a73c200e3a92622808fb SHA256 d956dd842d82e5490b1389124e72e3601985a3705ff81da0d405cc92e367cb45 -MD5 5973bcdbf97557cad2aaa063f7ba32e0 widelands-0.0.9.ebuild 1169 -RMD160 9aba54ccf891405d14c8ee7153f18f197526bb9e widelands-0.0.9.ebuild 1169 -SHA256 d956dd842d82e5490b1389124e72e3601985a3705ff81da0d405cc92e367cb45 widelands-0.0.9.ebuild 1169 -MISC ChangeLog 2150 RMD160 d6556518dab74a51b5011605afe0f5621622d745 SHA1 c9c17898d40e0570a6fc16fecc8d8a6a227143a7 SHA256 56ef1a738484539db33cf4ac26e1f90196aad58f9c4d2d7249ec6c054f8441ec -MD5 3b412efdabdc470d25d06689a05342c6 ChangeLog 2150 -RMD160 d6556518dab74a51b5011605afe0f5621622d745 ChangeLog 2150 -SHA256 56ef1a738484539db33cf4ac26e1f90196aad58f9c4d2d7249ec6c054f8441ec ChangeLog 2150 +MISC ChangeLog 2452 RMD160 6b788b5b612ce5b168cf10a2d24019bb4ea77281 SHA1 e534b329a36296eebdb52566018c01fdde09947a SHA256 0bbf3a899e1142122799c04ddaa9964defdaab6be2808cee1556e25977f24032 +MD5 d3bb343850b683287e6d2431441b3255 ChangeLog 2452 +RMD160 6b788b5b612ce5b168cf10a2d24019bb4ea77281 ChangeLog 2452 +SHA256 0bbf3a899e1142122799c04ddaa9964defdaab6be2808cee1556e25977f24032 ChangeLog 2452 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -40,19 +14,6 @@ MISC testlog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b MD5 d41d8cd98f00b204e9800998ecf8427e testlog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 testlog 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 testlog 0 -MISC widelands-0.0.9.5_p9999.ebuild.orig 1986 RMD160 26a40b44bc5fb1311e7a9cb08f15cbc621d1c626 SHA1 79e8dcbba503696194e7490e4e8f4f84bc8dc619 SHA256 23d9b399533ef01b44a99b5ad05352289ae4edd5957b13cb497c0ba369d56c6e -MD5 45aad5f5147effcba18e31590cb6890b widelands-0.0.9.5_p9999.ebuild.orig 1986 -RMD160 26a40b44bc5fb1311e7a9cb08f15cbc621d1c626 widelands-0.0.9.5_p9999.ebuild.orig 1986 -SHA256 23d9b399533ef01b44a99b5ad05352289ae4edd5957b13cb497c0ba369d56c6e widelands-0.0.9.5_p9999.ebuild.orig 1986 -MD5 795b367ee106a214d4a2379bb5a9e8cb files/digest-widelands-0.0.9 265 -RMD160 ccbc92b1e0d269dbabed0491b1c4089f7f249eac files/digest-widelands-0.0.9 265 -SHA256 14eb157809bd76b4ca7ae07859d24c6efeb95fcb327d7750b0a32a5aff153adb files/digest-widelands-0.0.9 265 -MD5 e10d5f329e0eb06f44b8569526772ee8 files/digest-widelands-0.0.9.5 280 -RMD160 c9e6d18caecb85ff113b76c18da754e0da8c0af8 files/digest-widelands-0.0.9.5 280 -SHA256 65b319119c6b4b8653cadf0d12609cfdbb02d3126444a6a2621b99b569ad784a files/digest-widelands-0.0.9.5 280 -MD5 e10d5f329e0eb06f44b8569526772ee8 files/digest-widelands-0.0.9.5-r1 280 -RMD160 c9e6d18caecb85ff113b76c18da754e0da8c0af8 files/digest-widelands-0.0.9.5-r1 280 -SHA256 65b319119c6b4b8653cadf0d12609cfdbb02d3126444a6a2621b99b569ad784a files/digest-widelands-0.0.9.5-r1 280 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-widelands-0.0.9.5_p9999 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-widelands-0.0.9.5_p9999 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-widelands-0.0.9.5_p9999 0 diff --git a/games-strategy/widelands/files/digest-widelands-0.0.9 b/games-strategy/widelands/files/digest-widelands-0.0.9 deleted file mode 100644 index 839cbaf..0000000 --- a/games-strategy/widelands/files/digest-widelands-0.0.9 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0efaa379795496c05feee47de27b5dae widelands-b9-source.tar.bz2 2135320 -RMD160 54e36dbefd1371b7e363443d32a08771aa883c63 widelands-b9-source.tar.bz2 2135320 -SHA256 95ce0d7798522b781f3c8a2d30b26b2b3ae710e493aac1e8758b922ecc2f52aa widelands-b9-source.tar.bz2 2135320 diff --git a/games-strategy/widelands/files/digest-widelands-0.0.9.5 b/games-strategy/widelands/files/digest-widelands-0.0.9.5 deleted file mode 100644 index ba1068b..0000000 --- a/games-strategy/widelands/files/digest-widelands-0.0.9.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7bced82bda4b83d884da3e5b0143b2b4 widelands-b9half-source.tar.bz2 10989969 -RMD160 b9382690dfec3f789c0db7f0163f7392d889cfb0 widelands-b9half-source.tar.bz2 10989969 -SHA256 a883b410fbe3089233926f3b2314fb3ccc9262b00a1aadbda9f7d73ea572ea9b widelands-b9half-source.tar.bz2 10989969 diff --git a/games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 b/games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 deleted file mode 100644 index ba1068b..0000000 --- a/games-strategy/widelands/files/digest-widelands-0.0.9.5-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7bced82bda4b83d884da3e5b0143b2b4 widelands-b9half-source.tar.bz2 10989969 -RMD160 b9382690dfec3f789c0db7f0163f7392d889cfb0 widelands-b9half-source.tar.bz2 10989969 -SHA256 a883b410fbe3089233926f3b2314fb3ccc9262b00a1aadbda9f7d73ea572ea9b widelands-b9half-source.tar.bz2 10989969 diff --git a/games-strategy/widelands/files/widelands-0.0.9-amd64.patch b/games-strategy/widelands/files/widelands-0.0.9-amd64.patch deleted file mode 100644 index c290314..0000000 --- a/games-strategy/widelands/files/widelands-0.0.9-amd64.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -urN widelands.orig/src/machdep.h widelands/src/machdep.h ---- widelands.orig/src/machdep.h 2005-05-04 22:31:16.000000000 -0400 -+++ widelands/src/machdep.h 2005-05-04 22:31:37.000000000 -0400 -@@ -36,6 +36,10 @@ - #undef P_BIG_ENDIAN - #define P_LITTLE_ENDIAN - #undef P_ALIGNMENT -+#elif defined (__x86_64__) -+#undef P_BIG_ENDIAN -+#define P_LITTLE_ENDIAN -+#undef P_ALIGNMENT - #else - #error architecture not supported - #endif diff --git a/games-strategy/widelands/files/widelands-0.0.9.5-gcc41.patch b/games-strategy/widelands/files/widelands-0.0.9.5-gcc41.patch deleted file mode 100644 index 493eaf0..0000000 --- a/games-strategy/widelands/files/widelands-0.0.9.5-gcc41.patch +++ /dev/null @@ -1,5 +0,0 @@ ---- src/ui/ui_fs_menus/fullscreen_menu_options.h.orig 2006-01-23 21:12:33.000000000 +0100 -+++ src/ui/ui_fs_menus/fullscreen_menu_options.h 2006-01-23 21:22:31.000000000 +0100 -@@ -66 +66 @@ -- Options_Ctrl::Options_Struct Fullscreen_Menu_Options::get_values(); -+ Options_Ctrl::Options_Struct get_values(); diff --git a/games-strategy/widelands/files/widelands-makefile.patch b/games-strategy/widelands/files/widelands-makefile.patch deleted file mode 100644 index da96caf..0000000 --- a/games-strategy/widelands/files/widelands-makefile.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- widelands-b9half/Makefile.orig 2006-01-13 00:19:12.000000000 +0100 -+++ widelands-b9half/Makefile 2006-01-13 00:19:29.000000000 +0100 -@@ -160,9 +160,9 @@ - # Object files and directories, final compilation flags - - OBJECT_DIR:=src/$(TARGET)-$(BUILD) --CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS) -+CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS) $(CFLAGS) - CXXFLAGS:=$(CFLAGS) --LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net -+LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net $(LDFLAGS) - - ############################################################################## - # Building diff --git a/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild b/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild deleted file mode 100644 index 35ca9b6..0000000 --- a/games-strategy/widelands/widelands-0.0.9.5-r1.ebuild +++ /dev/null @@ -1,73 +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/widelands/widelands-0.0.9.5-r1.ebuild,v 1.1 2006/03/21 21:57:17 jokey Exp $ - -inherit eutils games flag-o-matic - -DESCRIPTION="A game similar to Settlers 2" -HOMEPAGE="http://widelands.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${PN}-b${PV:4:1}half-source.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug nls" - -DEPEND="media-libs/libpng - media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/sdl-net - media-libs/sdl-ttf - sys-libs/zlib" -RDEPEND=${DEPEND} - -S=${WORKDIR}/${PN}-b9half - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/widelands-0.0.9-amd64.patch" - epatch "${FILESDIR}/widelands-makefile.patch" - epatch "${FILESDIR}/widelands-0.0.9.5-gcc41.patch" - sed -i -e "s:__ppc__:__PPC__:g" "${S}/src/machdep.h" || die "sed failed" - - if use nls ; then - cd ${S}/locale - cp ../utils/*.py . - fi -} - -src_compile() { - filter-flags -fomit-frame-pointer - use debug || export BUILD="release" - use elibc_glibc && export IMPLICIT_LIBINTL=1 - emake || die "emake failed" - unset BUILD IMPLICIT_LIBINTL - - if use nls ; then - cd ${S}/locale - ./buildcat.py - rm *.p* .cvsignore tmp - fi -} - -src_install() { - local dir=${GAMES_DATADIR}/${PN} - - insinto "${dir}" - - if use nls ; then - doins -r fonts maps pics tribes worlds campaigns locale || die "doins failed" - else - doins -r fonts maps pics tribes worlds campaigns || die "doins failed" - fi - exeinto "${dir}" - doexe ${PN} || die "copying widelands" - games_make_wrapper widelands ./widelands "${dir}" - dodoc AUTHORS ChangeLog README.developers - - newicon pics/wl-ico-48.png widelands.png - make_desktop_entry widelands Widelands widelands.png - prepgamesdirs -} diff --git a/games-strategy/widelands/widelands-0.0.9.5.ebuild b/games-strategy/widelands/widelands-0.0.9.5.ebuild deleted file mode 100644 index 750b636..0000000 --- a/games-strategy/widelands/widelands-0.0.9.5.ebuild +++ /dev/null @@ -1,58 +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/widelands/widelands-0.0.9.5.ebuild,v 1.8 2006/02/26 06:44:28 halcy0n Exp $ - -inherit eutils games flag-o-matic - -DESCRIPTION="A game similar to Settlers 2" -HOMEPAGE="http://widelands.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${PN}-b${PV:4:1}half-source.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug" - -DEPEND="media-libs/libpng - media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/sdl-net - media-libs/sdl-ttf - sys-libs/zlib" -RDEPEND=${DEPEND} - -S=${WORKDIR}/${PN}-b9half - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/widelands-0.0.9-amd64.patch" - epatch "${FILESDIR}/widelands-makefile.patch" - epatch "${FILESDIR}/widelands-0.0.9.5-gcc41.patch" - sed -i -e "s:__ppc__:__PPC__:g" "${S}/src/machdep.h" || die "sed failed" -} - -src_compile() { - filter-flags -fomit-frame-pointer - use debug || export BUILD="release" - use elibc_glibc && export IMPLICIT_LIBINTL=1 - emake || die "emake failed" - unset BUILD IMPLICIT_LIBINTL -} - -src_install() { - local dir=${GAMES_DATADIR}/${PN} - - insinto "${dir}" - doins -r fonts maps pics tribes worlds campaigns \ - || die "doins failed" - exeinto "${dir}" - doexe ${PN} || die "copying widelands" - games_make_wrapper widelands ./widelands "${dir}" - dodoc AUTHORS ChangeLog README.developers - - newicon pics/wl-ico-48.png widelands.png - make_desktop_entry widelands Widelands widelands.png - prepgamesdirs -} diff --git a/games-strategy/widelands/widelands-0.0.9.5_p9999.ebuild.orig b/games-strategy/widelands/widelands-0.0.9.5_p9999.ebuild.orig deleted file mode 100644 index ad906d9..0000000 --- a/games-strategy/widelands/widelands-0.0.9.5_p9999.ebuild.orig +++ /dev/null @@ -1,63 +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/widelands/widelands-0.0.9.5-r1.ebuild,v 1.1 2006/03/21 21:57:17 jokey Exp $ - -inherit eutils games subversion - -DESCRIPTION="A game similar to Settlers 2" -HOMEPAGE="http://widelands.sourceforge.net/" -#SRC_URI="mirror://sourceforge/${PN}/${PN}-b${PV:4:1}half-source.tar.bz2" -#ECVS_SERVER="widelands.cvs.sourceforge.net:/cvsroot/widelands" -#ECVS_MODULE="widelands" -ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/widelands/trunk" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug ggz nls" - -DEPEND="media-libs/libpng - media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/sdl-net - media-libs/sdl-ttf - sys-libs/zlib - dev-util/scons - ggz? ( dev-games/libggz )" -RDEPEND=${DEPEND} - -src_compile() { - # sandbox fixing - sed -i -e "s:SetOption('implicit_cache', 1):\0\nenv = Environment()\nenv.SConsignFile():" SConstruct - - # gentoo users can set build flags themselves - sed -i -e "s:, '-ffast-math', '-funroll-loops'::" \ - -e "s:-fexpensive-optimizations:${CXXFLAGS--O2}:" -e "s:-O3::" \ - -e "s:LINKFLAGS='-s':LINKFLAGS='${LDFLAGS}':" -e "s:-O0::" \ - SConstruct - sed -i "s:LOCALE_PATH \"locale\":LOCALE_PATH \"${GAMES_DATADIR}/${PN}/locale\":" src/constants.h - use nls && sed -i "s:locale/??_??:locale:" SConstruct - - use debug && sconsopts="build=debug" || sconsopts="build=release" - use ggz && sconsopts="${sconsopts} use_ggz=1" - scons ${sconsopts} || die "scons ${sconsopts} failed" - - if use nls; then - cd ${S}/locale - ../utils/buildcat.py - rm SConscript *.p* .cvsignore - fi -} - -src_install() { - scons install_prefix=${D}/usr \ - datadir=${D}${GAMES_DATADIR}/${PN} \ - bindir=${D}${GAMES_BINDIR} \ - install || die "scons install failed" - dodoc CREDITS ChangeLog README.developers - - newicon pics/wl-ico-48.png widelands.png - make_desktop_entry widelands Widelands widelands.png - prepgamesdirs -} diff --git a/games-strategy/widelands/widelands-0.0.9.ebuild b/games-strategy/widelands/widelands-0.0.9.ebuild deleted file mode 100644 index 0f38cfd..0000000 --- a/games-strategy/widelands/widelands-0.0.9.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.9.ebuild,v 1.4 2005/10/29 12:37:52 lu_zero Exp $ - -inherit eutils games - -DESCRIPTION="A game similar to Settlers 2" -HOMEPAGE="http://widelands.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${PN}-b${PV:4:4}-source.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug" - -DEPEND="media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-net - media-libs/sdl-ttf - sys-libs/zlib - media-libs/jpeg - media-libs/libpng" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}/${P}-amd64.patch" - sed -i -e "s:__ppc__:__PPC__:g" ${S}/src/machdep.h -} - -src_compile() { - use debug || export BUILD="release" - emake || die "emake failed" - unset BUILD -} - -src_install() { - local dir=${GAMES_DATADIR}/${PN} - - insinto "${dir}" - doins -r fonts maps pics tribes worlds campaigns README \ - || die "doins failed" - exeinto "${dir}" - doexe ${PN} || die "copying widelands" - games_make_wrapper widelands ./widelands "${dir}" - dodoc AUTHORS ChangeLog README - prepgamesdirs -} |