diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-04-29 13:29:31 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-04-29 13:29:31 +0000 |
commit | 652d5474245d61eb5ac4f62ac497bcb409794373 (patch) | |
tree | 8d926fceae68d98cccbc8e08478ab24be1905759 /games-action/armagetronad | |
parent | better version in portage (diff) | |
download | genstef-652d5474245d61eb5ac4f62ac497bcb409794373.tar.gz genstef-652d5474245d61eb5ac4f62ac497bcb409794373.tar.bz2 genstef-652d5474245d61eb5ac4f62ac497bcb409794373.zip |
better version in the armagetron overlay
svn path=/; revision=108
Diffstat (limited to 'games-action/armagetronad')
-rw-r--r-- | games-action/armagetronad/Manifest | 43 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.8.1.ebuild | 145 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.8.2.1.ebuild | 112 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.8.2.ebuild.orig | 141 | ||||
-rw-r--r-- | games-action/armagetronad/diff | 48 | ||||
-rw-r--r-- | games-action/armagetronad/files/0280_fix-sysinstall.patch | 47 | ||||
-rw-r--r-- | games-action/armagetronad/files/armagetronad | 39 | ||||
-rw-r--r-- | games-action/armagetronad/files/armagetronad-ded | 50 | ||||
-rw-r--r-- | games-action/armagetronad/files/digest-armagetronad-0.2.8.1 | 12 | ||||
-rw-r--r-- | games-action/armagetronad/files/digest-armagetronad-0.2.8.2.1 | 12 | ||||
-rw-r--r-- | games-action/armagetronad/patch | 136 |
11 files changed, 0 insertions, 785 deletions
diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest deleted file mode 100644 index 221b4b6..0000000 --- a/games-action/armagetronad/Manifest +++ /dev/null @@ -1,43 +0,0 @@ -AUX 0280_fix-sysinstall.patch 2072 RMD160 d3e67fcd3a88a1fa16f1e27e23cf239edde2a84a SHA1 e8c9483b6f93bd1bfba124ced9853a47b263015c SHA256 077ef38aca1f74c1c84bde11654180673a2596ffd2d15d939e8ad1dd0f08d8ba -MD5 8e0ee678028d0d9ef52677d738c76856 files/0280_fix-sysinstall.patch 2072 -RMD160 d3e67fcd3a88a1fa16f1e27e23cf239edde2a84a files/0280_fix-sysinstall.patch 2072 -SHA256 077ef38aca1f74c1c84bde11654180673a2596ffd2d15d939e8ad1dd0f08d8ba files/0280_fix-sysinstall.patch 2072 -AUX armagetronad 1102 RMD160 e9a7852c6b03010e03d93f1c849e4c582338745b SHA1 bd4feaba945fe12dc47bfae4e8fe18992e4546cd SHA256 b267de50ee8b41028b2fe3e441dd4049d3fd689cb3fa7788427ade03e7851579 -MD5 617e831d7f4c02cd72d67800bcf0144f files/armagetronad 1102 -RMD160 e9a7852c6b03010e03d93f1c849e4c582338745b files/armagetronad 1102 -SHA256 b267de50ee8b41028b2fe3e441dd4049d3fd689cb3fa7788427ade03e7851579 files/armagetronad 1102 -AUX armagetronad-ded 1340 RMD160 508417bcacbf0583513c5407517e79bd15ce06af SHA1 254cb6460fb43a35f8cc8ccf8e6bc51d7312f350 SHA256 24935ddbb1e82b5a0695e03bd5e7f23f3ecae503b61459c6168cb7ae0d62080a -MD5 37312a765833708af1d1712bc4fad0ac files/armagetronad-ded 1340 -RMD160 508417bcacbf0583513c5407517e79bd15ce06af files/armagetronad-ded 1340 -SHA256 24935ddbb1e82b5a0695e03bd5e7f23f3ecae503b61459c6168cb7ae0d62080a files/armagetronad-ded 1340 -DIST armagetronad-0.2.8.1.src.tar.bz2 1441730 RMD160 151681f84cd4694dc79c1653bc6960eef8f63d37 SHA1 452170617eacff82a23e5326677792fbc79b3573 SHA256 f887e00342dc17ee6f85a5b534a7ddb5fc95dc7028c6fab92bde647918ce2a04 -DIST armagetronad-0.2.8.2.1.src.tar.bz2 1623441 RMD160 b09448954dde1005ff0063f7f7a5a4de48aa49c9 SHA1 5df5f1b767ee8dcb0f50ce8459a9acfcdb073a66 SHA256 5ccb12cd07118bb210c8256edf2e33a34dc0e9880c3f1c926a9fe4db87f15940 -DIST moviepack.zip 352253 RMD160 07c8b2aa48ad84092869c90e32d32a96d367afd5 SHA1 2dfe328f325add441a74c79685806d16fddce2c6 SHA256 3de835e1e8af71f1dcbf5ac8405dfa87973eac50d206c12338278fc601cf9d78 -DIST moviesounds_fq.zip 2182021 RMD160 9fe95f3cc31bfdf9149bf850d5ae46ca5253a09a SHA1 357d87ef40e25bec19fdc8a3aac70db53d3820ec SHA256 9f8061eb0fef416885424bdba9f899fc5b4d9a021f46eef4eb821a7f1e08c1ba -DIST spanishvoices.zip 349593 RMD160 13a7b307e1da341fe37e164e36db7778960edaee SHA1 c3a21209dd0bddcc1e50515169ce64504aa485a9 SHA256 fff02f9f002927929dc7ed102d4b01875c20a6e42188fe0a3b2d8b9cfdbad1a4 -EBUILD armagetronad-0.2.8.1.ebuild 5073 RMD160 6e42bf06cb05e46633785f79275db82dc7411b18 SHA1 6690ce71546146c2c272217664b05a5d8ccda212 SHA256 6247b400665aaca7f128de95973cd2f5ed43c25e58a80c9b982d2efe5ce0820a -MD5 3a190ef1ca2c339994bfd3e5b60d178d armagetronad-0.2.8.1.ebuild 5073 -RMD160 6e42bf06cb05e46633785f79275db82dc7411b18 armagetronad-0.2.8.1.ebuild 5073 -SHA256 6247b400665aaca7f128de95973cd2f5ed43c25e58a80c9b982d2efe5ce0820a armagetronad-0.2.8.1.ebuild 5073 -EBUILD armagetronad-0.2.8.2.1.ebuild 3183 RMD160 d90c59eb9c12572d6b0ee1107bf792c8ec37e1b6 SHA1 ee4296e7e4a009fc25db702f405174b4bb8476b2 SHA256 45700de00fae08612ecffa51d1af49e0654508a4536b972f5af443426afae3e3 -MD5 dd36d1f64769f8a7d8337bb106235bd4 armagetronad-0.2.8.2.1.ebuild 3183 -RMD160 d90c59eb9c12572d6b0ee1107bf792c8ec37e1b6 armagetronad-0.2.8.2.1.ebuild 3183 -SHA256 45700de00fae08612ecffa51d1af49e0654508a4536b972f5af443426afae3e3 armagetronad-0.2.8.2.1.ebuild 3183 -MISC armagetronad-0.2.8.2.ebuild.orig 4417 RMD160 cc5d987c3b9c071f3e2d30731fde7461059104ac SHA1 5b2bbe089c37e2f783c69082dff0103b51b84941 SHA256 2f3954d2db8a4a2dc494556e01ccf0fda3b4e55e38f2bf83aff650b41c590f19 -MD5 12e17e89bd2de0c6216bd097836617be armagetronad-0.2.8.2.ebuild.orig 4417 -RMD160 cc5d987c3b9c071f3e2d30731fde7461059104ac armagetronad-0.2.8.2.ebuild.orig 4417 -SHA256 2f3954d2db8a4a2dc494556e01ccf0fda3b4e55e38f2bf83aff650b41c590f19 armagetronad-0.2.8.2.ebuild.orig 4417 -MISC diff 1314 RMD160 3fcbd0f9c537f6af4178a2cdb27be4ff68a123d9 SHA1 9c8a3c6bd01802da4ca40f339b39b61d39ef958c SHA256 119ea736f22cfa1f5db417a41d2a38268dece227070c0c2cba2d7caba659e1b8 -MD5 253f48d59c2060c0063ebc16c63b5f65 diff 1314 -RMD160 3fcbd0f9c537f6af4178a2cdb27be4ff68a123d9 diff 1314 -SHA256 119ea736f22cfa1f5db417a41d2a38268dece227070c0c2cba2d7caba659e1b8 diff 1314 -MISC patch 4926 RMD160 0f9e28d3786f894dd520beaacc06c1f7a0a303ff SHA1 ed04e3d7612c48c0fca9a1f1395ef334649c620f SHA256 a6990f5b357f4ac53508f08b2d3deeb02dfcbff7c609338f20f6a2e3c5268359 -MD5 2f4f5febcda53138eaf3048fe2510095 patch 4926 -RMD160 0f9e28d3786f894dd520beaacc06c1f7a0a303ff patch 4926 -SHA256 a6990f5b357f4ac53508f08b2d3deeb02dfcbff7c609338f20f6a2e3c5268359 patch 4926 -MD5 1e686e85a3e63934852cd363f5d50c19 files/digest-armagetronad-0.2.8.1 970 -RMD160 0c0a5dd7a428b62a1191f61fe29a0d50362987d7 files/digest-armagetronad-0.2.8.1 970 -SHA256 63a49ee8a039c79bcb61f2d3303bd49418052849ccdcd48de386e3df341140f2 files/digest-armagetronad-0.2.8.1 970 -MD5 20dca9e686b13db49f6a27495c013bae files/digest-armagetronad-0.2.8.2.1 976 -RMD160 19ad25ea8d595b87818f77ff13b3c48cdc4f3a69 files/digest-armagetronad-0.2.8.2.1 976 -SHA256 35ed4ceec09d574f4c3cfb702301ceae6dbd3c364ad3864a8a4a272a9a72d3c1 files/digest-armagetronad-0.2.8.2.1 976 diff --git a/games-action/armagetronad/armagetronad-0.2.8.1.ebuild b/games-action/armagetronad/armagetronad-0.2.8.1.ebuild deleted file mode 100644 index 8d2cd7a..0000000 --- a/games-action/armagetronad/armagetronad-0.2.8.1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/Attic/armagetronad-0.2.8.1.ebuild,v 1.3 2006/05/01 02:51:37 mr_bones_ Exp $ - -inherit flag-o-matic eutils games - -DESCRIPTION="\"A Tron clone in 3D\"" -HOMEPAGE="http://armagetronad.net/" -SRC_URI="mirror://sourceforge/armagetronad/${P}.src.tar.bz2 - moviesounds? ( - http://beta.armagetronad.net/fetch.php/PreResource/moviesounds_fq.zip - linguas_es? ( !linguas_en? ( - http://beta.armagetronad.net/fetch.php/PreResource/spanishvoices.zip - ) ) - ) - moviepack? ( - http://beta.armagetronad.net/fetch.php/PreResource/moviepack.zip - ) -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug dedicated krawall opengl moviepack moviesounds" - -GLDEPS="|| ( - x11-libs/libX11 - virtual/x11 - ) - virtual/glu - virtual/opengl - media-libs/libsdl - media-libs/sdl-image - media-libs/jpeg - media-libs/libpng" -RDEPEND=">=dev-libs/libxml2-2.6.12 - sys-libs/zlib - opengl? ( ${GLDEPS} ) - !dedicated? ( ${GLDEPS} )" -DEPEND="${RDEPEND} - moviepack? ( app-arch/unzip ) - moviesounds? ( app-arch/unzip ) - linguas_es? ( !linguas_en? ( app-arch/unzip ) )" - -src_unpack() { - unpack ${A} - cd "${S}/batch" - epatch "${FILESDIR}/0280_fix-sysinstall.patch" -} - -aabuild() { - MyBUILDDIR="${WORKDIR}/build-$1" - mkdir -p "${MyBUILDDIR}" || die "error creating build directory($1)" # -p to allow EEXIST scenario - cd "${MyBUILDDIR}" - ln -s "${S}/configure" . - use debug && DEBUGLEVEL=3 || DEBUGLEVEL=0 - export DEBUGLEVEL CODELEVEL=0 - [ "$SLOT" == "0" ] && myconf="--disable-multiver" || myconf="--enable-multiver=${SLOT}" - egamesconf ${myconf} \ - --srcdir="${S}" \ - --disable-binreloc \ - --disable-master \ - --enable-main \ - $(use_enable krawall) \ - --enable-sysinstall \ - --disable-useradd \ - --enable-etc \ - --disable-restoreold \ - --disable-games \ - --enable-uninstall="emerge --clean =${CATEGORY}/${PF}" \ - "${@:2}" || die "egamesconf($1) failed" - [ "$1" == "server" ] && ded='-dedicated' || ded='' - cat >>"config.h" <<EOF -#define DATA_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}" -#define CONFIG_DIR "${GAMES_SYSCONFDIR}/${PN}${ded}${GameSLOT}" -#define RESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource" -#define USER_DATA_DIR "~/.${PN}" -#define AUTORESOURCE_DIR "~/.${PN}/resource/automatic" -#define INCLUDEDRESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource/included" -EOF - emake armabindir="${GAMES_BINDIR}" || die "emake($1) failed" -} - -src_compile() { - # Assume client if they don't want a server - use opengl || ! use dedicated && build_client=true || build_client=false - use dedicated && build_server=true || build_server=false - - [ "$SLOT" == "0" ] && GameSLOT="" || GameSLOT="-${SLOT}" - filter-flags -fno-exceptions - if ${build_client}; then - einfo "Building game client" - aabuild client --enable-glout --disable-initscripts --enable-desktop - fi - if ${build_server}; then - einfo "Building dedicated server" - aabuild server --disable-glout --enable-initscripts --disable-desktop - fi -} - -src_install() { - if ${build_client} && ${build_server}; then - # Setup symlink so both client and server share their common data - dodir "${GAMES_DATADIR}" - dosym "${PN}${GameSLOT}" "${GAMES_DATADIR}/${PN}-dedicated${GameSLOT}" - dodir "${GAMES_SYSCONFDIR}" - dosym "${PN}${GameSLOT}" "${GAMES_SYSCONFDIR}/${PN}-dedicated${GameSLOT}" - fi - if ${build_client}; then - einfo "Installing game client" - cd "${WORKDIR}/build-client" - make DESTDIR="${D}" armabindir="${GAMES_BINDIR}" install || die "make(client) install failed" - # copy moviepacks/sounds - cd "${WORKDIR}" - insinto "${GAMES_DATADIR}/${PN}${GameSLOT}" - if use moviepack; then - einfo 'Installing moviepack' - doins -r moviepack || die "copying moviepack" - fi - if use moviesounds; then - einfo 'Installing moviesounds' - doins -r moviesounds || die "copying moviesounds" - if use linguas_es && ! use linguas_en; then - einfo 'Installing Spanish moviesounds' - doins -r ArmageTRON/moviesounds || die "copying spanish moviesounds" - fi - fi - fi - if ${build_server}; then - einfo "Installing dedicated server" - cd "${WORKDIR}/build-server" - make DESTDIR="${D}" armabindir="${GAMES_BINDIR}" install || die "make(server) install failed" - einfo 'Adjusting dedicated server configuration' - dosed "s,^\(user=\).*$,\1${GAMES_USER_DED},; s,^#\(VARDIR=/.*\)$,\\1," "${GAMES_SYSCONFDIR}/${PN}-dedicated${GameSLOT}/rc.config" || ewarn 'adjustments for rc.config FAILED; the defaults may not be suited for your system!' - DedHOME="$(eval echo ~${GAMES_USER_DED})" - dodir "${DedHOME}" - dosym "${GAMES_STATEDIR}/${PN}-dedicated${GameSLOT}" "${DedHOME}/.${PN}" - fi - # Ok, so we screwed up on doc installation... so for now, the ebuild does this manually - dohtml -r "${D}${GAMES_PREFIX}/share/doc/${PN}${ded}${GameSLOT}/html/"* - dodoc "${D}${GAMES_PREFIX}/share/doc/${PN}${ded}${GameSLOT}/html/"*.txt - rm -r "${D}${GAMES_PREFIX}/share/doc" - rmdir "${D}${GAMES_PREFIX}/share" || true # Supress potential error - prepgamesdirs -} diff --git a/games-action/armagetronad/armagetronad-0.2.8.2.1.ebuild b/games-action/armagetronad/armagetronad-0.2.8.2.1.ebuild deleted file mode 100644 index 5fb3e42..0000000 --- a/games-action/armagetronad/armagetronad-0.2.8.2.1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/Attic/armagetronad-0.2.8.1.ebuild,v 1.3 2006/05/01 02:51:37 mr_bones_ Exp $ - -inherit flag-o-matic games - -DESCRIPTION="A Tron clone in 3D" -HOMEPAGE="http://armagetronad.net/" - -GLSRC="http://beta.armagetronad.net/fetch.php/PreResource/moviesounds_fq.zip - linguas_es? ( http://beta.armagetronad.net/fetch.php/PreResource/spanishvoices.zip ) - http://beta.armagetronad.net/fetch.php/PreResource/moviepack.zip" -SRC_URI="mirror://sourceforge/armagetronad/${P}.src.tar.bz2 - videos? ( opengl? ( ${GLSRC} ) !dedicated? ( ${GLSRC} ) )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug dedicated krawall opengl linguas_es videos" - -GLDEPS="|| ( - x11-libs/libX11 - virtual/x11 - ) - virtual/glu - virtual/opengl - videos? ( app-arch/unzip ) - media-libs/libsdl - media-libs/sdl-image - media-libs/jpeg - media-libs/libpng" -RDEPEND=">=dev-libs/libxml2-2.6.12 - sys-libs/zlib - opengl? ( ${GLDEPS} ) - !dedicated? ( ${GLDEPS} )" -DEPEND="${RDEPEND}" - -aabuild() { - mkdir "${S}/$1" - cd "${S}/$1" - - use debug && DEBUGLEVEL=3 || DEBUGLEVEL=0 - export DEBUGLEVEL CODELEVEL=0 - - ECONF_SOURCE="${S}" egamesconf \ - --srcdir="${S}" \ - --docdir="/usr/share/doc" \ - --disable-binreloc \ - $(use_enable krawall) \ - --disable-useradd \ - --disable-restoreold \ - --disable-games \ - --enable-uninstall="emerge --clean =${CATEGORY}/${PF}" \ - "${@:2}" || die "egamesconf $1 failed" - - emake || die "emake $1 failed" -} - -src_compile() { - if use opengl || ! use dedicated ; then - aabuild client --enable-glout --disable-initscripts --enable-desktop - fi - if use dedicated ; then - aabuild server --disable-glout --enable-initscripts --disable-desktop - fi -} - -src_install() { - if [ -d "${S}/server" ]; then - cd "${S}/server" - - emake DESTDIR="${D}" install || die "emake server install failed" - - # have var data in /var/games instead of /usr/games/.$PN - DedHOME="$(eval echo ~${GAMES_USER_DED})" - dodir "${DedHOME}" - dosym "${GAMES_STATEDIR}/${PN}-dedicated" "${DedHOME}/.${PN}" - - for dir in ${GAMES_DATADIR} ${GAMES_SYSCONFDIR}; do - mv ${D}/${dir}/${PN}-dedicated ${D}/${dir}/${PN} - dosym ${dir}/${PN} ${dir}/${PN}-dedicated - done - fi - - if [ -d "${S}/client" ]; then - cd "${S}/client" - - emake DESTDIR="${D}" install || die "emake client install failed" - - if use videos ; then - cd "${WORKDIR}" - insinto ${GAMES_DATADIR}/${PN} - doins -r moviepack moviesounds || die "copying files failed" - if use linguas_es ; then - doins -r ArmageTRON/moviesounds || die "copying spanish moviesounds failed" - fi - fi - fi - - mv "${D}"/usr/share/doc/{${PN},${PF}} - rm -fr "${D}"/etc/init.d "${D}"/usr/share/doc/${PN}-dedicated - dodir /usr/sbin - dosym ${GAMES_DATADIR}/${PN}/scripts/rcd_server \ - ${GAMES_BINDIR}/${PN}-dedicated-init - - einfo "Adjusting dedicated server configuration" - sed -i -e "s,^\(user=\).*$,\1${GAMES_USER_DED},; s,^#\(VARDIR=/.*\)$,\\1," \ - ${D}/${GAMES_SYSCONFDIR}/${PN}/rc.config \ - || ewarn "adjustments for rc.config FAILED; the defaults may not be suited for your system!" - - prepgamesdirs -} diff --git a/games-action/armagetronad/armagetronad-0.2.8.2.ebuild.orig b/games-action/armagetronad/armagetronad-0.2.8.2.ebuild.orig deleted file mode 100644 index 8db54d5..0000000 --- a/games-action/armagetronad/armagetronad-0.2.8.2.ebuild.orig +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/Attic/armagetronad-0.2.8.1.ebuild,v 1.3 2006/05/01 02:51:37 mr_bones_ Exp $ - -inherit flag-o-matic eutils games - -DESCRIPTION="\"A Tron clone in 3D\"" -HOMEPAGE="http://armagetronad.net/" -SRC_URI="mirror://sourceforge/armagetronad/${P}.src.tar.bz2 - moviesounds? ( - http://beta.armagetronad.net/fetch.php/PreResource/moviesounds_fq.zip - linguas_es? ( !linguas_en? ( - http://beta.armagetronad.net/fetch.php/PreResource/spanishvoices.zip - ) ) - ) - moviepack? ( - http://beta.armagetronad.net/fetch.php/PreResource/moviepack.zip - ) -" - -LICENSE="GPL-2" -SLOT="0" -GameSLOT="" #GameSLOT="-${SLOT}" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug dedicated krawall opengl moviepack moviesounds" - -GLDEPS="|| ( - x11-libs/libX11 - virtual/x11 - ) - virtual/glu - virtual/opengl - media-libs/libsdl - media-libs/sdl-image - media-libs/jpeg - media-libs/libpng" -RDEPEND=">=dev-libs/libxml2-2.6.12 - sys-libs/zlib - opengl? ( ${GLDEPS} ) - !dedicated? ( ${GLDEPS} )" -DEPEND="${RDEPEND} - moviepack? ( app-arch/unzip ) - moviesounds? ( app-arch/unzip ) - linguas_es? ( !linguas_en? ( app-arch/unzip ) )" - -aabuild() { - mkdir "${S}/$1" - cd "${S}/$1" - - ln -s "${S}/configure" . - - use debug && DEBUGLEVEL=3 || DEBUGLEVEL=0 - export DEBUGLEVEL CODELEVEL=0 - [ "$SLOT" == "0" ] && myconf="--disable-multiver" || myconf="--enable-multiver=${SLOT}" - - egamesconf ${myconf} \ - --srcdir="${S}" \ - --disable-binreloc \ - --disable-master \ - --enable-main \ - $(use_enable krawall) \ - --enable-sysinstall \ - --disable-useradd \ - --enable-etc \ - --disable-restoreold \ - --disable-games \ - --enable-uninstall="emerge --clean =${CATEGORY}/${PF}" \ - "${@:2}" || die "egamesconf $1 failed" - - [ "$1" == "server" ] && ded='-dedicated' || ded='' - cat >>"config.h" <<EOF -#define DATA_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}" -#define CONFIG_DIR "${GAMES_SYSCONFDIR}/${PN}${ded}${GameSLOT}" -#define RESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource" -#define USER_DATA_DIR "~/.${PN}" -#define AUTORESOURCE_DIR "~/.${PN}/resource/automatic" -#define INCLUDEDRESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource/included" -EOF - - emake armabindir="${GAMES_BINDIR}" || die "emake $1 failed" -} - -src_compile() { - filter-flags -fno-exceptions - - # Assume client if they don't want a server - if use opengl || ! use dedicated; then - aabuild client --enable-glout --disable-initscripts --enable-desktop - fi - if use dedicated; then - aabuild server --disable-glout --enable-initscripts --disable-desktop - fi -} - -src_install() { - if [ -d "${S}/client" ] && [ -d "${S}/server" ]; then - # Setup symlink so both client and server share their common data - for i in ${GAMES_DATADIR} ${GAMES_SYSCONFDIR}; do - dodir ${i} - dosym ${PN}${GameSLOT} ${i}/${PN}-dedicated${GameSLOT} - done - fi - if [ -d "${S}/client" ]; then - cd "${S}/client" - - emake DESTDIR="${D}" armabindir=${GAMES_BINDIR} install || die "emake client install failed" - - # copy moviepacks/sounds - cd "${WORKDIR}" - insinto ${GAMES_DATADIR}/${PN}${GameSLOT} - if use moviepack; then - einfo 'Installing moviepack' - doins -r moviepack || die "copying moviepack" - fi - if use moviesounds; then - einfo 'Installing moviesounds' - doins -r moviesounds || die "copying moviesounds" - if use linguas_es && ! use linguas_en; then - einfo 'Installing Spanish moviesounds' - doins -r ArmageTRON/moviesounds || die "copying spanish moviesounds" - fi - fi - fi - if [ -d "${S}/server" ]; then - cd "${S}/server" - - emake DESTDIR="${D}" armabindir=${GAMES_BINDIR} install || die "emake server install failed" - - einfo 'Adjusting dedicated server configuration' - dosed "s,^\(user=\).*$,\1${GAMES_USER_DED},; s,^#\(VARDIR=/.*\)$,\\1," "${GAMES_SYSCONFDIR}/${PN}-dedicated${GameSLOT}/rc.config" || ewarn 'adjustments for rc.config FAILED; the defaults may not be suited for your system!' - DedHOME="$(eval echo ~${GAMES_USER_DED})" - dodir "${DedHOME}" - dosym "${GAMES_STATEDIR}/${PN}-dedicated${GameSLOT}" "${DedHOME}/.${PN}" - fi - # Ok, so we screwed up on doc installation... so for now, the ebuild does this manually - dohtml -r "${D}${GAMES_PREFIX}/share/doc"/*/html/* - dodoc "${D}${GAMES_PREFIX}/share/doc"/*/html/*.txt - rm -r "${D}${GAMES_PREFIX}/share/doc" - rmdir "${D}${GAMES_PREFIX}/share" - prepgamesdirs -} diff --git a/games-action/armagetronad/diff b/games-action/armagetronad/diff deleted file mode 100644 index 6137ca0..0000000 --- a/games-action/armagetronad/diff +++ /dev/null @@ -1,48 +0,0 @@ ---- client.ebuild 2006-05-01 13:09:11.000000000 +0200 -+++ armagetronad-0.2.8.1.ebuild 2006-05-01 13:19:04.000000000 +0200 -@@ -1,6 +1,6 @@ - # Copyright 1999-2006 Gentoo Foundation - # Distributed under the terms of the GNU General Public License v2 --# $Header: /cvsroot/armagetronad/armagetronad_build/gentoo/client.ebuild,v 1.18 2006/05/01 08:59:46 luke-jr Exp $ -+# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/Attic/armagetronad-0.2.8.1.ebuild,v 1.3 2006/05/01 02:51:37 mr_bones_ Exp $ - - inherit flag-o-matic eutils games - -@@ -20,11 +20,10 @@ - - LICENSE="GPL-2" - SLOT="0" --KEYWORDS="amd64 ppc x86" -+KEYWORDS="~amd64 ~ppc ~x86" - IUSE="debug dedicated krawall opengl moviepack moviesounds" - --GLDEPS=" -- || ( -+GLDEPS="|| ( - x11-libs/libX11 - virtual/x11 - ) -@@ -33,19 +32,15 @@ - media-libs/libsdl - media-libs/sdl-image - media-libs/jpeg -- media-libs/libpng -- " --RDEPEND=" -- >=dev-libs/libxml2-2.6.12 -+ media-libs/libpng" -+RDEPEND=">=dev-libs/libxml2-2.6.12 - sys-libs/zlib - opengl? ( ${GLDEPS} ) -- !dedicated? ( ${GLDEPS} ) -- " -+ !dedicated? ( ${GLDEPS} )" - DEPEND="${RDEPEND} - moviepack? ( app-arch/unzip ) - moviesounds? ( app-arch/unzip ) -- linguas_es? ( !linguas_en? ( app-arch/unzip ) ) -- " -+ linguas_es? ( !linguas_en? ( app-arch/unzip ) )" - - src_unpack() { - unpack ${A} diff --git a/games-action/armagetronad/files/0280_fix-sysinstall.patch b/games-action/armagetronad/files/0280_fix-sysinstall.patch deleted file mode 100644 index abc58d5..0000000 --- a/games-action/armagetronad/files/0280_fix-sysinstall.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- sysinstall.in 2006-03-16 07:35:26.000000000 +0000 -+++ sysinstall.in.fixed 2006-03-18 02:31:02.000000000 +0000 -@@ -103,26 +103,26 @@ - DESTDIR=`echo $SOURCE | sed -e "s,${prefix},,"` - BINDIR=${SOURCE}/bin - else -- SCRIPTDIR=${DESTDIR}`echo @armascriptdir@ | sed -e "s,@prefix@,${PREFIX},"` -+ SCRIPTDIR=`echo @armascriptdir@ | sed -e "s,@prefix@,${PREFIX},"` - #@datasuffix@@scriptsuffix@ -- BINDIR=${DESTDIR}`echo @bindir@ | sed -e "s,@prefix@,${PREFIX},"` -+ BINDIR=`echo @bindir@ | sed -e "s,@prefix@,${PREFIX},"` - fi - - # determine data locations --EXECUTABLE=${BINDIR}/@progname@@executable_suffix@ --CONFIGDIR=${SOURCE}`echo @configdir@ | sed -e "s,@prefix@,,"` --VARDIR=${SOURCE}`echo @vardir@ | sed -e "s,@prefix@,,"` -+EXECUTABLE=${DESTDIR}${BINDIR}/@progname@@executable_suffix@ -+CONFIGDIR=`echo @configdir@ | sed -e "s,@prefix@,${PREFIX},"` -+VARDIR=`echo @vardir@ | sed -e "s,@prefix@,${PREFIX},"` - - # determine location of scripts - --test -d $SCRIPTDIR || { echo "Script directory not found."; exit -1; } -+test -d $DESTDIR$SCRIPTDIR || { echo "Script directory not found."; exit -1; } - - # transscribe true location into scripts - if test $MODE = install; then - echo "Transscribing scripts..." -- for script in $SCRIPTDIR/*; do -- if test $script != $SCRIPTDIR/sysinstall; then -- sed -e "s,@configdir_reloc\@,$CONFIGDIR,g" -e "s,@prefix_reloc\@,$SOURCE,g" \ -+ for script in $DESTDIR$SCRIPTDIR/*; do -+ if test $script != $DESTDIR$SCRIPTDIR/sysinstall; then -+ sed -e "s,@configdir_reloc\@,$CONFIGDIR,g" -e "s,@prefix_reloc\@,$PREFIX,g" \ - -e "s,@scriptdir_reloc\@,$SCRIPTDIR,g" -e "s,@localstatedir_reloc\@,$VARDIR,g"\ - < $script > $script.trans || exit -1 - mv $script.trans $script -@@ -150,7 +150,7 @@ - fi - - # link executable files --pushd ${BINDIR} > /dev/null || exit -1 -+pushd ${DESTDIR}${BINDIR} > /dev/null || exit -1 - install_link @progname@-@version@ @progname@ - install_link @prognamebase@-master-@version@ @prognamebase@-master - popd > /dev/null diff --git a/games-action/armagetronad/files/armagetronad b/games-action/armagetronad/files/armagetronad deleted file mode 100644 index fe647e0..0000000 --- a/games-action/armagetronad/files/armagetronad +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -# -# starts Armagetron Advanced from the installation directory - -GAMES_LIBDIR=/usr/games/lib/armagetronad -GAMES_DATADIR=/usr/share/games -GAMES_SYSCONFDIR=/etc/games -PN=armagetronad -if test ! -r $HOME/.armagetronad ; then - mkdir $HOME/.armagetronad - - if test -r $HOME/.ArmageTronrc ; then - #migrage very old configuration - echo "Porting very old configuration..." - mkdir $HOME/.armagetronad/var - mv $HOME/.ArmageTronrc $HOME/.armagetronad/var/user.cfg - fi -fi - -if test ! -r $HOME/.armagetronad/var ; then - #migrate old configuration - files=$( find $HOME/.armagetronad -type f -maxdepth 1 ) - - mkdir $HOME/.armagetronad/var - - test "$files" != "" && echo "Porting old configuration..." && mv $files $HOME/.armagetronad/var -fi - -if test "x$1" = "x-h" ; then - echo -e "\n\nTo uninstall Armagetron Advanced, type armagetronad --uninstall." -fi - -if test "x$1" = "x--uninstall" ; then - emerge unmerge armagetronad -else - $GAMES_LIBDIR/$PN --datadir $GAMES_DATADIR/$PN --configdir $GAMES_SYSCONFDIR/$PN \ - --userdatadir $HOME/.armagetronad $* -fi - diff --git a/games-action/armagetronad/files/armagetronad-ded b/games-action/armagetronad/files/armagetronad-ded deleted file mode 100644 index 2f3c447..0000000 --- a/games-action/armagetronad/files/armagetronad-ded +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# -# starts Armagetron Advanced Dedicated Server from the installation directory - - GAME_CONFDIR=/etc/games/armagetronad-ded - GAME_LIBDIR=/usr/games/lib/armagetronad-ded - GAME_DATADIR=/usr/share/games/armagetronad-ded - USER_DATADIR=/etc/games/armagetronad-ded - CONFIGDIR=/etc/games/armagetronad-ded - - NO=$'\x1b[0;0m' - RD=$'\x1b[31;01m' - GR=$'\x1b[32;01m' - YL=$'\x1b[33;01m' - - echo "${GR} *${NO} Checking Configuration." - if test ! -r $HOME/.armagetronad-ded ; then - mkdir $HOME/.armagetronad-ded - - if test -r $HOME/.ArmageTronrc ; then - echo "${YL} *${NO} Migrating very old configuration." - cp $HOME/.ArmageTronrc $HOME/.armagetronad-ded/user.cfg - fi -fi - if test ! -r $HOME/.armagetronad-ded/var ; then - files=$( ls $HOME/.armagetronad-ded ) - mkdir $HOME/.armagetronad-ded/var - echo "${GR} *${NO} Testing configuration." - test "$files" != "" && mv $files $HOME/.armagetronad-ded/var - fi - - echo "${GR} *${NO} Done." - - - if test "x$1" = "x-h" ; then - echo "${RD} *${NO} Please uninstall Armagetron Advanced via Portage." -fi - - if test "x$1" = "x--uninstall" ; then - echo "${RD} *${NO} Please uninstall Armagetron Advanced via Portage." - else - - while true; do - - $GAME_LIBDIR/armagetronad-dedicated \ - --datadir $GAME_DATADIR \ - --configdir $GAME_CONFDIR \ - --userdatadir $HOME/.armagetronad-ded -done -fi
\ No newline at end of file diff --git a/games-action/armagetronad/files/digest-armagetronad-0.2.8.1 b/games-action/armagetronad/files/digest-armagetronad-0.2.8.1 deleted file mode 100644 index d02335a..0000000 --- a/games-action/armagetronad/files/digest-armagetronad-0.2.8.1 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 28fa1f66dd09cf96deeb0c78161b1b5c armagetronad-0.2.8.1.src.tar.bz2 1441730 -RMD160 151681f84cd4694dc79c1653bc6960eef8f63d37 armagetronad-0.2.8.1.src.tar.bz2 1441730 -SHA256 f887e00342dc17ee6f85a5b534a7ddb5fc95dc7028c6fab92bde647918ce2a04 armagetronad-0.2.8.1.src.tar.bz2 1441730 -MD5 e2d40309dde7e1339ca6aff7599cdfa3 moviepack.zip 352253 -RMD160 07c8b2aa48ad84092869c90e32d32a96d367afd5 moviepack.zip 352253 -SHA256 3de835e1e8af71f1dcbf5ac8405dfa87973eac50d206c12338278fc601cf9d78 moviepack.zip 352253 -MD5 3c5d04af52eb296cdeb2fba5ecbd8899 moviesounds_fq.zip 2182021 -RMD160 9fe95f3cc31bfdf9149bf850d5ae46ca5253a09a moviesounds_fq.zip 2182021 -SHA256 9f8061eb0fef416885424bdba9f899fc5b4d9a021f46eef4eb821a7f1e08c1ba moviesounds_fq.zip 2182021 -MD5 1ca4f4a4f11c728315250973b8d69ce6 spanishvoices.zip 349593 -RMD160 13a7b307e1da341fe37e164e36db7778960edaee spanishvoices.zip 349593 -SHA256 fff02f9f002927929dc7ed102d4b01875c20a6e42188fe0a3b2d8b9cfdbad1a4 spanishvoices.zip 349593 diff --git a/games-action/armagetronad/files/digest-armagetronad-0.2.8.2.1 b/games-action/armagetronad/files/digest-armagetronad-0.2.8.2.1 deleted file mode 100644 index 4fdffaa..0000000 --- a/games-action/armagetronad/files/digest-armagetronad-0.2.8.2.1 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 b09104b3af550fe590ff11bc1fd46e26 armagetronad-0.2.8.2.1.src.tar.bz2 1623441 -RMD160 b09448954dde1005ff0063f7f7a5a4de48aa49c9 armagetronad-0.2.8.2.1.src.tar.bz2 1623441 -SHA256 5ccb12cd07118bb210c8256edf2e33a34dc0e9880c3f1c926a9fe4db87f15940 armagetronad-0.2.8.2.1.src.tar.bz2 1623441 -MD5 e2d40309dde7e1339ca6aff7599cdfa3 moviepack.zip 352253 -RMD160 07c8b2aa48ad84092869c90e32d32a96d367afd5 moviepack.zip 352253 -SHA256 3de835e1e8af71f1dcbf5ac8405dfa87973eac50d206c12338278fc601cf9d78 moviepack.zip 352253 -MD5 3c5d04af52eb296cdeb2fba5ecbd8899 moviesounds_fq.zip 2182021 -RMD160 9fe95f3cc31bfdf9149bf850d5ae46ca5253a09a moviesounds_fq.zip 2182021 -SHA256 9f8061eb0fef416885424bdba9f899fc5b4d9a021f46eef4eb821a7f1e08c1ba moviesounds_fq.zip 2182021 -MD5 1ca4f4a4f11c728315250973b8d69ce6 spanishvoices.zip 349593 -RMD160 13a7b307e1da341fe37e164e36db7778960edaee spanishvoices.zip 349593 -SHA256 fff02f9f002927929dc7ed102d4b01875c20a6e42188fe0a3b2d8b9cfdbad1a4 spanishvoices.zip 349593 diff --git a/games-action/armagetronad/patch b/games-action/armagetronad/patch deleted file mode 100644 index c3eaf0a..0000000 --- a/games-action/armagetronad/patch +++ /dev/null @@ -1,136 +0,0 @@ ---- armagetronad-0.2.8.1.ebuild 2006-05-01 13:19:04.000000000 +0200 -+++ armagetronad-0.2.8.2.ebuild 2006-08-14 00:03:10.000000000 +0200 -@@ -20,6 +20,7 @@ - - LICENSE="GPL-2" - SLOT="0" -+GameSLOT="" #GameSLOT="-${SLOT}" - KEYWORDS="~amd64 ~ppc ~x86" - IUSE="debug dedicated krawall opengl moviepack moviesounds" - -@@ -42,20 +43,16 @@ - moviesounds? ( app-arch/unzip ) - linguas_es? ( !linguas_en? ( app-arch/unzip ) )" - --src_unpack() { -- unpack ${A} -- cd "${S}/batch" -- epatch "${FILESDIR}/0280_fix-sysinstall.patch" --} -- - aabuild() { -- MyBUILDDIR="${WORKDIR}/build-$1" -- mkdir -p "${MyBUILDDIR}" || die "error creating build directory($1)" # -p to allow EEXIST scenario -- cd "${MyBUILDDIR}" -+ mkdir "${S}/$1" -+ cd "${S}/$1" -+ - ln -s "${S}/configure" . -+ - use debug && DEBUGLEVEL=3 || DEBUGLEVEL=0 - export DEBUGLEVEL CODELEVEL=0 - [ "$SLOT" == "0" ] && myconf="--disable-multiver" || myconf="--enable-multiver=${SLOT}" -+ - egamesconf ${myconf} \ - --srcdir="${S}" \ - --disable-binreloc \ -@@ -68,7 +65,8 @@ - --disable-restoreold \ - --disable-games \ - --enable-uninstall="emerge --clean =${CATEGORY}/${PF}" \ -- "${@:2}" || die "egamesconf($1) failed" -+ "${@:2}" || die "egamesconf $1 failed" -+ - [ "$1" == "server" ] && ded='-dedicated' || ded='' - cat >>"config.h" <<EOF - #define DATA_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}" -@@ -78,41 +76,38 @@ - #define AUTORESOURCE_DIR "~/.${PN}/resource/automatic" - #define INCLUDEDRESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource/included" - EOF -- emake armabindir="${GAMES_BINDIR}" || die "emake($1) failed" -+ -+ emake armabindir="${GAMES_BINDIR}" || die "emake $1 failed" - } - - src_compile() { -- # Assume client if they don't want a server -- use opengl || ! use dedicated && build_client=true || build_client=false -- use dedicated && build_server=true || build_server=false -- -- [ "$SLOT" == "0" ] && GameSLOT="" || GameSLOT="-${SLOT}" - filter-flags -fno-exceptions -- if ${build_client}; then -- einfo "Building game client" -- aabuild client --enable-glout --disable-initscripts --enable-desktop -+ -+ # Assume client if they don't want a server -+ if use opengl || ! use dedicated; then -+ aabuild client --enable-glout --disable-initscripts --enable-desktop - fi -- if ${build_server}; then -- einfo "Building dedicated server" -- aabuild server --disable-glout --enable-initscripts --disable-desktop -+ if use dedicated; then -+ aabuild server --disable-glout --enable-initscripts --disable-desktop - fi - } - - src_install() { -- if ${build_client} && ${build_server}; then -+ if [ -d "${S}/client" ] && [ -d "${S}/server" ]; then - # Setup symlink so both client and server share their common data -- dodir "${GAMES_DATADIR}" -- dosym "${PN}${GameSLOT}" "${GAMES_DATADIR}/${PN}-dedicated${GameSLOT}" -- dodir "${GAMES_SYSCONFDIR}" -- dosym "${PN}${GameSLOT}" "${GAMES_SYSCONFDIR}/${PN}-dedicated${GameSLOT}" -+ for i in ${GAMES_DATADIR} ${GAMES_SYSCONFDIR}; do -+ dodir ${i} -+ dosym ${PN}${GameSLOT} ${i}/${PN}-dedicated${GameSLOT} -+ done - fi -- if ${build_client}; then -- einfo "Installing game client" -- cd "${WORKDIR}/build-client" -- make DESTDIR="${D}" armabindir="${GAMES_BINDIR}" install || die "make(client) install failed" -+ if [ -d "${S}/client" ]; then -+ cd "${S}/client" -+ -+ emake DESTDIR="${D}" armabindir=${GAMES_BINDIR} install || die "emake client install failed" -+ - # copy moviepacks/sounds - cd "${WORKDIR}" -- insinto "${GAMES_DATADIR}/${PN}${GameSLOT}" -+ insinto ${GAMES_DATADIR}/${PN}${GameSLOT} - if use moviepack; then - einfo 'Installing moviepack' - doins -r moviepack || die "copying moviepack" -@@ -126,10 +121,11 @@ - fi - fi - fi -- if ${build_server}; then -- einfo "Installing dedicated server" -- cd "${WORKDIR}/build-server" -- make DESTDIR="${D}" armabindir="${GAMES_BINDIR}" install || die "make(server) install failed" -+ if [ -d "${S}/server" ]; then -+ cd "${S}/server" -+ -+ emake DESTDIR="${D}" armabindir=${GAMES_BINDIR} install || die "emake server install failed" -+ - einfo 'Adjusting dedicated server configuration' - dosed "s,^\(user=\).*$,\1${GAMES_USER_DED},; s,^#\(VARDIR=/.*\)$,\\1," "${GAMES_SYSCONFDIR}/${PN}-dedicated${GameSLOT}/rc.config" || ewarn 'adjustments for rc.config FAILED; the defaults may not be suited for your system!' - DedHOME="$(eval echo ~${GAMES_USER_DED})" -@@ -137,9 +133,9 @@ - dosym "${GAMES_STATEDIR}/${PN}-dedicated${GameSLOT}" "${DedHOME}/.${PN}" - fi - # Ok, so we screwed up on doc installation... so for now, the ebuild does this manually -- dohtml -r "${D}${GAMES_PREFIX}/share/doc/${PN}${ded}${GameSLOT}/html/"* -- dodoc "${D}${GAMES_PREFIX}/share/doc/${PN}${ded}${GameSLOT}/html/"*.txt -+ dohtml -r "${D}${GAMES_PREFIX}/share/doc"/*/html/* -+ dodoc "${D}${GAMES_PREFIX}/share/doc"/*/html/*.txt - rm -r "${D}${GAMES_PREFIX}/share/doc" -- rmdir "${D}${GAMES_PREFIX}/share" || true # Supress potential error -+ rmdir "${D}${GAMES_PREFIX}/share" - prepgamesdirs - } |