diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-19 18:41:35 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-19 18:41:35 +0000 |
commit | cc982ad6d5cd6f7ed134709d8cbd33da10ffa84e (patch) | |
tree | 262ae441456818a08210d74b52e9bcf74e5b87b8 /games-fps/quake2-icculus | |
parent | Remove KDE 3.5.10. (diff) | |
download | gentoo-2-cc982ad6d5cd6f7ed134709d8cbd33da10ffa84e.tar.gz gentoo-2-cc982ad6d5cd6f7ed134709d8cbd33da10ffa84e.tar.bz2 gentoo-2-cc982ad6d5cd6f7ed134709d8cbd33da10ffa84e.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-fps/quake2-icculus')
-rw-r--r-- | games-fps/quake2-icculus/Manifest | 1 | ||||
-rw-r--r-- | games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild | 173 |
2 files changed, 0 insertions, 174 deletions
diff --git a/games-fps/quake2-icculus/Manifest b/games-fps/quake2-icculus/Manifest index 7daced47dd7a..d9d977072bb6 100644 --- a/games-fps/quake2-icculus/Manifest +++ b/games-fps/quake2-icculus/Manifest @@ -11,6 +11,5 @@ DIST quake2-r0.16.1.tar.gz 1525384 RMD160 dbbf9cad08ab381e0c2cd037e317104085455c DIST roguesrc320.shar.Z 626769 RMD160 767c5b1a7a1123370e9c924282656dfdcc6cebba SHA1 7c5cadde75f5353622552cd28501ce60ac83dca2 SHA256 ceefb2fd748961cb0bc3244220f3eb09d8f7b8ca2eb32cdf9b284727a2fdc919 DIST xatrixsrc320.shar.Z 455917 RMD160 357182dcd760a95b27942cdf807ba1242bcb1160 SHA1 ec67b6d2be623dd344c100869fc48bcbadea927a SHA256 94bf596cd85d38ea294b99ccb0ebb5e4b9776cca335001b3803e2d8407395589 EBUILD quake2-icculus-0.16.1-r1.ebuild 5528 RMD160 ab6cb3826227afac68685e42b13c76f7d762825f SHA1 4efc493405e55626e3a8869e35248b31b175d016 SHA256 abaaf917450f0cf7da868600ba9ab9e641d790b9cbb75db952d047766ea3aaf1 -EBUILD quake2-icculus-0.16.1.ebuild 4825 RMD160 97cf468b76671b664a519e6467d4fbdba0ea9302 SHA1 a772c3c73327be156faedf72e7ee0d40f3b21280 SHA256 0bf5d9beb500f560ee856f00ffe5bb2bc3b3b60317b2fb6282a5b0de8dc5973f MISC ChangeLog 6871 RMD160 e5ee5d28a8dca6fd1b0b791570642ea07550f088 SHA1 d1ac93f7ca2a204e253a526b34920bc461f7afae SHA256 f89209a5b7e791935df5af6d01ebe70648a0b886f90845619496893ef76c7f67 MISC metadata.xml 588 RMD160 721e11fa5eaea409cb368e0b96e5fe71cc1b328d SHA1 0d645dac5673f6869970cf1b17b20378a50352a3 SHA256 523eef2f6b29b071d5af6959c72977d78ee1176a6ac4a300228484121f4ad644 diff --git a/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild b/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild deleted file mode 100644 index 76a133140041..000000000000 --- a/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-icculus/quake2-icculus-0.16.1.ebuild,v 1.24 2009/09/22 22:00:59 mr_bones_ Exp $ - -inherit eutils toolchain-funcs games - -MY_P="quake2-r${PV}" -DESCRIPTION="The icculus.org linux port of iD's quake2 engine" -HOMEPAGE="http://icculus.org/quake2/" -SRC_URI="http://icculus.org/quake2/files/${MY_P}.tar.gz - !noqmax? ( http://icculus.org/quake2/files/maxpak.pak ) - rogue? ( mirror://idsoftware/quake2/source/roguesrc320.shar.Z ) - xatrix? ( mirror://idsoftware/quake2/source/xatrixsrc320.shar.Z )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc sparc x86 ~x86-fbsd" -IUSE="aalib alsa arts dedicated ipv6 joystick noqmax opengl rogue sdl svga X xatrix" - -RDEPEND="opengl? ( virtual/opengl ) - svga? ( media-libs/svgalib ) - sdl? ( media-libs/libsdl ) - aalib? ( media-libs/aalib ) - X? ( - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXxf86dga - x11-libs/libXxf86vm ) - alsa? ( media-libs/alsa-lib ) - arts? ( kde-base/arts ) - media-libs/jpeg" -DEPEND="${RDEPEND} - X? ( - x11-proto/xproto - x11-proto/xextproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto ) - rogue? ( || ( sys-freebsd/freebsd-ubin app-arch/sharutils ) ) - xatrix? ( || ( sys-freebsd/freebsd-ubin app-arch/sharutils ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${MY_P}.tar.gz - cd "${S}" - sed -i -e 's:BUILD_SOFTX:BUILD_X11:' Makefile - epatch "${FILESDIR}"/${P}-amd64.patch # make sure this is still needed in future versions - epatch "${FILESDIR}"/${P}-gentoo-paths.patch - - # Now we deal with the silly rogue / xatrix addons ... this is ugly :/ - ln -s $(type -P echo) "${T}"/more - for g in rogue xatrix ; do - use ${g} || continue - mkdir -p "${S}"/src/${g} - cd "${S}"/src/${g} - local shar=${g}src320.shar - unpack ${shar}.Z - sed -i \ - -e 's:^read ans:ans=yes :' ${shar} \ - || die "sed ${shar} failed" - echo ">>> Unpacking ${shar} to ${PWD}" - env PATH="${T}:${PATH}" unshar ${shar} || die "unpacking ${shar} failed" - rm ${shar} - done - if use xatrix ; then - epatch "${FILESDIR}/${P}"-gcc41.patch - fi - if use rogue ; then - cd "${S}"/src - epatch "${FILESDIR}"/0.16-rogue-nan.patch - epatch "${FILESDIR}"/0.16-rogue-armor.patch - fi -} - -yesno() { - for f in "$@" ; do - if ! use $f ; then - echo NO - return 1 - fi - done - echo YES - return 0 -} - -src_compile() { - # xatrix fails to build - # rogue fails to build - local libsuffix - for BUILD_QMAX in YES NO ; do - use noqmax && [[ ${BUILD_QMAX} == "YES" ]] && continue - [[ ${BUILD_QMAX} == "YES" ]] \ - && libsuffix=-qmax \ - || libsuffix= - make clean || die "cleaning failed" - emake -j1 build_release \ - BUILD_SDLQUAKE2=$(yesno sdl) \ - BUILD_SVGA=$(yesno svga) \ - BUILD_X11=$(yesno X) \ - BUILD_GLX=$(yesno opengl) \ - BUILD_SDL=$(yesno sdl) \ - BUILD_SDLGL=$(yesno sdl opengl) \ - BUILD_CTFDLL=YES \ - BUILD_XATRIX=$(yesno xatrix) \ - BUILD_ROGUE=$(yesno rogue) \ - BUILD_JOYSTICK=$(yesno joystick) \ - BUILD_DEDICATED=$(yesno dedicated) \ - BUILD_AA=$(yesno aalib) \ - BUILD_QMAX=${BUILD_QMAX} \ - HAVE_IPV6=$(yesno ipv6) \ - BUILD_ARTS=$(yesno arts) \ - BUILD_ALSA=$(yesno alsa) \ - SDLDIR=/usr/lib \ - DEFAULT_BASEDIR="${GAMES_DATADIR}/quake2" \ - DEFAULT_LIBDIR="$(games_get_libdir)/${PN}${libsuffix}" \ - OPT_CFLAGS="${CFLAGS}" \ - CC="$(tc-getCC)" \ - || die "make failed" - # now we save the build dir ... except for the object files ... - rm release*/*/*.o - mv release* my-rel-${BUILD_QMAX} - cd my-rel-${BUILD_QMAX} - rm -rf ref_{gl,soft} ded game client ctf/*.o - mkdir baseq2 - mv game*.so baseq2/ - cd .. - done -} - -src_install() { - local q2dir=$(games_get_libdir)/${PN} - local q2maxdir=$(games_get_libdir)/${PN}-qmax - - dodoc readme.txt README TODO "${FILESDIR}"/README-postinstall - - # regular q2 files - dodir "${q2dir}" - cp -rf my-rel-NO/* "${D}/${q2dir}"/ - dogamesbin "${D}/${q2dir}"/{quake2,q2ded} - rm "${D}/${q2dir}"/{quake2,q2ded} - use sdl \ - && dogamesbin "${D}/${q2dir}"/sdlquake2 \ - && rm "${D}/${q2dir}"/sdlquake2 - - doicon "${FILESDIR}"/quake2.xpm - make_desktop_entry quake2 Quake2 quake2 - - # q2max files - if ! use noqmax ; then - dodir "${q2maxdir}" - cp -rf my-rel-YES/* "${D}/${q2maxdir}"/ - newgamesbin "${D}/${q2maxdir}"/quake2 quake2-qmax - newgamesbin "${D}/${q2maxdir}"/q2ded q2ded-qmax - rm "${D}/${q2maxdir}"/{quake2,q2ded} - use sdl \ - && newgamesbin "${D}/${q2maxdir}"/sdlquake2 sdlquake2-qmax \ - && rm "${D}/${q2maxdir}"/sdlquake2 - - insinto "${q2maxdir}"/baseq2 - doins "${DISTDIR}"/maxpak.pak - - make_desktop_entry quake2-qmax Quake2-qmax quake2 - fi - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - einfo "Go read /usr/share/doc/${PF}/README-postinstall.gz right now!" - einfo "It's important- This install is just the engine, you still need" - einfo "the data paks. Go read." -} |